CVE-2009-4035

gpdf 2.8.2 - Remote Code Execution via Crafted Type 1 Font

Title source: manual
STIX 2.1

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.

References (16)

Core 16
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2009-1680.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1023356
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/37350
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/37787
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/37793
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/54831
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/37781
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2009-1682.html
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10996
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2009-1681.html
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/37641
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=541614
Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2009/3555

Scores

EPSS 0.0245
EPSS Percentile 85.4%

Details

CWE
CWE-94
Status published
Products (4)
gnome/gpdf 2.8.2
kde/kdegraphics 3.3.1
kde/kpdf 3.3.1
xpdf/xpdf 3.0.0
Published Dec 21, 2009
Tracked Since Feb 18, 2026