CVE-2009-4035
CVE-2009-4035 is a critical-severity vulnerability in Gnome Gpdf with a CVSS 2.0 base score of 9.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-94.
Key facts
- Severity: Critical (CVSS 2.0 base score 9.3)
- EPSS exploit prediction: 4% (89th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-94
- Affected product: Gnome Gpdf
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2009-4035?
- CVE-2009-4035 has a CVSS 2.0 base score of 9.3, rated critical severity.
- Is CVE-2009-4035 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 4% (89th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2009-4035?
- CVE-2009-4035 primarily affects Gnome Gpdf. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2009-4035?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- When was CVE-2009-4035 published?
- CVE-2009-4035 was published on 2009-12-21 and last updated on 2026-06-16.
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
- http://secunia.com/advisories/37781
- http://secunia.com/advisories/37787
- http://secunia.com/advisories/37793
- 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
- 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
Affected products (4)
- cpe:2.3:a:gnome:gpdf:2.8.2:*:*:*:*:*:*:*
- cpe:2.3:a:kde:kdegraphics:3.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:kde:kpdf:3.3.1:*:*:*:*:*:*:*
- cpe:2.3:a:xpdf:xpdf:3.0.0:*:*:*:*:*:*:*
More vulnerabilities in Gnome Gpdf
- CVE-2004-0889 — Critical (CVSS 10.0): Multiple integer overflows in xpdf 3.0, and other packages that use xpdf code such as CUPS, allow remote attackers to…
- CVE-2004-0888 — Critical (CVSS 10.0): Multiple integer overflows in xpdf 2.0 and 3.0, and other packages that use xpdf code such as CUPS, gpdf, and…
- CVE-2006-1244 — High (CVSS 7.6): Unspecified vulnerability in certain versions of xpdf after 3.00, as used in various products including (a)…
- CVE-2005-0206 — High (CVSS 7.5): The patch for integer overflow vulnerabilities in Xpdf 2.0 and 3.0 (CVE-2004-0888) is incomplete for 64-bit…
All CVEs affecting Gnome Gpdf →
Other CWE-94 (Code Injection) vulnerabilities
- CVE-2026-76605 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Remote code execution via image element in Fabrik < 4.7.3 - ???.
- CVE-2026-76604 — Critical (CVSS 10.0): Joomla Extension - fabrikar.com - Unauthenticated remote code execution via PHP form element in Fabrik < 4.7.3 - The…
- CVE-2026-67364 — Critical (CVSS 10.0): Joomla Extension - balbooa.com - Pre-auth PHP Code Injection in Balbooa Forms < 2.4.3.2 - CWE-94 / CWE-95 | CVSS 3.1:…
- CVE-2026-73343 — Critical (CVSS 10.0): Unauthenticated Remote Code Execution (RCE) in WP Compress < 7.20.01 versions.
- CVE-2026-74253 — Critical (CVSS 10.0): Joomla Extension - regularlabs.com - Unauthenticated RCE through unverified reflected user input in Sourcerer < 14.0.0…
- CVE-2026-73678 — Critical (CVSS 10.0): MindsDB Minds Platform version 26.1.0 and earlier contains an unauthenticated remote code execution vulnerability that…