CVE-2026-84234: Out-of-bounds write in PDF import of masked images
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.
Affected Software
Event History
Frequently Asked Questions
What user action is required for exploitation?
A user must open a crafted PDF in LibreOffice Draw so that the PDF import process converts the PDF page and its masked image into editable drawing objects.
Which PDF content triggers the vulnerable code path?
The issue is triggered during conversion of an image that includes a transparency mask. Crafted image positions that are not validated against the image buffer size can cause the out-of-bounds write.
What changes in fixed versions mitigate the issue?
Fixed versions limit the image size and check each mask-pixel position before writing it to the image buffer.