{"answers":{"affected":"It affects 4 products.","exploited":"There is no known exploitation of CVE-2009-4035 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2009-4035 is a critical vulnerability in n/a, published on 21 Dec 2009. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2009-4035 and fix it if it is affected.\n\nWhat it is: CVE-2009-4035 is a critical vulnerability in n/a, published on 21 Dec 2009. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2009-4035 in the wild and no public exploit code.\n\nAffected product: n/a. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2009-4035/ (Markdown: https://insights.sbomify.com/CVE-2009-4035/index.md)","id":"CVE-2009-4035","markdown":"https://insights.sbomify.com/CVE-2009-4035/index.md","name":"CVE-2009-4035","record":{"aliases":["DEBIAN-CVE-2009-4035","GHSA-9rm4-mjvc-4m49","RHSA-2009:1680","RHSA-2009:1681","RHSA-2009:1682"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"PDF rendering library","requires_auth":"none","summary":"Attackers can execute arbitrary code by tricking users into opening a malicious PDF file with a crafted Type 1 font.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"gpdf","vendor":"gnome"},{"product":"kdegraphics","vendor":"kde"},{"product":"kpdf","vendor":"kde"},{"product":"xpdf","vendor":"xpdf"}],"cvss":{"score":9.3,"severity":"critical","source":"nvd","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","version":"2.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"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.","ecosystems":["Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Integer overflow in n/a","id":"CVE-2009-4035","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2009"},"n_packages":28,"n_references":16,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2009-4036"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.8.2-7.7.2.el4_8.6"],"introduced":["0"],"last_affected":[],"package":"gpdf","purl":"pkg:rpm/redhat/gpdf","source":"RHSA-2009:1681"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.8.2-7.7.2.el4_8.6"],"introduced":["0"],"last_affected":[],"package":"gpdf-debuginfo","purl":"pkg:rpm/redhat/gpdf-debuginfo","source":"RHSA-2009:1681"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics","purl":"pkg:rpm/redhat/kdegraphics","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics-debuginfo","purl":"pkg:rpm/redhat/kdegraphics-debuginfo","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics-devel","purl":"pkg:rpm/redhat/kdegraphics-devel","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:3.00-23.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"xpdf","purl":"pkg:rpm/redhat/xpdf","source":"RHSA-2009:1680"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["1:3.00-23.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"xpdf-debuginfo","purl":"pkg:rpm/redhat/xpdf-debuginfo","source":"RHSA-2009:1680"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.8.2-7.7.2.el4_8.6"],"introduced":["0"],"last_affected":[],"package":"gpdf","purl":"pkg:rpm/redhat/gpdf","source":"RHSA-2009:1681"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.8.2-7.7.2.el4_8.6"],"introduced":["0"],"last_affected":[],"package":"gpdf-debuginfo","purl":"pkg:rpm/redhat/gpdf-debuginfo","source":"RHSA-2009:1681"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics","purl":"pkg:rpm/redhat/kdegraphics","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics-debuginfo","purl":"pkg:rpm/redhat/kdegraphics-debuginfo","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics-devel","purl":"pkg:rpm/redhat/kdegraphics-devel","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:3.00-23.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"xpdf","purl":"pkg:rpm/redhat/xpdf","source":"RHSA-2009:1680"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["1:3.00-23.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"xpdf-debuginfo","purl":"pkg:rpm/redhat/xpdf-debuginfo","source":"RHSA-2009:1680"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.8.2-7.7.2.el4_8.6"],"introduced":["0"],"last_affected":[],"package":"gpdf","purl":"pkg:rpm/redhat/gpdf","source":"RHSA-2009:1681"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.8.2-7.7.2.el4_8.6"],"introduced":["0"],"last_affected":[],"package":"gpdf-debuginfo","purl":"pkg:rpm/redhat/gpdf-debuginfo","source":"RHSA-2009:1681"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics","purl":"pkg:rpm/redhat/kdegraphics","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics-debuginfo","purl":"pkg:rpm/redhat/kdegraphics-debuginfo","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics-devel","purl":"pkg:rpm/redhat/kdegraphics-devel","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:3.00-23.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"xpdf","purl":"pkg:rpm/redhat/xpdf","source":"RHSA-2009:1680"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["1:3.00-23.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"xpdf-debuginfo","purl":"pkg:rpm/redhat/xpdf-debuginfo","source":"RHSA-2009:1680"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.8.2-7.7.2.el4_8.6"],"introduced":["0"],"last_affected":[],"package":"gpdf","purl":"pkg:rpm/redhat/gpdf","source":"RHSA-2009:1681"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.8.2-7.7.2.el4_8.6"],"introduced":["0"],"last_affected":[],"package":"gpdf-debuginfo","purl":"pkg:rpm/redhat/gpdf-debuginfo","source":"RHSA-2009:1681"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics","purl":"pkg:rpm/redhat/kdegraphics","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics-debuginfo","purl":"pkg:rpm/redhat/kdegraphics-debuginfo","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["7:3.3.1-17.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"kdegraphics-devel","purl":"pkg:rpm/redhat/kdegraphics-devel","source":"RHSA-2009:1682"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["1:3.00-23.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"xpdf","purl":"pkg:rpm/redhat/xpdf","source":"RHSA-2009:1680"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["1:3.00-23.el4_8.1"],"introduced":["0"],"last_affected":[],"package":"xpdf-debuginfo","purl":"pkg:rpm/redhat/xpdf-debuginfo","source":"RHSA-2009:1680"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2009-4034"},"products":["n/a"],"published":"2009-12-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Attackers can execute arbitrary code by tricking users into opening a malicious PDF file with a crafted Type 1 font.","url":"https://insights.sbomify.com/CVE-2009-4035/"}