CVE-2004-1125 Memory corruption in n/a
Remote attackers can execute arbitrary code or crash applications via crafted PDF files exploiting a buffer overflow in xpdf and related PDF viewers.
- 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
What is CVE-2004-1125?
CVE-2004-1125 is a critical memory corruption vulnerability in Kde Kde, published on 22 Dec 2004. 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
Buffer overflow in the Gfx::doImage function in Gfx.cc for xpdf 3.00, and other products that share code such as tetex-bin and kpdf in KDE 3.2.x to 3.2.3 and 3.3.x to 3.3.2, allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via a crafted PDF file that causes the boundaries of a maskColors array to be exceeded.
Weakness: CWE-20
Which versions are affected by CVE-2004-1125?
It affects 3 products.
Linux distribution packages (8)
xpdf Red Hat:enterprise_linux:3::as | All versions | 1:2.02-9.4 |
xpdf-debuginfo Red Hat:enterprise_linux:3::as | All versions | 1:2.02-9.4 |
xpdf Red Hat:enterprise_linux:3::desktop | All versions | 1:2.02-9.4 |
xpdf-debuginfo Red Hat:enterprise_linux:3::desktop | All versions | 1:2.02-9.4 |
xpdf Red Hat:enterprise_linux:3::es | All versions | 1:2.02-9.4 |
xpdf-debuginfo Red Hat:enterprise_linux:3::es | All versions | 1:2.02-9.4 |
xpdf Red Hat:enterprise_linux:3::ws | All versions | 1:2.02-9.4 |
xpdf-debuginfo Red Hat:enterprise_linux:3::ws | All versions | 1:2.02-9.4 |
Products include Easy Software Products Cups, Kde Kde, Xpdf Xpdf.
How do I fix CVE-2004-1125?
Apply the vendor's patch.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2004-1125 being exploited?
There is no known exploitation of CVE-2004-1125 in the wild and no public exploit code.
Other vulnerabilities in Kde Kde
Sources
Also known as DEBIAN-CVE-2004-1125, DSA-619-1, DSA-621-1, GHSA-68gp-v694-mxpq, RHSA-2005:018.