CVE-2009-4035 Integer overflow in n/a
Attackers can execute arbitrary code by tricking users into opening a malicious PDF file with a crafted Type 1 font.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2009-4035?
CVE-2009-4035 is a critical vulnerability in n/a, published on 21 Dec 2009. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The FoFiType1::parse function in fofi/FoFiType1.cc in Xpdf 3.0.0, gpdf 2.8.2, kpdf in kdegraphics 3.3.1, and possibly other libraries and versions, does not check the return value of the getNextLine function, which allows context-dependent attackers to execute arbitrary code via a PDF file with a crafted Type 1 font that can produce a negative value, leading to a signed-to-unsigned integer conversion error and a buffer overflow.
Weakness: CWE-94
Which versions are affected by CVE-2009-4035?
It affects 4 products.
Linux distribution packages (28)
gpdf Red Hat:enterprise_linux:4::as | All versions | 0:2.8.2-7.7.2.el4_8.6 |
gpdf-debuginfo Red Hat:enterprise_linux:4::as | All versions | 0:2.8.2-7.7.2.el4_8.6 |
kdegraphics Red Hat:enterprise_linux:4::as | All versions | 7:3.3.1-17.el4_8.1 |
kdegraphics-debuginfo Red Hat:enterprise_linux:4::as | All versions | 7:3.3.1-17.el4_8.1 |
kdegraphics-devel Red Hat:enterprise_linux:4::as | All versions | 7:3.3.1-17.el4_8.1 |
xpdf Red Hat:enterprise_linux:4::as | All versions | 1:3.00-23.el4_8.1 |
xpdf-debuginfo Red Hat:enterprise_linux:4::as | All versions | 1:3.00-23.el4_8.1 |
gpdf Red Hat:enterprise_linux:4::desktop | All versions | 0:2.8.2-7.7.2.el4_8.6 |
gpdf-debuginfo Red Hat:enterprise_linux:4::desktop | All versions | 0:2.8.2-7.7.2.el4_8.6 |
kdegraphics Red Hat:enterprise_linux:4::desktop | All versions | 7:3.3.1-17.el4_8.1 |
kdegraphics-debuginfo Red Hat:enterprise_linux:4::desktop | All versions | 7:3.3.1-17.el4_8.1 |
kdegraphics-devel Red Hat:enterprise_linux:4::desktop | All versions | 7:3.3.1-17.el4_8.1 |
xpdf Red Hat:enterprise_linux:4::desktop | All versions | 1:3.00-23.el4_8.1 |
xpdf-debuginfo Red Hat:enterprise_linux:4::desktop | All versions | 1:3.00-23.el4_8.1 |
gpdf Red Hat:enterprise_linux:4::es | All versions | 0:2.8.2-7.7.2.el4_8.6 |
gpdf-debuginfo Red Hat:enterprise_linux:4::es | All versions | 0:2.8.2-7.7.2.el4_8.6 |
kdegraphics Red Hat:enterprise_linux:4::es | All versions | 7:3.3.1-17.el4_8.1 |
kdegraphics-debuginfo Red Hat:enterprise_linux:4::es | All versions | 7:3.3.1-17.el4_8.1 |
kdegraphics-devel Red Hat:enterprise_linux:4::es | All versions | 7:3.3.1-17.el4_8.1 |
xpdf Red Hat:enterprise_linux:4::es | All versions | 1:3.00-23.el4_8.1 |
xpdf-debuginfo Red Hat:enterprise_linux:4::es | All versions | 1:3.00-23.el4_8.1 |
gpdf Red Hat:enterprise_linux:4::ws | All versions | 0:2.8.2-7.7.2.el4_8.6 |
gpdf-debuginfo Red Hat:enterprise_linux:4::ws | All versions | 0:2.8.2-7.7.2.el4_8.6 |
kdegraphics Red Hat:enterprise_linux:4::ws | All versions | 7:3.3.1-17.el4_8.1 |
kdegraphics-debuginfo Red Hat:enterprise_linux:4::ws | All versions | 7:3.3.1-17.el4_8.1 |
kdegraphics-devel Red Hat:enterprise_linux:4::ws | All versions | 7:3.3.1-17.el4_8.1 |
xpdf Red Hat:enterprise_linux:4::ws | All versions | 1:3.00-23.el4_8.1 |
xpdf-debuginfo Red Hat:enterprise_linux:4::ws | All versions | 1:3.00-23.el4_8.1 |
Products include Gnome Gpdf, Kde Kdegraphics, Kde Kpdf, Xpdf Xpdf.
How do I fix CVE-2009-4035?
Apply the vendor's patch.
Is CVE-2009-4035 being exploited?
There is no known exploitation of CVE-2009-4035 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2009-4035, GHSA-9rm4-mjvc-4m49, RHSA-2009:1680, RHSA-2009:1681, RHSA-2009:1682.