Heap buffer overflow in PDF import stream handling
The Document Foundation LibreOffice
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| The Document Foundation LibreOffice |
| No fix yet |
Original 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.
From the CVE record · Document Fdn.