CVE-2019-9959: Integer Overflow
The JPXStream::init function in Poppler 0.78.0 and earlier doesn't check for negative values of stream length, leading to an Integer Overflow, thereby making it possible to allocate a large memory chunk on the heap, with a size controlled by an attacker, as demonstrated by pdftocairo.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/popplerto a version that resolves this vulnerability.Fixed in 0.79
Event History
Frequently Asked Questions
What is the vulnerability ID for this vulnerability?
The vulnerability ID for this vulnerability is CVE-2019-9959.
What is the severity rating of CVE-2019-9959?
CVE-2019-9959 has a severity rating of 6.5 (medium).
How does the vulnerability in Poppler occur?
The vulnerability in Poppler occurs due to the JPXStream::init function not checking for negative values of stream length.
What is the impact of the CVE-2019-9959 vulnerability?
The CVE-2019-9959 vulnerability allows an attacker to allocate a large memory chunk on the heap, leading to an integer overflow.
Is there a fix available for CVE-2019-9959?
Yes, a fix is available for CVE-2019-9959 in version 0.79 of Poppler.