Medium severity · published Jul 20, 2021
CVE-2021-36978
QPDF 9.x through 9.1.1 and 10.x through 10.0.4 has a heap-based buffer overflow in Pl_ASCII85Decoder::write (called from Pl_AES_PDF::flush and Pl_AES_PDF::finish) when a certain…
5.5
CVSS
1.3%
EPSS
No
On KEV
Description
QPDF 9.x through 9.1.1 and 10.x through 10.0.4 has a heap-based buffer overflow in Pl_ASCII85Decoder::write (called from Pl_AES_PDF::flush and Pl_AES_PDF::finish) when a certain downstream write fails.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
QP
Qpdf · Qpdf Project
9.0.0 through 9.1.1; 10.0.0 through 10.0.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-36978
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-36978
Patch
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28262
Third Party Advisory
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/qpdf/OSV-2020-2245.yaml
Patch
https://github.com/qpdf/qpdf/commit/dc92574c10f3e2516ec6445b88c5d584f40df4e5
github.com
https://github.com/qpdf/qpdf/issues/492
lists.debian.org
https://lists.debian.org/debian-lts-announce/2023/08/msg00037.html
security.gentoo.org
https://security.gentoo.org/glsa/202401-20
More from Qpdf
7.8
CVE-2018-9918
libqpdf.a in QPDF through 8.0.2 mishandles certain "expected dictionary key but found non-name object" cases, allowing remote attackers to cause a denial of service (stack…
7.8
CVE-2017-12595
The tokenizer in QPDF 6.0.0 and 7.0.b1 is recursive for arrays and dictionaries, which allows remote attackers to cause a denial of service (stack consumption and segmentation…
6.5
CVE-2022-34503
QPDF v8.4.2 was discovered to contain a heap buffer overflow via the function QPDF::processXRefStream
5.5
CVE-2024-24246
Heap Buffer Overflow vulnerability in qpdf 11.9.0 allows attackers to crash the application via the std::__shared_count() function at /bits/shared_ptr_base.h
5.5
CVE-2017-18186
An issue was discovered in QPDF before 7.0.0
