REDHAT-BUG-2548222: Buffer Overflow
Poppler 0.42.0 through 26.10.0 contains a stack-based buffer overflow in Decrypt::revision6Hash() that allows attackers controlling the password to overwrite stack memory when opening AESV3/R6 encrypted PDFs. Attackers can supply a password longer than 127 bytes through applications using the libpoppler, libpoppler-glib or C++ API to overflow the K1 and E buffers, crashing the process or corrupting memory.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Applications that use libpoppler, libpoppler-glib, or the Poppler C++ API to open AESV3/R6-encrypted PDFs are exposed when an attacker can control the password supplied to the document.
What does an attacker need to trigger the overflow?
The attacker needs to cause the application to open an AESV3/R6-encrypted PDF and provide a password longer than 127 bytes. The overlong password can overflow the K1 and E stack buffers in Decrypt::revision6Hash().
What is the likely impact of successful exploitation?
The reported effects are process crashes or memory corruption caused by overwriting stack memory. The provided information does not establish further impact beyond those outcomes.