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 products
- GNOME / gpdf2.8.2 – 2.8.2
- KDE / kdegraphics3.3.1 – 3.3.1
- KDE / kpdf3.3.1 – 3.3.1
- Xpdf / Xpdf3.0.0 – 3.0.0
References
- MISChttp://www.securitytracker.com/id?1023356
- MISChttp://www.redhat.com/support/errata/RHSA-2009-1680.html
- MISChttp://www.securityfocus.com/bid/37350
- MISChttp://cgit.freedesktop.org/poppler/poppler/tree/fofi/FoFiType1.cc?id=4b4fc5c017bf147c9069bbce32fc14467bd2a81a
- VENDOR_ADVISORYhttp://secunia.com/advisories/37787
- VENDOR_ADVISORYhttp://secunia.com/advisories/37793
- MISChttps://exchange.xforce.ibmcloud.com/vulnerabilities/54831
- VENDOR_ADVISORYhttp://secunia.com/advisories/37781
- MISChttp://www.redhat.com/support/errata/RHSA-2009-1682.html
- MISChttps://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10996
- MAILING_LISThttp://lists.opensuse.org/opensuse-security-announce/2010-02/msg00003.html
- MISChttp://cgit.freedesktop.org/poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0
- MISChttp://www.redhat.com/support/errata/RHSA-2009-1681.html
- VENDOR_ADVISORYhttp://secunia.com/advisories/37641
- MISChttps://bugzilla.redhat.com/show_bug.cgi?id=541614
- VENDOR_ADVISORYhttp://www.vupen.com/english/advisories/2009/3555