Skip to content
Fencer Vulns
critical 9.3

CVE-2009-4035 json

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 v…

published 2009-12-21 16 y ago modified 2026-06-16 4 mo ago also EUVD-2009-4006

cvss
9.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
3.8%
EPSS 3.8% chance of exploitation in 30 days, percentile 90%
public exploits
0
none known

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.

Patch / fix

  • xpdf Debian 14, Debian 13, Debian 12 3.01-1
  • poppler Debian 14, Debian 13, Debian 12 0.5.1-1

debian advisories DEBIAN-CVE-2009-4035

  • kdegraphics RHEL 4 7:3.3.1-17.el4_8.1
  • gpdf RHEL 4 2.8.2-7.7.2.el4_8.6
  • xpdf RHEL 4 1:3.00-23.el4_8.1

red hat advisories RHSA-2009:1682RHSA-2009:1681RHSA-2009:1680

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2009-4035 updated cvss 6.8

xpdf: buffer overflow in FoFiType1::parse

  • Red Hat Enterprise Linux AS version 4 xpdf 3.00-23.el4_8.1, gpdf 2.8.2-7.7.2.el4_8.6, kdegraphics 3.3.1-17.el4_8.1 Red Hat Enterprise Linux Desktop version 4 xpdf 3.00-23.el4_8.1, gpdf 2.8.2-7.7.2.el4_8.6, kdegraphics 3.3.1-17.el4_8.1 Red Hat Enterprise Linux ES version 4 xpdf 3.00-23.el4_8.1, gpdf 2.8.2-7.7.2.el4_8.6, kdegraphics 3.3.1-17.el4_8.1 Red Hat Enterprise Linux WS version 4 xpdf 3.00-23.el4_8.1, gpdf 2.8.2-7.7.2.el4_8.6, kdegraphics 3.3.1-17.el4_8.1
    fixed: vendor fix RHSA-2009:1681

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

3.79% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 2.0 9.3 AV:N/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-94 Improper Control of Generation of Code

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.