CVE-2009-4035
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 3.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 3.8% in the next 30 days (EPSS).
- Severity: 9.3 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.8% · EPSS, next 30 days
- Weakness
- CWE-94 · Code injection
- Record status
- Modified
Affected
- Gnome Gpdf 2.8.2
- Kde Kdegraphics 3.3.1
- Kde Kpdf 3.3.1
- Xpdf 3.0.0
Attack profile CVSS 2.0 · 9.3
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:N/AC:M/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2009-4035.md and follow it. Check whether this project is affected by CVE-2009-4035. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/37641
- http://secunia.com/advisories/37781
- http://secunia.com/advisories/37787
- http://secunia.com/advisories/37793
- http://www.vupen.com/english/advisories/2009/3555
- http://secunia.com/advisories/37641
- http://secunia.com/advisories/37781
- http://secunia.com/advisories/37787
- http://secunia.com/advisories/37793
- http://www.vupen.com/english/advisories/2009/3555
References
- http://cgit.freedesktop.org/poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0
- http://cgit.freedesktop.org/poppler/poppler/tree/fofi/FoFiType1.cc?id=4b4fc5c017bf147c9069bbce32fc14467bd2a81a
- http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00003.html
- http://secunia.com/advisories/37641
- http://secunia.com/advisories/37781
- http://secunia.com/advisories/37787
- http://secunia.com/advisories/37793
- 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/3555
- https://bugzilla.redhat.com/show_bug.cgi?id=541614
- https://exchange.xforce.ibmcloud.com/vulnerabilities/54831
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10996
- http://cgit.freedesktop.org/poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0
- http://cgit.freedesktop.org/poppler/poppler/tree/fofi/FoFiType1.cc?id=4b4fc5c017bf147c9069bbce32fc14467bd2a81a
- http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00003.html
- http://secunia.com/advisories/37641
- http://secunia.com/advisories/37781
- http://secunia.com/advisories/37787
- http://secunia.com/advisories/37793
- http://www.redhat.com/support/errata/RHSA-2009-1680.html
- http://www.redhat.com/support/errata/RHSA-2009-1681.html