# CVE-2006-4811: Integer overflow in n/a

> Remote attackers can cause denial of service or execute arbitrary code via crafted pixmap images in Qt libraries used by KDE applications.

- **Severity:** Medium 6.8 (`AV:N/AC:M/Au:N/C:P/I:P/A:P`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 18 Oct 2006
- **Updated:** 7 Aug 2024
- **Also known as:** DSA-1200-1, GHSA-55vc-fmpc-5q9q, RHSA-2006:0720, RHSA-2006:0725

## What is CVE-2006-4811?

CVE-2006-4811 is a medium-severity vulnerability in Qt Qt, published on 18 Oct 2006. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

### Official description

Integer overflow in Qt 3.3 before 3.3.7, 4.1 before 4.1.5, and 4.2 before 4.2.1, as used in the KDE khtml library, kdelibs 3.1.3, and possibly other packages, allows remote attackers to cause a denial of service (crash) and possibly execute arbitrary code via a crafted pixmap image.

Weakness: CWE-189

## Which versions are affected by CVE-2006-4811?

It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `arts` | Red Hat:enterprise_linux:2.1::as | All versions | 6:2.2.2-21.EL2 |
| `kdelibs` | Red Hat:enterprise_linux:2.1::as | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-devel` | Red Hat:enterprise_linux:2.1::as | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-sound` | Red Hat:enterprise_linux:2.1::as | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-sound-devel` | Red Hat:enterprise_linux:2.1::as | All versions | 6:2.2.2-21.EL2 |
| `qt` | Red Hat:enterprise_linux:2.1::as | All versions | 1:2.3.1-12.EL2 |
| `qt-Xt` | Red Hat:enterprise_linux:2.1::as | All versions | 1:2.3.1-12.EL2 |
| `qt-designer` | Red Hat:enterprise_linux:2.1::as | All versions | 1:2.3.1-12.EL2 |
| `qt-devel` | Red Hat:enterprise_linux:2.1::as | All versions | 1:2.3.1-12.EL2 |
| `qt-static` | Red Hat:enterprise_linux:2.1::as | All versions | 1:2.3.1-12.EL2 |
| `arts` | Red Hat:enterprise_linux:2.1::aw | All versions | 6:2.2.2-21.EL2 |
| `kdelibs` | Red Hat:enterprise_linux:2.1::aw | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-devel` | Red Hat:enterprise_linux:2.1::aw | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-sound` | Red Hat:enterprise_linux:2.1::aw | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-sound-devel` | Red Hat:enterprise_linux:2.1::aw | All versions | 6:2.2.2-21.EL2 |
| `qt` | Red Hat:enterprise_linux:2.1::aw | All versions | 1:2.3.1-12.EL2 |
| `qt-Xt` | Red Hat:enterprise_linux:2.1::aw | All versions | 1:2.3.1-12.EL2 |
| `qt-designer` | Red Hat:enterprise_linux:2.1::aw | All versions | 1:2.3.1-12.EL2 |
| `qt-devel` | Red Hat:enterprise_linux:2.1::aw | All versions | 1:2.3.1-12.EL2 |
| `qt-static` | Red Hat:enterprise_linux:2.1::aw | All versions | 1:2.3.1-12.EL2 |
| `arts` | Red Hat:enterprise_linux:2.1::es | All versions | 6:2.2.2-21.EL2 |
| `kdelibs` | Red Hat:enterprise_linux:2.1::es | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-devel` | Red Hat:enterprise_linux:2.1::es | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-sound` | Red Hat:enterprise_linux:2.1::es | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-sound-devel` | Red Hat:enterprise_linux:2.1::es | All versions | 6:2.2.2-21.EL2 |
| `qt` | Red Hat:enterprise_linux:2.1::es | All versions | 1:2.3.1-12.EL2 |
| `qt-Xt` | Red Hat:enterprise_linux:2.1::es | All versions | 1:2.3.1-12.EL2 |
| `qt-designer` | Red Hat:enterprise_linux:2.1::es | All versions | 1:2.3.1-12.EL2 |
| `qt-devel` | Red Hat:enterprise_linux:2.1::es | All versions | 1:2.3.1-12.EL2 |
| `qt-static` | Red Hat:enterprise_linux:2.1::es | All versions | 1:2.3.1-12.EL2 |
| `arts` | Red Hat:enterprise_linux:2.1::ws | All versions | 6:2.2.2-21.EL2 |
| `kdelibs` | Red Hat:enterprise_linux:2.1::ws | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-devel` | Red Hat:enterprise_linux:2.1::ws | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-sound` | Red Hat:enterprise_linux:2.1::ws | All versions | 6:2.2.2-21.EL2 |
| `kdelibs-sound-devel` | Red Hat:enterprise_linux:2.1::ws | All versions | 6:2.2.2-21.EL2 |
| `qt` | Red Hat:enterprise_linux:2.1::ws | All versions | 1:2.3.1-12.EL2 |
| `qt-Xt` | Red Hat:enterprise_linux:2.1::ws | All versions | 1:2.3.1-12.EL2 |
| `qt-designer` | Red Hat:enterprise_linux:2.1::ws | All versions | 1:2.3.1-12.EL2 |
| `qt-devel` | Red Hat:enterprise_linux:2.1::ws | All versions | 1:2.3.1-12.EL2 |
| `qt-static` | Red Hat:enterprise_linux:2.1::ws | All versions | 1:2.3.1-12.EL2 |

Products: Qt Qt, Redhat Kdelibs.

## How do I fix CVE-2006-4811?

Upgrade to a fixed version.

## Is CVE-2006-4811 being exploited?

There is no known exploitation of CVE-2006-4811 in the wild and no public exploit code.

## Other vulnerabilities in Qt Qt

- [CVE-2020-12267](https://insights.sbomify.com/CVE-2020-12267/): Use after free in n/a (critical 9.8)
- [CVE-2017-10904](https://insights.sbomify.com/CVE-2017-10904/): Command injection in Qt for Android (critical 9.8)
- [CVE-2011-3194](https://insights.sbomify.com/CVE-2011-3194/): Memory corruption in n/a (critical 9.3)
- [CVE-2022-40983](https://insights.sbomify.com/CVE-2022-40983/): Integer overflow in Qt (high 8.8)
- [CVE-2022-43591](https://insights.sbomify.com/CVE-2022-43591/): Memory corruption in Qt (high 8.8)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2006-4811 and fix it if it is affected.

What it is: CVE-2006-4811 is a medium-severity vulnerability in Qt Qt, published on 18 Oct 2006. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2006-4811 in the wild and no public exploit code.

Affected product: Qt Qt. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2006-4811/ (Markdown: https://insights.sbomify.com/CVE-2006-4811/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2006-4811
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2006-4811
- OSV: https://osv.dev/vulnerability/CVE-2006-4811

---
From sbomify Insights: https://insights.sbomify.com/CVE-2006-4811/
Summaries are generated and may contain mistakes; the official description above is the record.
