Skip to content

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 f...

HighCVSS 9.3 EPSS 3.8%
Published
Updated
Exploit status
No public exploit known

Description

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.

Affected products

ProductAffected versionsFixed in
GNOME gpdf = 2.8.2 No fix listed
kdegraphics = 3.3.1 No fix listed
KDE kpdf = 3.3.1 No fix listed
xpdf = 3.0.0 No fix listed
debian/poppler(Debian:12) < 0.5.1-1 0.5.1-1
debian/poppler(Debian:13) < 0.5.1-1 0.5.1-1
debian/poppler(Debian:14) < 0.5.1-1 0.5.1-1
debian/xpdf(Debian:12) < 3.01-1 3.01-1
debian/xpdf(Debian:13) < 3.01-1 3.01-1
debian/xpdf(Debian:14) < 3.01-1 3.01-1

References