CVE-2012-2665 in Apache Openoffice and 10 more products
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 pa...
Affects 11 products from 5 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Apache | Openoffice | < 3.4.1 |
| Canonical | Ubuntu Linux | 10.04 11.04 11.10 12.04 |
| Debian | Debian Linux | 6.0 7.0 |
| Libreoffice | Libreoffice | < 3.5.5 |
| Redhat | Enterprise Linux Workstation | 6.0 |
| Redhat | Enterprise Linux For Ibm Z Systems | 6.0 |
| Redhat | Enterprise Linux For Power Big Endian | 6.0 |
| Redhat | Enterprise Linux Server From Rhui 6 | 6.0 |
| Redhat | Enterprise Linux Server | 6.0 |
| Redhat | Enterprise Linux Desktop | 6.0 |
| Redhat | Enterprise Linux | 6.0 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2012-2665 |
|---|---|
| BreachSpider ID | BS-2012-GLOBAL-091182-H |
| CVSS vector | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| Published | 2012-08-06 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-787: Out-of-Bounds Write
Software writes data past buffer boundaries, corrupting memory and potentially enabling code execution.
Analysis AI-written, not human-reviewed
This vulnerability was disclosed in 2012. A high severity vulnerability affects Apache systems (CVE-2012-2665). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
Vulnerability details: 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. CVSS vector: AV:N/AC:L/Au:N/C:P/I:P/A:P.
Questions
What is CVE-2012-2665?
This vulnerability was disclosed in 2012. A high severity vulnerability affects Apache systems (CVE-2012-2665). No public exploit code is currently available. Isolate affected systems if patching is not feasible.
What is the CVSS score for CVE-2012-2665?
CVE-2012-2665 has CVSS 7.5 (High). Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P. EPSS: 7.0%.
Is CVE-2012-2665 actively exploited?
No confirmed active exploitation of CVE-2012-2665 as of 2026-09-25.
How do I remediate CVE-2012-2665?
Priority: MEDIUM. Advisory: http://rhn.redhat.com/errata/RHSA-2012-1135.html PSIRT: [email protected]
What systems are affected by CVE-2012-2665?
CVE-2012-2665 affects Apache Openoffice; Canonical Ubuntu Linux; Debian Debian Linux; Libreoffice Libreoffice; Redhat Enterprise Linux Workstation, Enterprise Linux For Ibm Z Systems, Enterprise Linux For Power Big Endian, Enterprise Linux Server From Rhui 6, Enterprise Linux Server, Enterprise Linux Desktop (plus 1 more product).
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apache","product":"Openoffice","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.