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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-6045— Heap buffer overflow in EMF+ gradient brush import

Quick assessment

Affected
The Document Foundation LibreOffice
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

The Document Foundation LibreOffice是The Document Foundation的办公套件。 The Document Foundation LibreOffice存在安全漏洞,该漏洞源于导入EMF+渐变画笔时存在堆缓冲区溢出,渐变混合点数从文件中读取并用于计算分配大小,但乘法可能溢出,导致分配小缓冲区后超限写入。

CVSS 5.4 · Medium EPSS 0.17% · P5

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 2

VendorProduct Version RangeStatus
The Document Foundation LibreOffice 25.8< < 25.8.7 affected
26.2< < 26.2.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-6045

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 buffer overflow in EMF+ gradient brush import
Source: CVE Program / CVE List V5
Vulnerability Description
LibreOffice can import EMF+ graphics, which may be embedded in documents. A heap buffer overflow existed when importing an EMF+ gradient brush. The number of gradient blend points was read from the file and used to compute an allocation size, but that multiplication could overflow, so a small buffer was allocated and then filled as if it were large, writing past its end. In fixed versions the blend-point count is checked against the data actually available before allocating.
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存在安全漏洞,该漏洞源于导入EMF+渐变画笔时存在堆缓冲区溢出,渐变混合点数从文件中读取并用于计算分配大小,但乘法可能溢出,导致分配小缓冲区后超限写入。
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

Vendor Product Affected Versions CPE Subscribe
The Document Foundation LibreOffice 25.8 ~ < 25.8.7 -

II. Public POCs for CVE-2026-6045

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-6045

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-6045 (1)

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

CVE-2026-6040 5.4 MEDIUM Heap use-after-free in ODF number-format blank-width parsing
CVE-2026-8357 5.4 MEDIUM Heap buffer overflow in Calc formula compilation
CVE-2026-6039 Heap buffer overflow in DXF polyline import
CVE-2026-6047 Heap buffer overflow in OOXML text box element import
CVE-2026-8358 Heap buffer overflow in spreadsheet tracked-changes import
CVE-2026-8356 Stack buffer overflow in PPT presentation import

IV. Related Vulnerabilities

V. Comments for CVE-2026-6045

No comments yet


Leave a comment