VDB

CVE-2026-6040

CVE-2026-6040 PUBLISHED CVSS 5.4 MEDIUM

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

Reported by document fdn. · Published June 15, 2026

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
LibreOfficeThe Document Foundation< 26.2.3, < 25.8.7

Risk scores

CVSS 4.0
5.4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:H/SC:N/SI:N/SA:N/E:P

Affected products

VendorProductVersions
The Document FoundationLibreOffice25.8, 26.2
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat Enterprise Linux 9
The Document FoundationLibreOffice25.8, 26.2
Red HatRed Hat Enterprise Linux 6
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 7

Timeline

  • Jun 15, 2026 CVE Published
  • Jun 16, 2026 EPSS Score (9 in total, the first dated here)
  • Jun 16, 2026 Coalition ESS Score
  • Jun 17, 2026 Security Advisory (10 in total, the first dated here)
  • Aug 11, 2026 Distribution Patch (10 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-6040
vulnetix vdb fixes CVE-2026-6040

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-6040/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›