Back to the blog

LibreOffice: overflow when parsing embedded PNG images in PDFs

An advisory reports a vulnerability in LibreOffice that could allow code execution when a PDF containing a specific PNG image is processed. User action is required to exploit it; LibreOffice has released a corrective update.

Analysis

The advisory describes a vulnerability in the parsing of PNG images contained in PDF files. Improper validation of user-supplied data can cause an integer overflow before a memory write.