Heap buffer overflow in PDF import stream handling (The Document Foundation LibreOffice)

CVE-2026-63274
MEDIUM 5.4

At a glance

Source
NVD
EPSS
EPSS 0.20 % Β· percentile 9 ()
State
PUBLISHED
Published
Updated
Assigner
Document Fdn.
NVD status
Deferred

Description

LibreOffice Draw can import PDF documents. A heap buffer overflow existed when importing a stream object. The length of the stream was taken from the object's own dictionary and was not checked against the number of bytes actually present, so copying the stream read and wrote past the end of the buffer holding it. In fixed versions the declared length is clamped to the bytes actually read.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 4.0MEDIUM 5.4CVSS: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:PDocument Fdn.
CVSS 4.0MEDIUM 5.4CVSS: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:XNVD Β· security@documentfoundation.org (Secondary)

European references

Affected products

ProductVersions
The Document Foundation Β· LibreOfficeaffected 26.2 < < 26.2.5

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST β€” attribution requested
ENISA EUVDENISA β€” reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain β€” this product uses data from the NVD API but is not endorsed or certified by the NVD