{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-6040","id":"CVE-2026-6040","title":"Heap use-after-free in ODF number-format blank-width parsing","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.","descriptionLong":"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.","published":"2026-06-15T16:21:53.903Z","updated":"2026-10-25T23:10:00.167Z","reserved":"2026-04-09T16:42:11.799Z","status":"Deferred","rejected":false,"assigner":"Document Fdn.","metric":{"version":"4.0","score":5.4,"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/E:P","rating":"medium","source":"Document Fdn."},"metrics":[{"version":"4.0","score":5.4,"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/E:P","rating":"medium","source":"Document Fdn."},{"version":"4.0","score":5.4,"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/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"documentfoundation.org"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"0b0ca135-0b70-47e7-9f44-1890c2a1c46c"},{"version":"3.1","score":7.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","rating":"high","source":"redhat-SADP"}],"rating":"medium","products":["The Document Foundation LibreOffice"],"affectedProducts":[{"vendor":"The Document Foundation","product":"LibreOffice","defaultStatus":"unknown","versions":[{"status":"affected","version":"25.8","lessThan":"< 25.8.7","versionType":"25.8 series"},{"status":"affected","version":"26.2","lessThan":"< 26.2.3","versionType":"26.2 series"}],"platforms":[]}],"packages":[],"cwes":["CWE-416","CWE-787","CWE-825"],"aliases":[],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2026-6040","tags":[]},{"url":"https://access.redhat.com/security/cve/CVE-2026-6040","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2488966","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6040.json","tags":["x_sadp-csaf-vex"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00159,"epssPercentile":0.05113,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-6040","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6040","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-6040","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-6040","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}