Content Manipulation with Double Certificate Attack
LibreOffice supports digital signatures of ODF documents and macros within documents, presenting visual aids that no alteration of the document occurred since the last signing and that the signature is valid. An Improper Certificate Validation vulnerability in LibreOffice allowed an attacker to create a digitally signed ODF document, by manipulating the documentsignatures.xml or macrosignatures.xml stream within the document to combine multiple certificate data, which when opened caused LibreOffice to display a validly signed indicator but whose content was unrelated to the signature shown. This issue affects: The Document Foundation LibreOffice 7-0 versions prior to 7.0.6; 7-1 versions prior to 7.1.2.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Oct 11, 2021
- Updated
- Jun 16, 2026
- EPSS
- 0.7% · 53th percentile
- CWE
- CWE-295
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
30
Monitor
Low priority for now.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.7%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| libreoffice | libreoffice | cpe:2.3:a:libreoffice:libreoffice |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux11.0
- libreoffice libreoffice7.0.0 and later · before 7.0.6
- libreoffice libreoffice7.1.0 and later · before 7.1.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Document Fdn.). Independent of NVD's CPE analysis and usually ahead of it.
The Document Foundation LibreOffice
- 7-0 and later · before 7.0.6affected
- 7-1 and later · before 7.1.2affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | autocorr-af | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-bg | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-ca | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-cs | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-da | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-de | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-en | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-es | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-fa | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-fi | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-fr | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-ga | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-hr | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-hu | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-is | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-it | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-ja | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-ko | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-lb | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-lt | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-mn | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-nl | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-pl | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
| AlmaLinux:8 | autocorr-pt | before 1:6.4.7.2-10.el8.alma | 1:6.4.7.2-10.el8.alma |
+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 59Plan
- CVE-2018-10583An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache OpenOffice Writer 4.1.5 automatically process and initiate 54Plan
- CVE-2019-9848LibreOffice has a feature where documents can specify that pre-installed scripts can be executed on various document events such as mouse-ov48Plan
- CVE-2018-6871LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary files via =WEBSERVICE calls in a document, which use46Plan
- CVE-2023-1183Arbitrary file write41Plan
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 |
|---|---|---|
| almalinux:autocorr-af | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-bg | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-ca | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-cs | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-da | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-de | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-en | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-es | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-fa | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-fi | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-fr | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| almalinux:autocorr-ga | 1:6.4.7.2-10.el8.alma · AlmaLinux:8 | Package registry (OSV) |
| debian:libreoffice | 1:7.2.0-2 · Debian:12 | Package registry (OSV) |
| red hat:autocorr-af | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-bg | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-ca | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-cs | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-da | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-de | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-en | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-es | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-fa | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-fi | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-fr | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:autocorr-ga | 1:6.4.7.2-10.el8 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| rocky linux:libreoffice | 1:6.4.7.2-10.el8 · Rocky Linux:8 | 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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- NDSRuhr University Bochum
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- none
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- None
Weakness class (CWE)
CWE-295 · Improper Certificate ValidationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
nvd-primary
Root cause
A certificate validation error is silently swallowed instead of terminating the connection. Often, code added for a test environment makes its way into production.
The bug in code
The whole CWE-295 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
override fun checkServerTrusted(chain: Array<X509Certificate>, type: String) { // Left empty for the test environment}Fixed
val client = OkHttpClient.Builder() .certificatePinner( CertificatePinner.Builder() .add("api.sirius.example", "sha256/…") .build() ).build()Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
ATT&CK techniques
—
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- www.debian.org/security/2021/dsa-4988
- www.libreoffice.org/about-us/security/advisories/CVE-2021-25633
Vendor advisories and official records. Exploit/PoC links are deliberately left out.