Skip to main content
← All vulnerabilities
CVE-2026-6040

Heap use-after-free in ODF number-format blank-width parsing

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in < 25.8.7, < 26.2.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • The Document Foundation LibreOffice

    From 25.8 · fixed in < 25.8.7; From 26.2 · fixed in < 26.2.3

References 1

libreoffice.org