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.

Published: 2009-12-21 Last update: 2026-04-23 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2009-4035 is rated Moderate Risk (63.3/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 2.45%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2009-4035

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2025-03-30 5.67% 2.45% -3.22%
2 2025-03-29 2.45% 5.67% +3.22%
3 2025-03-17 2.45%

Full EPSS history (9 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2009-4035

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.3 2.0 HIGH
AV:N/AC:M/Au:N/C:C/I:C/A:C Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:C)
Complete confidentiality impact.
Integrity impact (I:C)
Complete integrity impact.
Availability impact (A:C)
Complete availability impact.
8.6 10.0 [email protected]

Weakness enumeration for CVE-2009-4035

OS Trackers for CVE-2009-4035

vendor priority summary link
debian not yet assigned CVE-2009-4035 not yet assigned priority: Debian including 2 source packages (poppler, xpdf), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 10. https://security-tracker.debian.org/tracker/CVE-2009-4035
gentoo normal CVE-2009-4035: 1 GLSA(s) (201402-17), 1 atom(s) (app-text/xpdf); latest impact normal. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2009-4035
redhat high https://access.redhat.com/security/cve/CVE-2009-4035
ubuntu low CVE-2009-4035 low priority: Ubuntu including 3 source packages (kdegraphics, poppler, xpdf), 18 status rows across 6 suites (dapper, hardy, intrepid, jaunty, karmic, upstream): not-affected 15, released 3. https://ubuntu.com/security/CVE-2009-4035

Affected software / configurations for CVE-2009-4035

Vendor Product Version Raw CPE
gnome gpdf 2.8.2 cpe:2.3:a:gnome:gpdf:2.8.2:*:*:*:*:*:*:*
kde kdegraphics 3.3.1 cpe:2.3:a:kde:kdegraphics:3.3.1:*:*:*:*:*:*:*
kde kpdf 3.3.1 cpe:2.3:a:kde:kpdf:3.3.1:*:*:*:*:*:*:*
xpdf xpdf 3.0.0 cpe:2.3:a:xpdf:xpdf:3.0.0:*:*:*:*:*:*:*

References for CVE-2009-4035

URL Tags
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
cvelogic Threat Intelligence