RCE in GNOME Gpdf

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

Vulnerability class: RCE (Remote Code Execution)

Published · last modified .

CVSS v2 metric

CVSS v2 base score 9.3 (High). Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C. This CVE predates CVSS v3 and has no v3 score from NVD.

EPSS exploit prediction

EPSS: 0.038 (90.0th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 90.0% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2009-4035: held from 0.038 to 0.038.

EPSS over last 30 days · oldest: 0.038 · newest: 0.038 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2009-4035?
CVE-2009-4035 is a vulnerability in GNOME Gpdf, classified under Code Injection. Published 2009-12-21.
Is CVE-2009-4035 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.