Skip to content

Latest commit

 

History

History

poppler-CVE-2025-52886

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Proof of concept for poppler CVE-2025-52886

CVE-2025-52886 is a use-after-free vulnerability in poppler, caused by a reference count overflow. Reference counting was done with a 32-bit counter, which meant it was feasible to overflow the counter. In my testing, it took approximately 12 hours to overflow the counter though, so the risk of exploitation was low.

This directory contains the code for building the proof-of-concept. To run it:

make
./pdfgen > poc.pdf

Notice that the size of the generated PDF is only 3104 bytes. Now try to either open the PDF or run a command line application like pdftohtml on it.

Links: