{"answers":{"affected":"It affects 5 products.","exploited":"There is no known exploitation of CVE-2011-2895 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2011-2895 is a critical memory corruption vulnerability in Freebsd Freebsd, published on 19 Aug 2011. 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-2011-2895 and fix it if it is affected.\n\nWhat it is: CVE-2011-2895 is a critical memory corruption vulnerability in Freebsd Freebsd, published on 19 Aug 2011. 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-2011-2895 in the wild and no public exploit code.\n\nAffected product: Freebsd Freebsd. 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-2011-2895/ (Markdown: https://insights.sbomify.com/CVE-2011-2895/index.md)","id":"CVE-2011-2895","markdown":"https://insights.sbomify.com/CVE-2011-2895/index.md","name":"CVE-2011-2895","record":{"aliases":["DEBIAN-CVE-2011-2895","DSA-2293-1","GHSA-8hvp-h85w-jwq9","RHSA-2011:1154","RHSA-2011:1155","RHSA-2011:1161","RHSA-2011:1834","openSUSE-SU-2024:10169-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"X.Org libXfont","requires_auth":"none","summary":"A heap-based buffer overflow in the LZW decompressor allows attackers to execute arbitrary code or cause denial of service via crafted compressed streams.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"freebsd","vendor":"freebsd"},{"product":"freetype","vendor":"freetype"},{"product":"netbsd","vendor":"netbsd"},{"product":"openbsd","vendor":"openbsd"},{"product":"libxfont","vendor":"x"}],"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-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"The LZW decompressor in (1) the BufCompressedFill function in fontfile/decompress.c in X.Org libXfont before 1.4.4 and (2) compress/compress.c in 4.3BSD, as used in zopen.c in OpenBSD before 3.8, FreeBSD, NetBSD 4.0.x and 5.0.x before 5.0.3 and 5.1.x before 5.1.1, FreeType 2.1.9, and other products, does not properly handle code words that are absent from the decompression table when encountered, which allows context-dependent attackers to trigger an infinite loop or a heap-based buffer overflow, and possibly execute arbitrary code, via a crafted compressed stream, a related issue to CVE-2006-1168 and CVE-2011-2896.","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","Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::client_workstation","Red Hat:enterprise_linux:5::server","Red Hat:enterprise_linux:6::server","Red Hat:rhel_eus:5.6"],"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":"Memory corruption in n/a","id":"CVE-2011-2895","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"freebsd:freebsd","products":["freebsd:freebsd","freetype:freetype","netbsd:netbsd","openbsd:openbsd"],"type":"memory_corruption","year":"2011"},"n_packages":106,"n_references":38,"next":{"headline":"Memory corruption in n/a","id":"CVE-2011-2896"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-demos","purl":"pkg:rpm/redhat/freetype-demos","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11","purl":"pkg:rpm/redhat/xorg-x11","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Mesa-libGL","purl":"pkg:rpm/redhat/xorg-x11-Mesa-libGL","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Mesa-libGLU","purl":"pkg:rpm/redhat/xorg-x11-Mesa-libGLU","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Xdmx","purl":"pkg:rpm/redhat/xorg-x11-Xdmx","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Xnest","purl":"pkg:rpm/redhat/xorg-x11-Xnest","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Xvfb","purl":"pkg:rpm/redhat/xorg-x11-Xvfb","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-deprecated-libs","purl":"pkg:rpm/redhat/xorg-x11-deprecated-libs","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-deprecated-libs-devel","purl":"pkg:rpm/redhat/xorg-x11-deprecated-libs-devel","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-devel","purl":"pkg:rpm/redhat/xorg-x11-devel","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-doc","purl":"pkg:rpm/redhat/xorg-x11-doc","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-font-utils","purl":"pkg:rpm/redhat/xorg-x11-font-utils","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-libs","purl":"pkg:rpm/redhat/xorg-x11-libs","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-sdk","purl":"pkg:rpm/redhat/xorg-x11-sdk","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-tools","purl":"pkg:rpm/redhat/xorg-x11-tools","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-twm","purl":"pkg:rpm/redhat/xorg-x11-twm","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-xauth","purl":"pkg:rpm/redhat/xorg-x11-xauth","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-xdm","purl":"pkg:rpm/redhat/xorg-x11-xdm","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::as","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-xfs","purl":"pkg:rpm/redhat/xorg-x11-xfs","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype","purl":"pkg:rpm/redhat/freetype","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-debuginfo","purl":"pkg:rpm/redhat/freetype-debuginfo","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-demos","purl":"pkg:rpm/redhat/freetype-demos","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-devel","purl":"pkg:rpm/redhat/freetype-devel","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:2.1.9-19.el4"],"introduced":["0"],"last_affected":[],"package":"freetype-utils","purl":"pkg:rpm/redhat/freetype-utils","source":"RHSA-2011:1161"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11","purl":"pkg:rpm/redhat/xorg-x11","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Mesa-libGL","purl":"pkg:rpm/redhat/xorg-x11-Mesa-libGL","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Mesa-libGLU","purl":"pkg:rpm/redhat/xorg-x11-Mesa-libGLU","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Xdmx","purl":"pkg:rpm/redhat/xorg-x11-Xdmx","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Xnest","purl":"pkg:rpm/redhat/xorg-x11-Xnest","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-Xvfb","purl":"pkg:rpm/redhat/xorg-x11-Xvfb","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-deprecated-libs","purl":"pkg:rpm/redhat/xorg-x11-deprecated-libs","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-deprecated-libs-devel","purl":"pkg:rpm/redhat/xorg-x11-deprecated-libs-devel","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-devel","purl":"pkg:rpm/redhat/xorg-x11-devel","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-doc","purl":"pkg:rpm/redhat/xorg-x11-doc","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-font-utils","purl":"pkg:rpm/redhat/xorg-x11-font-utils","source":"RHSA-2011:1155"},{"ecosystem":"Red Hat:enterprise_linux:4::desktop","fixed":["0:6.8.2-1.EL.69"],"introduced":["0"],"last_affected":[],"package":"xorg-x11-libs","purl":"pkg:rpm/redhat/xorg-x11-libs","source":"RHSA-2011:1155"}],"prev":{"headline":"Spring Framework and Spring Security vulnerable to Deserialization of Untrusted Data","id":"CVE-2011-2894"},"products":["n/a"],"published":"2011-08-19","related":[{"cvss_score":10,"headline":"Memory corruption in FreeBSD","id":"CVE-2018-17160","kev_date_added":null,"published":"2018-12-04"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2014-3954","kev_date_added":null,"published":"2014-10-27"},{"cvss_score":10,"headline":"Memory corruption in n/a","id":"CVE-2006-4304","kev_date_added":null,"published":"2006-08-24"},{"cvss_score":10,"headline":"Integer overflow in n/a","id":"CVE-2006-0226","kev_date_added":null,"published":"2006-01-19"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-2004-0002","kev_date_added":null,"published":"2004-02-03"},{"cvss_score":10,"headline":"Security feature bypass in n/a","id":"CVE-2001-0969","kev_date_added":null,"published":"2002-03-09"},{"cvss_score":10,"headline":"Denial of service in n/a","id":"CVE-2001-0388","kev_date_added":null,"published":"2001-09-18"}],"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-06","vendors":["n/a"]},"summary":"A heap-based buffer overflow in the LZW decompressor allows attackers to execute arbitrary code or cause denial of service via crafted compressed streams.","url":"https://insights.sbomify.com/CVE-2011-2895/"}