Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-6040— Heap use-after-free in ODF number-format blank-width parsing

CVSS 5.4 · Medium EPSS 0.11% · P2

Possible ATT&CK Techniques 1AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 2

VendorProductVersion RangeStatus
The Document FoundationLibreOffice25.8< < 25.8.7affected
26.2< < 26.2.3affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-6040

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Heap use-after-free in ODF number-format blank-width parsing
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
释放后使用
Source: CVE Program / CVE List V5
Vulnerability Title
The Document Foundation LibreOffice 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
The Document Foundation LibreOffice是The Document Foundation的办公套件。 The Document Foundation LibreOffice存在安全漏洞,该漏洞源于在导入ODF数字格式的空格字符时存在堆释放后重用问题,未检查文件中读取的位置值是否超出格式码字符串长度,导致畸形数字格式可能处理字符串外部的内存。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
The Document FoundationLibreOffice 25.8 ~ < 25.8.7 -

II. Public POCs for CVE-2026-6040

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-6040

登录查看更多情报信息。

Vendor Advisories for CVE-2026-6040 (1)

Same Patch Batch · The Document Foundation · 2026-06-15 · 7 CVEs total

CVE-2026-83575.4 MEDIUMHeap buffer overflow in Calc formula compilation
CVE-2026-6039Heap buffer overflow in DXF polyline import
CVE-2026-6047Heap buffer overflow in OOXML text box element import
CVE-2026-6045Heap buffer overflow in EMF+ gradient brush import
CVE-2026-8358Heap buffer overflow in spreadsheet tracked-changes import
CVE-2026-8356Stack buffer overflow in PPT presentation import

IV. Related Vulnerabilities

V. Comments for CVE-2026-6040

No comments yet


Leave a comment