Every CVE Search/ Get API key

CVE-2009-4035

The FoFiType1::parse function in fofi/FoFiType1.cc in Xpdf 3.0.0, gpdf 2.8.2, kpdf in kdegraphics...

9.3 HighFix available

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

3.79%Up 1.0 points since Feb 4, 2022
90%50%10%1%

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 HighAV: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

Affected packages
PackageAffectedFixed
poppler
Debian:12
before 0.5.1-1
0.5.1-1
poppler
Debian:13
before 0.5.1-1
0.5.1-1
poppler
Debian:14
before 0.5.1-1
0.5.1-1
xpdf
Debian:12
before 3.01-1
3.01-1
xpdf
Debian:13
before 3.01-1
3.01-1
xpdf
Debian:14
before 3.01-1
3.01-1
xpdf
Red Hat:enterprise_linux:4::as
before 1:3.00-23.el4_8.1
1:3.00-23.el4_8.1
xpdf-debuginfo
Red Hat:enterprise_linux:4::as
before 1:3.00-23.el4_8.1
1:3.00-23.el4_8.1
xpdf
Red Hat:enterprise_linux:4::desktop
before 1:3.00-23.el4_8.1
1:3.00-23.el4_8.1
xpdf-debuginfo
Red Hat:enterprise_linux:4::desktop
before 1:3.00-23.el4_8.1
1:3.00-23.el4_8.1
Show 24 moreShow less
Affected packages
PackageAffectedFixed
xpdf
Red Hat:enterprise_linux:4::es
before 1:3.00-23.el4_8.1
1:3.00-23.el4_8.1
xpdf-debuginfo
Red Hat:enterprise_linux:4::es
before 1:3.00-23.el4_8.1
1:3.00-23.el4_8.1
xpdf
Red Hat:enterprise_linux:4::ws
before 1:3.00-23.el4_8.1
1:3.00-23.el4_8.1
xpdf-debuginfo
Red Hat:enterprise_linux:4::ws
before 1:3.00-23.el4_8.1
1:3.00-23.el4_8.1
gpdf
Red 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-debuginfo
Red 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
Red 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-debuginfo
Red 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
Red 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-debuginfo
Red 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
Red 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-debuginfo
Red 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
kdegraphics
Red Hat:enterprise_linux:4::as
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics-debuginfo
Red Hat:enterprise_linux:4::as
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics-devel
Red Hat:enterprise_linux:4::as
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics
Red Hat:enterprise_linux:4::desktop
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics-debuginfo
Red Hat:enterprise_linux:4::desktop
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics-devel
Red Hat:enterprise_linux:4::desktop
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics
Red Hat:enterprise_linux:4::es
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics-debuginfo
Red Hat:enterprise_linux:4::es
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics-devel
Red Hat:enterprise_linux:4::es
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics
Red Hat:enterprise_linux:4::ws
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics-debuginfo
Red Hat:enterprise_linux:4::ws
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1
kdegraphics-devel
Red Hat:enterprise_linux:4::ws
before 7:3.3.1-17.el4_8.1
7:3.3.1-17.el4_8.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 22 moreShow less
MoveEnter Open