A vulnerability, which was classified as critical, was found in PoDoFo 0.10.0. Affected is the function readXRefStreamEntry of the file PdfXRefStreamParserObject.cpp. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. The patch is identified as 535a786f124b739e3c857529cecc29e4eeb79778. It is recommended to apply a patch to fix this issue. VDB-227226 is the identifier assigned to this vulnerability.
A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
The product writes data past the end, or before the beginning, of the intended buffer.
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow.
Link | Tags |
---|---|
https://vuldb.com/?id.227226 | vdb entry third party advisory technical description |
https://vuldb.com/?ctiid.227226 | third party advisory permissions required signature |
https://github.com/podofo/podofo/issues/69 | issue tracking exploit third party advisory |
https://github.com/podofo/podofo/files/11260976/poc-file.zip | exploit |
https://github.com/podofo/podofo/commit/535a786f124b739e3c857529cecc29e4eeb79778 | patch |