{"schemaVersion":3,"id":"CVE-2009-4035","aliases":["RHSA-2009:1680","RHSA-2009:1681","RHSA-2009:1682","DEBIAN-CVE-2009-4035"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2009-12-21T21:00:00.000Z","modified":"2024-08-07T06:45:50.951Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03785,"percentile":0.89851,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03785},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03785,"percentile":0.89851}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03785,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03785,"percentile":0.89851}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"debian","product":"poppler","name":"poppler","label":"poppler","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/poppler","purlType":"deb","versions":[{"text":"< 0.5.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.5.1-1","eol":null,"hubHref":null},{"vendor":"debian","product":"xpdf","name":"xpdf","label":"xpdf","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/xpdf","purlType":"deb","versions":[{"text":"< 3.01-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.01-1","eol":null,"hubHref":null},{"vendor":"gnome","product":"gpdf","name":"gpdf","label":"gpdf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.8.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.8.2","eol":null,"hubHref":"/vendor/gnome/gpdf"},{"vendor":"kde","product":"kdegraphics","name":"kdegraphics","label":"kdegraphics","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.3.1","eol":null,"hubHref":"/vendor/kde/kdegraphics"},{"vendor":"kde","product":"kpdf","name":"kpdf","label":"kpdf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.3.1","eol":null,"hubHref":"/vendor/kde/kpdf"},{"vendor":"redhat","product":"gpdf","name":"gpdf","label":"gpdf","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gpdf","purlType":"rpm","versions":[{"text":"< 0:2.8.2-7.7.2.el4_8.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.8.2-7.7.2.el4_8.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"gpdf-debuginfo","name":"gpdf-debuginfo","label":"gpdf-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/gpdf-debuginfo","purlType":"rpm","versions":[{"text":"< 0:2.8.2-7.7.2.el4_8.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:2.8.2-7.7.2.el4_8.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"kdegraphics","name":"kdegraphics","label":"kdegraphics","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/kdegraphics","purlType":"rpm","versions":[{"text":"< 7:3.3.1-17.el4_8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:3.3.1-17.el4_8.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"kdegraphics-debuginfo","name":"kdegraphics-debuginfo","label":"kdegraphics-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/kdegraphics-debuginfo","purlType":"rpm","versions":[{"text":"< 7:3.3.1-17.el4_8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:3.3.1-17.el4_8.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"kdegraphics-devel","name":"kdegraphics-devel","label":"kdegraphics-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/kdegraphics-devel","purlType":"rpm","versions":[{"text":"< 7:3.3.1-17.el4_8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 7:3.3.1-17.el4_8.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"xpdf","name":"xpdf","label":"xpdf","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/xpdf","purlType":"rpm","versions":[{"text":"< 1:3.00-23.el4_8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.00-23.el4_8.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"xpdf-debuginfo","name":"xpdf-debuginfo","label":"xpdf-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/xpdf-debuginfo","purlType":"rpm","versions":[{"text":"< 1:3.00-23.el4_8.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.00-23.el4_8.1","eol":null,"hubHref":null},{"vendor":"xpdf","product":"xpdf","name":"xpdf","label":"xpdf","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"3.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"3.0.0","eol":null,"hubHref":"/vendor/xpdf/xpdf"}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.securitytracker.com/id?1023356","label":"www.securitytracker.com/id?1023356","hostname":"www.securitytracker.com","tags":["VDB Entry","X Refsource SECTRACK"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1680.html","label":"www.redhat.com/support/errata/RHSA-2009-1680.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://www.securityfocus.com/bid/37350","label":"www.securityfocus.com/bid/37350","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID"]},{"url":"http://cgit.freedesktop.org/poppler/poppler/tree/fofi/FoFiType1.cc?id=4b4fc5c017bf147c9069bbce32fc14467bd2a81a","label":"cgit.freedesktop.org/poppler/…","hostname":"cgit.freedesktop.org","tags":["X Refsource MISC"]},{"url":"http://secunia.com/advisories/37787","label":"secunia.com/advisories/37787","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://secunia.com/advisories/37793","label":"secunia.com/advisories/37793","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/54831","label":"exchange.xforce.ibmcloud.com/vulnerabilities/54831","hostname":"exchange.xforce.ibmcloud.com","tags":["VDB Entry","X Refsource XF"]},{"url":"http://secunia.com/advisories/37781","label":"secunia.com/advisories/37781","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1682.html","label":"www.redhat.com/support/errata/RHSA-2009-1682.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10996","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10996","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2010-02/msg00003.html","label":"lists.opensuse.org/opensuse-security-announce/2010-02/msg00003.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE"]},{"url":"http://cgit.freedesktop.org/poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0","label":"cgit.freedesktop.org/poppler/poppler/diff/fofi/FoFiType1.cc?id=4b4fc5c0","hostname":"cgit.freedesktop.org","tags":["X Refsource CONFIRM"]},{"url":"http://www.redhat.com/support/errata/RHSA-2009-1681.html","label":"www.redhat.com/support/errata/RHSA-2009-1681.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT"]},{"url":"http://secunia.com/advisories/37641","label":"secunia.com/advisories/37641","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=541614","label":"bugzilla.redhat.com/show_bug.cgi?id=541614","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","REPORT"]},{"url":"http://www.vupen.com/english/advisories/2009/3555","label":"www.vupen.com/english/advisories/2009/3555","hostname":"www.vupen.com","tags":["VDB Entry","X Refsource VUPEN","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2009:1680","label":"access.redhat.com/errata/RHSA-2009:1680","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#important","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1680.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1680.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2009-4035","label":"access.redhat.com/security/cve/CVE-2009-4035","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2009-4035","label":"www.cve.org/CVERecord?id=CVE-2009-4035","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2009-4035","label":"nvd.nist.gov/vuln/detail/CVE-2009-4035","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2009:1681","label":"access.redhat.com/errata/RHSA-2009:1681","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1681.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1681.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2009:1682","label":"access.redhat.com/errata/RHSA-2009:1682","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1682.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2009/rhsa-2009_1682.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2009-4035","label":"security-tracker.debian.org/tracker/CVE-2009-4035","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2009-12-21T21:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T06:45:50.951Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T09:11:11.243Z","stale":false,"partial":false}}