Live threats

All CVEs / Gnome

CVE-2009-4035Gnome Gpdf

Critical 9.3 No auth needed

Priority
71
CVSS 2.0
9.3
EPSS
3.8%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Dec 21, 2009
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
Vector
AV:N/AC:M/Au:N/C:C/I:C/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Gpdf.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
gnomegpdf2.8.2
kdekdegraphics3.3.1
kdekpdf3.3.1
xpdfxpdf3.0.0

Official sources

References

Links published by the sources. Open them with care.