CVE-2009-4035
The FoFiType1::parse function in fofi/FoFiType1.cc in Xpdf 3.0.0, gpdf 2.8.2, kpdf in kdegraphics...
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.
Exploit likelihood
What each source reports
NVD Score used
9.3
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.
- Record
CVE-2009-4035- CVSS 2.0
- 9.3 High
AV:N/AC:M/Au:N/C:C/I:C/A:C - Weakness
- CWE-94
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2009-4035- Updated
- 2026-11-02
EUVDEUVD-2009-4006 No score
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.
- Record
EUVD-2009-4006- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-9rm4-mjvc-4m49 No score
The FoFiType1::parse function in fofi/FoFiType1.cc in Xpdf 3.0.0, gpdf 2.8.2, kpdf in kdegraphics...
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.
- Record
GHSA-9rm4-mjvc-4m49- Weakness
- CWE-94
- Updated
- 2026-11-02
OSV No score
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.
- Record
CVE-2009-4035- Updated
- 2026-11-02
OSVDEBIAN-CVE-2009-4035 No score
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.
- Record
DEBIAN-CVE-2009-4035- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
popplerDebian:12 |
before 0.5.1-1 | 0.5.1-1 |
popplerDebian:13 |
before 0.5.1-1 | 0.5.1-1 |
popplerDebian:14 |
before 0.5.1-1 | 0.5.1-1 |
xpdfDebian:12 |
before 3.01-1 | 3.01-1 |
xpdfDebian:13 |
before 3.01-1 | 3.01-1 |
xpdfDebian:14 |
before 3.01-1 | 3.01-1 |
xpdfRed Hat:enterprise_linux:4::as |
before 1:3.00-23.el4_8.1 | 1:3.00-23.el4_8.1 |
xpdf-debuginfoRed Hat:enterprise_linux:4::as |
before 1:3.00-23.el4_8.1 | 1:3.00-23.el4_8.1 |
xpdfRed Hat:enterprise_linux:4::desktop |
before 1:3.00-23.el4_8.1 | 1:3.00-23.el4_8.1 |
xpdf-debuginfoRed Hat:enterprise_linux:4::desktop |
before 1:3.00-23.el4_8.1 | 1:3.00-23.el4_8.1 |
Show 24 moreShow less
| Package | Affected | Fixed |
|---|---|---|
xpdfRed Hat:enterprise_linux:4::es |
before 1:3.00-23.el4_8.1 | 1:3.00-23.el4_8.1 |
xpdf-debuginfoRed Hat:enterprise_linux:4::es |
before 1:3.00-23.el4_8.1 | 1:3.00-23.el4_8.1 |
xpdfRed Hat:enterprise_linux:4::ws |
before 1:3.00-23.el4_8.1 | 1:3.00-23.el4_8.1 |
xpdf-debuginfoRed Hat:enterprise_linux:4::ws |
before 1:3.00-23.el4_8.1 | 1:3.00-23.el4_8.1 |
gpdfRed Hat:enterprise_linux:4::as |
before 0:2.8.2-7.7.2.el4_8.6 | 0:2.8.2-7.7.2.el4_8.6 |
gpdf-debuginfoRed Hat:enterprise_linux:4::as |
before 0:2.8.2-7.7.2.el4_8.6 | 0:2.8.2-7.7.2.el4_8.6 |
gpdfRed Hat:enterprise_linux:4::desktop |
before 0:2.8.2-7.7.2.el4_8.6 | 0:2.8.2-7.7.2.el4_8.6 |
gpdf-debuginfoRed Hat:enterprise_linux:4::desktop |
before 0:2.8.2-7.7.2.el4_8.6 | 0:2.8.2-7.7.2.el4_8.6 |
gpdfRed Hat:enterprise_linux:4::es |
before 0:2.8.2-7.7.2.el4_8.6 | 0:2.8.2-7.7.2.el4_8.6 |
gpdf-debuginfoRed Hat:enterprise_linux:4::es |
before 0:2.8.2-7.7.2.el4_8.6 | 0:2.8.2-7.7.2.el4_8.6 |
gpdfRed Hat:enterprise_linux:4::ws |
before 0:2.8.2-7.7.2.el4_8.6 | 0:2.8.2-7.7.2.el4_8.6 |
gpdf-debuginfoRed Hat:enterprise_linux:4::ws |
before 0:2.8.2-7.7.2.el4_8.6 | 0:2.8.2-7.7.2.el4_8.6 |
kdegraphicsRed Hat:enterprise_linux:4::as |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphics-debuginfoRed Hat:enterprise_linux:4::as |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphics-develRed Hat:enterprise_linux:4::as |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphicsRed Hat:enterprise_linux:4::desktop |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphics-debuginfoRed Hat:enterprise_linux:4::desktop |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphics-develRed Hat:enterprise_linux:4::desktop |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphicsRed Hat:enterprise_linux:4::es |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphics-debuginfoRed Hat:enterprise_linux:4::es |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphics-develRed Hat:enterprise_linux:4::es |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphicsRed Hat:enterprise_linux:4::ws |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphics-debuginfoRed Hat:enterprise_linux:4::ws |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
kdegraphics-develRed Hat:enterprise_linux:4::ws |
before 7:3.3.1-17.el4_8.1 | 7:3.3.1-17.el4_8.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2009-4035 is a high vulnerability (CVSS 9.3) in Gnome Gpdf, published December 21, 2009. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.79%, the 90th percentile. Fixed in poppler 0.5.1-1.
References
securitytracker.com/id?1023356
redhat.com/support/errata/RHSA-2009-1680.html
securityfocus.com/bid/37350
cgit.freedesktop.org/poppler/poppler/tree/fofi/FoFiType1.cc?id=4b4fc5c017bf147c9069bbce32fc14467bd2a81a
secunia.com/advisories/37787
secunia.com/advisories/37793
Show 22 moreShow less
exchange.xforce.ibmcloud.com/vulnerabilities/54831
secunia.com/advisories/37781
redhat.com/support/errata/RHSA-2009-1682.html
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10996
lists.opensuse.org/opensuse-security-announce/2010-02/msg00003.html
cgit.freedesktop.org/poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0
redhat.com/support/errata/RHSA-2009-1681.html
secunia.com/advisories/37641
bugzilla.redhat.com/show_bug.cgi?id=541614
vupen.com/english/advisories/2009/3555
nvd.nist.gov/vuln/detail/CVE-2009-4035
github.com/advisories/GHSA-9rm4-mjvc-4m49
security-tracker.debian.org/tracker/CVE-2009-4035
access.redhat.com/errata/RHSA-2009:1680
access.redhat.com/security/updates/classification
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1680.json
access.redhat.com/security/cve/CVE-2009-4035
cve.org/CVERecord?id=CVE-2009-4035
access.redhat.com/errata/RHSA-2009:1681
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1681.json
access.redhat.com/errata/RHSA-2009:1682
security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1682.json