Heap buffer overflow in PDF import encryption 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 an encrypted document. The length of the decryption key was taken from the document's own encryption dictionary and was used to fill a fixed size key buffer without being checked against it, so a length larger than that buffer wrote past its end. In fixed versions a declared key length larger than the buffer is rejected.
From the CVE record · Document Fdn.