CVE-2012-2665: Multiple heap-based buffer overflows in the XML manifest encryption tag parsing functionality in OpenOffice.org and LibreOffice before 3.5.5…
Noroxi assessment
Priority: Monitor (action score 32/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 7% (FIRST EPSS); higher than 94.2% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: libreoffice (Debian:12) 1:3.5.4-7; openoffice.org (Debian:6.0) 1:3.2.1-11+squeeze7; openoffice.org (Red Hat:enterprise_linux:5::client) 1:3.1.1-19.10.el5_8.4.
Low priority for now. Upgrade to libreoffice (Debian:12) 1:3.5.4-7; openoffice.org (Debian:6.0) 1:3.2.1-11+squeeze7; openoffice.org (Red Hat:enterprise_linux:5::client) 1:3.1.1-19.10.el5_8.4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Aug 6, 2012
- Updated
- Jun 16, 2026
- EPSS
- 7.0% · 94th percentile
- CWE
- CWE-787
Report tools
Action score
32
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 7.0%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| libreoffice | libreoffice | cpe:2.3:a:libreoffice:libreoffice |
| apache | openoffice | cpe:2.3:a:apache:openoffice |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for power big endian | cpe:2.3:o:redhat:enterprise_linux_for_power_big_endian |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server from rhui 6 | cpe:2.3:o:redhat:enterprise_linux_server_from_rhui_6 |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- apache openofficebefore 3.4.1
- canonical ubuntu linux10.04
- canonical ubuntu linux11.04
- canonical ubuntu linux11.10
- canonical ubuntu linux12.04
- debian debian linux6.0
- debian debian linux7.0
- libreoffice libreofficebefore 3.5.5
+7 more rows
- redhat enterprise linux6.0
- redhat enterprise linux desktop6.0
- redhat enterprise linux for ibm z systems6.0
- redhat enterprise linux for power big endian6.0
- redhat enterprise linux server6.0
- redhat enterprise linux server from rhui 66.0
- redhat enterprise linux workstation6.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | libreoffice | before 1:3.5.4-7 | 1:3.5.4-7 |
| Debian:6.0 | openoffice.org | before 1:3.2.1-11+squeeze7 | 1:3.2.1-11+squeeze7 |
| Red Hat:enterprise_linux:5::client | openoffice.org | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-base | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-calc | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-core | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-debuginfo | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-draw | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-emailmerge | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-graphicfilter | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-headless | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-impress | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-javafilter | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-af_ZA | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-ar | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-as_IN | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-bg_BG | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-bn | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-ca_ES | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-cs_CZ | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-cy_GB | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-da_DK | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-de | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
| Red Hat:enterprise_linux:5::client | openoffice.org-langpack-el_GR | before 1:3.1.1-19.10.el5_8.4 | 1:3.1.1-19.10.el5_8.4 |
+96
Same product
libreoffice: all recordsOther highest-scoring records for the same primary product.
- CVE-2019-9851LibreLogo global-event script execution62This week
- CVE-2018-16858It was found that libreoffice before versions 6.0.7 and 6.1.3 was vulnerable to a directory traversal attack which could be used to execute…60This week
- CVE-2018-10583An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically process and initiate…60This week
Published before and after this one in the same product
- ← EarlierCVE-2012-2334Jun 19, 2012 · Integer overflow in filter/source/msfilter/msdffimp.cxx in OpenOffice.org (OOo) 3.3, 3.4 Beta, and possibly earlier, and LibreOffice before…31Monitor
- ← EarlierCVE-2012-1149Jun 21, 2012 · Integer overflow in the vclmi.dll module in OpenOffice.org (OOo) 3.3, 3.4 Beta, and possibly earlier, and LibreOffice before 3.5.3, allows…34Monitor
- Later →CVE-2012-4233Nov 19, 2012 · LibreOffice 3.5.x before 3.5.7.2 and 3.6.x before 3.6.1, and OpenOffice.org (OOo), allows remote attackers to cause a denial of service…18Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:libreoffice | 1:3.5.4-7 · Debian:12 | Package registry (OSV) |
| debian:openoffice.org | 1:3.2.1-11+squeeze7 · Debian:6.0 | Package registry (OSV) |
| red hat:autocorr-af | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-bg | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-cs | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-da | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-de | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-en | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-es | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-eu | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-fa | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-fi | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-fr | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
| red hat:autocorr-ga | 1:3.4.5.2-16.1.el6_3 · Red Hat:enterprise_linux:6::client | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-787 · Out-of-bounds WriteCVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (15 more)Show less
- secunia.com/advisories/50142
- secunia.com/advisories/50146
- secunia.com/advisories/50692
- secunia.com/advisories/60799
- security.gentoo.org/glsa/glsa-201209-05.xml
- www.debian.org/security/2012/dsa-2520
- www.gentoo.org/security/en/glsa/glsa-201408-19.xml
- www.libreoffice.org/about-us/security/advisories/cve-2012-2665/
- www.pre-cert.de/advisories/PRE-SA-2012-05.txt
- www.securityfocus.com/bid/54769
- www.securitytracker.com/id?1027331
- www.securitytracker.com/id?1027332
- www.ubuntu.com/usn/USN-1536-1
- www.ubuntu.com/usn/USN-1537-1
- bugzilla.redhat.com/show_bug.cgi?id=826077
Vendor advisories and official records. Exploit/PoC links are deliberately left out.