Read the docs

Out-of-bounds write in LibreOffice PDF import of masked images

Priority MEDIUM 40CWE-190Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
Low · Low · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA.

Summary

LibreOffice from 26.2 before 26.2.7 and from 26.8 before 26.8.1 is affected. When LibreOffice Draw converts an image with a transparency mask during PDF import, positions taken from a crafted image are not checked against the image buffer size, which causes an out-of-bounds write (CWE-787). An attacker needs a local user to open a crafted PDF file, and the write can affect confidentiality, integrity and availability.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

Description from the CNA

LibreOffice can open PDF files in Draw, where the PDF import converts each page into drawing objects that can be edited. Images in the PDF, including images with a transparency mask, are converted along the way. An out-of-bounds write existed when an image with a transparency mask was converted, because positions taken from a crafted image were not checked against the size of the image buffer. In fixed versions the image size is limited, and the position of each mask pixel is checked before it is written.

Why it matters now

Fix Fixed LibreOffice (The Document Foundation): < 26.2.7, < 26.8.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
The Document FoundationLibreOffice26.2 to before < 26.2.7; 26.8 to before < 26.8.1< 26.2.7, < 26.8.1Patch availableCNA
  • LibreOffice VendorThe Document Foundation Affected 26.2 to before < 26.2.7; 26.8 to before < 26.8.1 Fixed in < 26.2.7, < 26.8.1 Patch available CNA

Remediation

Upgrade LibreOffice to 26.2.7 or 26.8.1. The fixed versions limit the image size and check the position of each mask pixel before it is written.

Written with Claude Haiku 5.5 from the sources below · 2026-11-16

  • Fix · CNA LibreOffice (The Document Foundation) Fixed in < 26.2.7, < 26.8.1

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    The Document Foundation LibreOffice < 26.2.7, < 26.8.1

    3 records Highest priority Priority MEDIUM 2 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-92207 Arbitrary file write in LibreOffice Writer DOCX exportPriority MEDIUM 45
    • TI-2026-92203 Linked background image fetched despite stealth mode in LibreOfficePriority LOW 22

Timeline

  1. 2026-11-16 Threatist record created from CVE-2026-84234
  2. 2026-11-16 Alias added: GHSA-ghmq-62hw-62j8

References

  • TI-2019-07233 LibreLogo global-event script execution CVSS 3.1CRITICAL 9.8
  • TI-2018-12068 Path traversal in [UNKNOWN] libreoffice CVSS 3.0CRITICAL 9.8
  • TI-2018-07474 An information disclosure vulnerability occurs when LibreOffice 6.0.3 and Apache… CVSS 3.0HIGH 7.5
  • TI-2019-07230 Code injection in Document Foundation LibreOffice CVSS 3.1CRITICAL 9.8
  • TI-2018-05018 LibreOffice before 5.4.5 and 6.x before 6.0.1 allows remote attackers to read arbitrary… CVSS 3.0CRITICAL 9.8
  • TI-2023-01118 Arbitrary file write in libreoffice CVSS 3.1MEDIUM 5.5
See all 117 →

Sources