{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2007-2754 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2007-2754 is a medium-severity vulnerability in Freetype Freetype, published on 17 May 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2007-2754 and fix it if it is affected.\n\nWhat it is: CVE-2007-2754 is a medium-severity vulnerability in Freetype Freetype, published on 17 May 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2007-2754 in the wild and no public exploit code.\n\nAffected product: Freetype Freetype. 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-2007-2754/ (Markdown: https://insights.sbomify.com/CVE-2007-2754/index.md)","id":"CVE-2007-2754","markdown":"https://insights.sbomify.com/CVE-2007-2754/index.md","name":"CVE-2007-2754","record":{"aliases":["DEBIAN-CVE-2007-2754","DSA-1302-1","DSA-1334-1","GHSA-frw9-68f2-x53q","RHSA-2007:0403"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Freetype font library","requires_auth":"none","summary":"Remote attackers can execute arbitrary code via crafted TTF images exploiting an integer overflow in the Freetype library.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"freetype","vendor":"freetype"}],"cvss":{"score":6.8,"severity":"medium","source":"nvd","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[],"description":"Integer signedness error in truetype/ttgload.c in Freetype 2.3.4 and earlier might allow remote attackers to execute arbitrary code via a crafted TTF image with a negative n_points value, which leads to an integer overflow and heap-based buffer overflow.","ecosystems":["Red Hat:enterprise_linux:2.1::as","Red Hat:enterprise_linux:2.1::aw","Red Hat:enterprise_linux:2.1::es","Red Hat:enterprise_linux:2.1::ws","Red Hat:enterprise_linux:3::as","Red Hat:enterprise_linux:3::desktop","Red Hat:enterprise_linux:3::es","Red Hat:enterprise_linux:3::ws","Red Hat:enterprise_linux:4::as","Red Hat:enterprise_linux:4::desktop","Red Hat:enterprise_linux:4::es","Red Hat:enterprise_linux:4::ws","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::client_workstation","Red Hat:enterprise_linux:5::server"],"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-2007-2754","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"freetype:freetype","products":["freetype:freetype"],"type":"integer_overflow","year":"2007"},"n_packages":54,"n_references":60,"next":{"headline":"Path traversal in n/a","id":"CVE-2007-2755"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::as","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::aw","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::es","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:2.1::ws","fixed":["0:2.0.3-10.el21"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::as","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::desktop","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::es","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:3::ws","fixed":["0:2.1.4-7.el3"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-demos","purl":"pkg:rpm/redhat/freetype-demos","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-demos","purl":"pkg:rpm/redhat/freetype-demos","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-demos","purl":"pkg:rpm/redhat/freetype-demos","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::es","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2007:0403"},{"ecosystem":"Red Hat:enterprise_linux:4::ws","fixed":["0:2.1.9-6.el4"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2007:0403"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2007-2753"},"products":["n/a"],"published":"2007-05-17","related":[{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2012-1126","kev_date_added":null,"published":"2012-04-25"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2015-9290","kev_date_added":null,"published":"2019-07-30"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-8287","kev_date_added":null,"published":"2017-04-27"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2016-10328","kev_date_added":null,"published":"2017-04-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-7857","kev_date_added":null,"published":"2017-04-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-7858","kev_date_added":null,"published":"2017-04-14"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-7864","kev_date_added":null,"published":"2017-04-14"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-07","vendors":["n/a"]},"summary":"Remote attackers can execute arbitrary code via crafted TTF images exploiting an integer overflow in the Freetype library.","url":"https://insights.sbomify.com/CVE-2007-2754/"}