CVEfocus › CVE database › CVE-2009-4035

CVE-2009-4035

EPSS 3.8% (higher than 90% of CVEs)Published 2009-12-21Updated 2024-08-07Assigner: redhat

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.

What to do

Fixed builds are available from Debian, Red Hat: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14popplerFixed0.5.1-1DEBIAN-CVE-2009-4035
Debian 14xpdfFixed3.01-1DEBIAN-CVE-2009-4035
Debian 13popplerFixed0.5.1-1DEBIAN-CVE-2009-4035
Debian 13xpdfFixed3.01-1DEBIAN-CVE-2009-4035
Debian 12popplerFixed0.5.1-1DEBIAN-CVE-2009-4035
Debian 12xpdfFixed3.01-1DEBIAN-CVE-2009-4035
Red Hat Enterprise Linux 4gpdfFixed0:2.8.2-7.7.2.el4_8.6RHSA-2009:1681
Red Hat Enterprise Linux 4kdegraphicsFixed7:3.3.1-17.el4_8.1RHSA-2009:1682
Red Hat Enterprise Linux 4kdegraphics-develFixed7:3.3.1-17.el4_8.1RHSA-2009:1682
Red Hat Enterprise Linux 4xpdfFixed1:3.00-23.el4_8.1RHSA-2009:1680

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.