Vulnerability Description
A heap use-after-free existed when importing the blank-width characters of an ODF number format. A position value read from the document was not checked against the length of the format-code string, so a malformed number format could be processed against memory outside that string. In fixed versions the position is bounds-checked before use.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://www.libreoffice.org/about-us/security/advisories/cve-2026-6040
- https://access.redhat.com/security/cve/CVE-2026-6040
- https://bugzilla.redhat.com/show_bug.cgi?id=2488966
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6040.json
FAQ
What is CVE-2026-6040?
CVE-2026-6040 is a vulnerability with a CVSS score of 7.3 (HIGH). A heap use-after-free existed when importing the blank-width characters of an ODF number format. A position value read from the document was not checked against the length of the format-code string, s...
How severe is CVE-2026-6040?
CVE-2026-6040 has been rated HIGH with a CVSS base score of 7.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-6040?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.