CVEvulnerability

CVE-2009-4035

9.3 HIGH Published 2009-12-21 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2009-12-21
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
9.3 HIGH — AV:N/AC:M/Au:N/C:C/I:C/A:C
Weaknesses
CWE-94

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.

Affected configurations

• gnome gpdf 2.8.2 • kde kdegraphics 3.3.1 • kde kpdf 3.3.1 • xpdf xpdf 3.0.0

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References