The FoFiType1::parse function in fofi/FoFiType1.cc in Xpdf 3.0.0, gpdf 2.8.2, kpdf in…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Medium
- Impact type
- Code execution
- Confidentiality · integrity · availability
- Complete · Complete · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
Remediation
Red Hat 3 advisories
- RHSA-2009:1682 Released 2009-12-16 · Red Hat rating Importantkdegraphics security update
- Red Hat Enterprise Linux AS version 4 kdegraphics-7:3.3.1-17.el4_8.1, kdegraphics-7:3.3.1-17.el4_8.1.i386, kdegraphics-7:3.3.1-17.el4_8.1.ia64 +5
- Red Hat Enterprise Linux Desktop version 4 kdegraphics-7:3.3.1-17.el4_8.1, kdegraphics-7:3.3.1-17.el4_8.1.i386, kdegraphics-devel-7:3.3.1-17.el4_8.1 +1
- Red Hat Enterprise Linux ES version 4 kdegraphics-7:3.3.1-17.el4_8.1, kdegraphics-7:3.3.1-17.el4_8.1.i386, kdegraphics-7:3.3.1-17.el4_8.1.ia64 +3
- Red Hat Enterprise Linux WS version 4 kdegraphics-7:3.3.1-17.el4_8.1, kdegraphics-7:3.3.1-17.el4_8.1.i386, kdegraphics-7:3.3.1-17.el4_8.1.ia64 +3
- RHSA-2009:1680 Released 2009-12-16 · Red Hat rating Importantxpdf security update
- Red Hat Enterprise Linux AS version 4 xpdf-1:3.00-23.el4_8.1, xpdf-1:3.00-23.el4_8.1.i386, xpdf-1:3.00-23.el4_8.1.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 xpdf-1:3.00-23.el4_8.1, xpdf-1:3.00-23.el4_8.1.i386
- Red Hat Enterprise Linux ES version 4 xpdf-1:3.00-23.el4_8.1, xpdf-1:3.00-23.el4_8.1.i386, xpdf-1:3.00-23.el4_8.1.ia64
- Red Hat Enterprise Linux WS version 4 xpdf-1:3.00-23.el4_8.1, xpdf-1:3.00-23.el4_8.1.i386, xpdf-1:3.00-23.el4_8.1.ia64
- RHSA-2009:1681 Released 2009-12-16 · Red Hat rating Importantgpdf security update
- Red Hat Enterprise Linux AS version 4 gpdf-2.8.2-7.7.2.el4_8.6, gpdf-2.8.2-7.7.2.el4_8.6.i386, gpdf-2.8.2-7.7.2.el4_8.6.ia64 +1
- Red Hat Enterprise Linux Desktop version 4 gpdf-2.8.2-7.7.2.el4_8.6, gpdf-2.8.2-7.7.2.el4_8.6.i386
- Red Hat Enterprise Linux ES version 4 gpdf-2.8.2-7.7.2.el4_8.6, gpdf-2.8.2-7.7.2.el4_8.6.i386, gpdf-2.8.2-7.7.2.el4_8.6.ia64
- Red Hat Enterprise Linux WS version 4 gpdf-2.8.2-7.7.2.el4_8.6, gpdf-2.8.2-7.7.2.el4_8.6.i386, gpdf-2.8.2-7.7.2.el4_8.6.ia64
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2009:1680, RHSA-2009:1681, RHSA-2009:1682 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2009:1680, RHSA-2009:1681, RHSA-2009:1682 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2009:1680, RHSA-2009:1681, RHSA-2009:1682 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2009:1680, RHSA-2009:1681, RHSA-2009:1682 |
Timeline
- 2026-10-02 Threatist record created from CVE-2009-4035
- 2026-10-03 Alias added: GHSA-9rm4-mjvc-4m49
- 2026-11-05 EPSS moved to the 90th–95th percentile
References
Sources
- CVE-2009-4035 · CVE Program
- CVE-2009-4035 · NVD
- FIRST EPSS
- GHSA-9rm4-mjvc-4m49 · GitHub Advisory Database · CC BY 4.0
- CVE-2009-4035 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences