RCE in GNOME Gpdf
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.
Vulnerability class: RCE (Remote Code Execution)
Published · last modified .
CVSS v2 metric
CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.038 (90.0th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 90.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000
Affected products
- GNOME Gpdf — versions 2.8.2
- KDE Kdegraphics — versions 3.3.1
- KDE Kpdf — versions 3.3.1
- Xpdf — versions 3.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- www.securitytracker.com/id (vdb-entry)
- www.redhat.com/support/errata/RHSA-2009-1680.html (vendor-advisory)
- www.securityfocus.com/bid/37350 (vdb-entry)
- cgit.freedesktop.org/poppler/poppler/tree/fofi/FoFiType1.cc
- secunia.com/advisories/37787 (Vendor Advisory, third-party-advisory)
- secunia.com/advisories/37793 (Vendor Advisory, third-party-advisory)
- exchange.xforce.ibmcloud.com/vulnerabilities/54831 (vdb-entry)
- secunia.com/advisories/37781 (Vendor Advisory, third-party-advisory)
- www.redhat.com/support/errata/RHSA-2009-1682.html (vendor-advisory)
- oval.cisecurity.org/repository/search/definition/oval:org.mitre.oval:def:10996 (signature, vdb-entry)
Frequently asked questions
- What is CVE-2009-4035?
- CVE-2009-4035 is a vulnerability in GNOME Gpdf, classified under Code Injection. Published 2009-12-21.
- Is CVE-2009-4035 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.