cve.bz

CVE-2009-4035 Code Injection

no score yetEPSS 3.8%

No CVSS score yet. EPSS 3.8% estimated probability of exploitation activity in the next 30 days.

On this page
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.
EPSS
3.8% (unchanged from 3.8% a week ago; 3.8% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2009-4035 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2009-4035?via=ask-ai-copy and https://cve.bz/cve/CVE-2009-4035?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2009-4035 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
gnome:gpdf2.8.2
kde:kdegraphics3.3.1
kde:kpdf3.3.1
xpdf:xpdf3.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14poppler0.5.1-1DEBIAN-CVE-2009-4035
Debian12, 13, 14xpdf3.01-1DEBIAN-CVE-2009-4035
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moregpdf, gpdf-debuginfo0:2.8.2-7.7.2.el4_8.6RHSA-2009:1681
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morekdegraphics, kdegraphics-devel, kdegraphics-debuginfo7:3.3.1-17.el4_8.1RHSA-2009:1682
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morexpdf, xpdf-debuginfo1:3.00-23.el4_8.1RHSA-2009:1680

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4xpdf-1:3.00-23.el4_8.1Fixed 2009-12-16RHSA-2009:1680
Red Hat Enterprise Linux 4gpdf-0:2.8.2-7.7.2.el4_8.6Fixed 2009-12-16RHSA-2009:1681
Red Hat Enterprise Linux 4kdegraphics-7:3.3.1-17.el4_8.1Fixed 2009-12-16RHSA-2009:1682

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2009-4035.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON