{"id":"CVE-2026-6040","aliases":["CVE-2026-6040"],"related":[],"kind":"vulnerability","state":"published","title":"Heap use-after-free in ODF number-format blank-width parsing","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Existía un uso después de liberación en el heap al importar los caracteres de ancho en blanco de un formato de número ODF. Un valor de posición leído del documento no se comprobaba con respecto a la longitud de la cadena de código de formato, por lo que un formato de número malformado podría procesarse contra memoria fuera de esa cadena. En las versiones corregidas, la posición se comprueba en los límites antes de su uso.","source":"nvd"}],"published":"2026-06-15T16:21:53.903Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"Document Fdn.","scheme":"CVSS:4.0","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","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"Document Fdn.","scheme":"CVSS:4.0","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","score":5.4,"rating":"MEDIUM"},{"scorer":"redhat-SADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","score":7.3,"rating":"HIGH"}],"cwes":["CWE-416","CWE-787","CWE-825"],"affected":[{"ranges":[{"type":"25.8 series","introduced":"25.8","fixed":"< 25.8.7","status":"affected"},{"type":"26.2 series","introduced":"26.2","fixed":"< 26.2.3","status":"affected"}],"vendor":"The Document Foundation","product":"LibreOffice","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 6","package":"libreoffice","cpe":"cpe:/o:redhat:enterprise_linux:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 7","package":"libreoffice","cpe":"cpe:/o:redhat:enterprise_linux:7","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 8","package":"libreoffice","cpe":"cpe:/o:redhat:enterprise_linux:8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Enterprise Linux 9","package":"libreoffice","cpe":"cpe:/o:redhat:enterprise_linux:9","source":"cvelist"}],"references":[{"url":"https://www.libreoffice.org/about-us/security/advisories/cve-2026-6040","tags":[],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-6040","tags":["vdb-entry","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2488966","tags":["issue-tracking","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-6040.json","tags":["x-sadp-csaf-vex"],"sources":["cvelist","nvd"]}],"credits":["Anthropic (automated discovery using Claude)","Trail of Bits (triage and validation)"],"assigner":"Document Fdn.","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-15T18:14:24.996Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-6040","url":"https://www.cve.org/CVERecord?id=CVE-2026-6040","licence":"CVE Terms of Use","modified":"2026-07-23T12:08:09.144Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-6040","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-6040","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"}],"updatedAt":"2026-11-25T22:59:24.645Z","epss":{"score":0.00159,"percentile":0.05313,"date":"2026-12-01T12:00:22.000Z"}}