CVE-2009-4035
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.
Key facts
- CVSS score
- 9.3 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C- Weakness (CWE)
- CWE-94
- EPSS score
- 3.8% (90th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2009-4006)
- Published
- December 21, 2009
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2009-4006 in the EU Vulnerability Database. Last updated in EUVD on August 7, 2024.
View on the EU Vulnerability DatabaseAffected products
- gnome / gpdf
- kde / kdegraphics
- kde / kpdf
- xpdf / xpdf
References
- http://cgit.freedesktop.org/poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0
- http://cgit.freedesktop.org/poppler/poppler/tree/fofi/FoFiType1.cc?id=4b4fc5c017bf147c9069bbce32fc14467bd2a81a
- http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00003.html
- http://secunia.com/advisories/37641(Vendor Advisory)
- http://secunia.com/advisories/37781(Vendor Advisory)
- http://secunia.com/advisories/37787(Vendor Advisory)
- http://secunia.com/advisories/37793(Vendor Advisory)
- http://www.redhat.com/support/errata/RHSA-2009-1680.html
- http://www.redhat.com/support/errata/RHSA-2009-1681.html
- http://www.redhat.com/support/errata/RHSA-2009-1682.html
- http://www.securityfocus.com/bid/37350
- http://www.securitytracker.com/id?1023356
- http://www.vupen.com/english/advisories/2009/3555(Vendor Advisory)
- https://bugzilla.redhat.com/show_bug.cgi?id=541614
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54831
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10996
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain