{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2012-2665 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2012-2665 is a high-severity memory corruption vulnerability in Apache Openoffice, published on 6 Aug 2012. 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-2012-2665 and fix it if it is affected.\n\nWhat it is: CVE-2012-2665 is a high-severity memory corruption vulnerability in Apache Openoffice, published on 6 Aug 2012. 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-2012-2665 in the wild and no public exploit code.\n\nAffected product: Apache Openoffice. 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-2012-2665/ (Markdown: https://insights.sbomify.com/CVE-2012-2665/index.md)","id":"CVE-2012-2665","markdown":"https://insights.sbomify.com/CVE-2012-2665/index.md","name":"CVE-2012-2665","record":{"aliases":["DEBIAN-CVE-2012-2665","DSA-2520-1","GHSA-36hh-vpg6-r82h","RHSA-2012:1135","RHSA-2012:1136"],"analysis":{"component_type":"desktop_application","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Office suite","requires_auth":"none","summary":"Remote attackers can execute arbitrary code or cause denial of service via crafted ODT files exploiting heap buffer overflows in OpenOffice and LibreOffice.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"openoffice","vendor":"apache"},{"product":"ubuntu_linux","vendor":"canonical"},{"product":"debian_linux","vendor":"debian"},{"product":"libreoffice","vendor":"libreoffice"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_desktop","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_power_big_endian","vendor":"redhat"},{"product":"enterprise_linux_server","vendor":"redhat"},{"product":"enterprise_linux_server_from_rhui_6","vendor":"redhat"},{"product":"enterprise_linux_workstation","vendor":"redhat"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","version":"2.0"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"Multiple heap-based buffer overflows in the XML manifest encryption tag parsing functionality in OpenOffice.org and LibreOffice before 3.5.5 allow remote attackers to cause a denial of service and possibly execute arbitrary code via a crafted Open Document Text (.odt) file with (1) a child tag within an incorrect parent tag, (2) duplicate tags, or (3) a Base64 ChecksumAttribute whose length is not evenly divisible by four.","ecosystems":["Red Hat:enterprise_linux:5::client","Red Hat:enterprise_linux:5::client_workstation","Red Hat:enterprise_linux:6::client","Red Hat:enterprise_linux:6::server","Red Hat:enterprise_linux:6::workstation","Red Hat:rhel_productivity:5"],"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-2012-2665","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"apache:openoffice","products":["apache:openoffice","canonical:ubuntu_linux","debian:debian_linux","libreoffice:libreoffice","redhat:enterprise_linux","redhat:enterprise_linux_desktop","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_server","redhat:enterprise_linux_workstation"],"type":"memory_corruption","year":"2012"},"n_packages":535,"n_references":16,"next":{"headline":"Other in go/golang","id":"CVE-2012-2666"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org","purl":"pkg:rpm/redhat/openoffice.org","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-base","purl":"pkg:rpm/redhat/openoffice.org-base","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-calc","purl":"pkg:rpm/redhat/openoffice.org-calc","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-core","purl":"pkg:rpm/redhat/openoffice.org-core","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-debuginfo","purl":"pkg:rpm/redhat/openoffice.org-debuginfo","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-draw","purl":"pkg:rpm/redhat/openoffice.org-draw","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-emailmerge","purl":"pkg:rpm/redhat/openoffice.org-emailmerge","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-graphicfilter","purl":"pkg:rpm/redhat/openoffice.org-graphicfilter","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-headless","purl":"pkg:rpm/redhat/openoffice.org-headless","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-impress","purl":"pkg:rpm/redhat/openoffice.org-impress","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-javafilter","purl":"pkg:rpm/redhat/openoffice.org-javafilter","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-af_ZA","purl":"pkg:rpm/redhat/openoffice.org-langpack-af_ZA","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-ar","purl":"pkg:rpm/redhat/openoffice.org-langpack-ar","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-as_IN","purl":"pkg:rpm/redhat/openoffice.org-langpack-as_IN","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-bg_BG","purl":"pkg:rpm/redhat/openoffice.org-langpack-bg_BG","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-bn","purl":"pkg:rpm/redhat/openoffice.org-langpack-bn","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-ca_ES","purl":"pkg:rpm/redhat/openoffice.org-langpack-ca_ES","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-cs_CZ","purl":"pkg:rpm/redhat/openoffice.org-langpack-cs_CZ","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-cy_GB","purl":"pkg:rpm/redhat/openoffice.org-langpack-cy_GB","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-da_DK","purl":"pkg:rpm/redhat/openoffice.org-langpack-da_DK","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-de","purl":"pkg:rpm/redhat/openoffice.org-langpack-de","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-el_GR","purl":"pkg:rpm/redhat/openoffice.org-langpack-el_GR","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-es","purl":"pkg:rpm/redhat/openoffice.org-langpack-es","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-et_EE","purl":"pkg:rpm/redhat/openoffice.org-langpack-et_EE","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-eu_ES","purl":"pkg:rpm/redhat/openoffice.org-langpack-eu_ES","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-fi_FI","purl":"pkg:rpm/redhat/openoffice.org-langpack-fi_FI","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-fr","purl":"pkg:rpm/redhat/openoffice.org-langpack-fr","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-ga_IE","purl":"pkg:rpm/redhat/openoffice.org-langpack-ga_IE","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-gl_ES","purl":"pkg:rpm/redhat/openoffice.org-langpack-gl_ES","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-gu_IN","purl":"pkg:rpm/redhat/openoffice.org-langpack-gu_IN","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-he_IL","purl":"pkg:rpm/redhat/openoffice.org-langpack-he_IL","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-hi_IN","purl":"pkg:rpm/redhat/openoffice.org-langpack-hi_IN","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-hr_HR","purl":"pkg:rpm/redhat/openoffice.org-langpack-hr_HR","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-hu_HU","purl":"pkg:rpm/redhat/openoffice.org-langpack-hu_HU","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-it","purl":"pkg:rpm/redhat/openoffice.org-langpack-it","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-ja_JP","purl":"pkg:rpm/redhat/openoffice.org-langpack-ja_JP","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-kn_IN","purl":"pkg:rpm/redhat/openoffice.org-langpack-kn_IN","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-ko_KR","purl":"pkg:rpm/redhat/openoffice.org-langpack-ko_KR","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-lt_LT","purl":"pkg:rpm/redhat/openoffice.org-langpack-lt_LT","source":"RHSA-2012:1136"},{"ecosystem":"Red Hat:enterprise_linux:5::client","fixed":["1:3.1.1-19.10.el5_8.4"],"introduced":["0"],"last_affected":[],"package":"openoffice.org-langpack-ml_IN","purl":"pkg:rpm/redhat/openoffice.org-langpack-ml_IN","source":"RHSA-2012:1136"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2012-2664"},"products":["n/a"],"published":"2012-08-06","related":[{"cvss_score":9.3,"headline":"Command injection in n/a","id":"CVE-2014-3524","kev_date_added":null,"published":"2014-08-26"},{"cvss_score":9.3,"headline":"Path traversal in n/a","id":"CVE-2010-3450","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Use after free in n/a","id":"CVE-2010-3451","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Use after free in n/a","id":"CVE-2010-3452","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2010-3453","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2010-3454","kev_date_added":null,"published":"2011-01-28"},{"cvss_score":9.3,"headline":"Memory corruption in n/a","id":"CVE-2010-4253","kev_date_added":null,"published":"2011-01-28"}],"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":"Remote attackers can execute arbitrary code or cause denial of service via crafted ODT files exploiting heap buffer overflows in OpenOffice and LibreOffice.","url":"https://insights.sbomify.com/CVE-2012-2665/"}