CVE-2009-4035 json
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 v…
published 2009-12-21 16 y ago modified 2026-06-16 4 mo ago also EUVD-2009-4006
- cvss
- 9.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.8%
- EPSS 3.8% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- xpdf Debian 14, Debian 13, Debian 12 3.01-1
- poppler Debian 14, Debian 13, Debian 12 0.5.1-1
debian advisories DEBIAN-CVE-2009-4035
- kdegraphics RHEL 4 7:3.3.1-17.el4_8.1
- gpdf RHEL 4 2.8.2-7.7.2.el4_8.6
- xpdf RHEL 4 1:3.00-23.el4_8.1
red hat advisories RHSA-2009:1682RHSA-2009:1681RHSA-2009:1680
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-4035 updated cvss 6.8
xpdf: buffer overflow in FoFiType1::parse
-
Red Hat Enterprise Linux AS version 4 xpdf 3.00-23.el4_8.1, gpdf 2.8.2-7.7.2.el4_8.6, kdegraphics 3.3.1-17.el4_8.1 Red Hat Enterprise Linux Desktop version 4 xpdf 3.00-23.el4_8.1, gpdf 2.8.2-7.7.2.el4_8.6, kdegraphics 3.3.1-17.el4_8.1 Red Hat Enterprise Linux ES version 4 xpdf 3.00-23.el4_8.1, gpdf 2.8.2-7.7.2.el4_8.6, kdegraphics 3.3.1-17.el4_8.1 Red Hat Enterprise Linux WS version 4 xpdf 3.00-23.el4_8.1, gpdf 2.8.2-7.7.2.el4_8.6, kdegraphics 3.3.1-17.el4_8.1fixed: vendor fix RHSA-2009:1681
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.79% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 9.3 | AV:N/AC:M/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
redhat.com
/support/errata/RHSA-2009-1680.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2009-1682.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2010-02/msg00003.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2009-1681.html
vendor-advisory
-
secunia.com
/advisories/37787
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/37793
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/37781
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/37641
third-party-advisory, vendor-advisory
-
vupen.com
/english/advisories/2009/3555
vdb-entry, vendor-advisory
-
securitytracker.com
/id?1023356
vdb-entry
-
securityfocus.com
/bid/37350
vdb-entry
- cgit.freedesktop.org /poppler/poppler/tree/fofi/FoFiType1.cc?id=4b4fc5c017bf147c9069bbce32fc14467bd2a81a
-
exchange.xforce.ibmcloud.com
/vulnerabilities/54831
vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10996
vdb-entry, signature
- cgit.freedesktop.org /poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0
- bugzilla.redhat.com /show_bug.cgi?id=541614
Sources
- CVE List CVE-2009-4035
- NVD CVE-2009-4035
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.