Skip to content
OpenAdvisories
Unscored CVE-2009-4035 EUVD-2009-4006GHSA-9rm4-mjvc-4m49

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 Dec 21, 2009 · Updated Aug 7, 2024 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 poppler 0.5.1-1 —
Debian 14 xpdf 3.01-1 —
Debian 13 poppler 0.5.1-1 —
Debian 13 xpdf 3.01-1 —
Debian 12 poppler 0.5.1-1 —
Debian 12 xpdf 3.01-1 —
ReleasePackageFixed inAdvisory
RHEL 4 gpdf 2.8.2-7.7.2.el4_8.6 RHSA-2009:1681
RHEL 4 kdegraphics +1 7:3.3.1-17.el4_8.1 RHSA-2009:1682
RHEL 4 xpdf 1:3.00-23.el4_8.1 RHSA-2009:1680

Advisories 3

References