CVE-2026-6040

medium

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.

References

https://www.libreoffice.org/about-us/security/advisories/cve-2026-6040

https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6040.json

https://bugzilla.redhat.com/show_bug.cgi?id=2488966

https://access.redhat.com/security/cve/CVE-2026-6040

Details

Source: Mitre, NVD

Published: 2026-06-15

Updated: 2026-06-30

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:L/AC:L/Au:S/C:C/I:C/A:C

Severity: Medium

CVSS v3

Base Score: 7.3

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 6.9

Vector: 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

Severity: Medium

EPSS

EPSS: 0.00117