Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gnome | Gpdf | 2.8.2 |
| Kde | Kdegraphics | 3.3.1 |
| Kde | Kpdf | 3.3.1 |
| Xpdf | Xpdf | 3.0.0 |
Related Weaknesses (CWE)
References
- http://cgit.freedesktop.org/poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0
- http://cgit.freedesktop.org/poppler/poppler/tree/fofi/FoFiType1.cc?id=4b4fc5c017
- http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00003.html
- http://secunia.com/advisories/37641Vendor Advisory
- http://secunia.com/advisories/37781Vendor Advisory
- http://secunia.com/advisories/37787Vendor Advisory
- http://secunia.com/advisories/37793Vendor Advisory
- http://www.redhat.com/support/errata/RHSA-2009-1680.html
- http://www.redhat.com/support/errata/RHSA-2009-1681.html
- http://www.redhat.com/support/errata/RHSA-2009-1682.html
- http://www.securityfocus.com/bid/37350
- http://www.securitytracker.com/id?1023356
- http://www.vupen.com/english/advisories/2009/3555Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=541614
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54831
FAQ
What is CVE-2009-4035?
CVE-2009-4035 is a vulnerability with a CVSS score of 9.3 (HIGH). 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 f...
How severe is CVE-2009-4035?
CVE-2009-4035 has been rated HIGH with a CVSS base score of 9.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2009-4035?
Check the references section above for vendor advisories and patch information. Affected products include: Gnome Gpdf, Kde Kdegraphics, Kde Kpdf, Xpdf Xpdf.