CVE-2021-36978
CVE-2021-36978 is a medium-severity vulnerability in Qpdf Project Qpdf with a CVSS 3.x base score of 5.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-787.
Key facts
- Severity: Medium (CVSS 3.x base score 5.5)
- CVSS v2: 4.3
- EPSS exploit prediction: 1% (66th percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-787
- Affected product: Qpdf Project Qpdf
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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 downstream write fails.
- How severe is CVE-2021-36978?
- CVE-2021-36978 has a CVSS 3.x base score of 5.5, rated medium severity. It is exploitable over local access with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2021-36978 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (66th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2021-36978?
- CVE-2021-36978 affects Qpdf Project Qpdf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2021-36978?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2021-36978 published?
- CVE-2021-36978 was published on 2021-07-20 and last updated on 2026-06-17.
References
- https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28262
- https://github.com/google/oss-fuzz-vulns/blob/main/vulns/qpdf/OSV-2020-2245.yaml
- https://github.com/qpdf/qpdf/commit/dc92574c10f3e2516ec6445b88c5d584f40df4e5
- https://github.com/qpdf/qpdf/issues/492
- https://lists.debian.org/debian-lts-announce/2023/08/msg00037.html
- https://security.gentoo.org/glsa/202401-20
Affected products (1)
- cpe:2.3:a:qpdf_project:qpdf:*:*:*:*:*:*:*:*
More vulnerabilities in Qpdf Project Qpdf
- CVE-2018-9918 — High (CVSS 7.8): libqpdf.a in QPDF through 8.0.2 mishandles certain "expected dictionary key but found non-name object" cases, allowing…
- CVE-2017-12595 — High (CVSS 7.8): The tokenizer in QPDF 6.0.0 and 7.0.b1 is recursive for arrays and dictionaries, which allows remote attackers to cause…
- CVE-2022-34503 — Medium (CVSS 6.5): QPDF v8.4.2 was discovered to contain a heap buffer overflow via the function QPDF::processXRefStream. This…
- CVE-2024-24246 — Medium (CVSS 5.5): Heap Buffer Overflow vulnerability in qpdf 11.9.0 allows attackers to crash the application via the…
- CVE-2017-18186 — Medium (CVSS 5.5): An issue was discovered in QPDF before 7.0.0. There is an infinite loop due to looping xref tables in QPDF.cc.
- CVE-2017-18185 — Medium (CVSS 5.5): An issue was discovered in QPDF before 7.0.0. There is a large heap-based out-of-bounds read in the Pl_Buffer::write…
All CVEs affecting Qpdf Project Qpdf →
Other CWE-787 (Out-of-bounds Write) vulnerabilities
- CVE-2026-42369 — Critical (CVSS 10.0): GV-VMS V20 is a Video Monitoring Software used to gather the feeds of many surveillance cameras and manage other…
- CVE-2026-4746 — Critical (CVSS 10.0): Out-of-bounds Write vulnerability in timeplus-io proton (base/poco/Foundation/src modules). This vulnerability is…
- CVE-2025-43300 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved bounds checking. This issue is fixed in iOS 15.8.5 and iPadOS…
- CVE-2025-24201 — Critical (CVSS 10.0): An out-of-bounds write issue was addressed with improved checks to prevent unauthorized actions. This issue is fixed in…
- CVE-2024-42479 — Critical (CVSS 10.0): llama.cpp provides LLM inference in C/C++. The unsafe `data` pointer member in the `rpc_tensor` structure can cause…
- CVE-2024-39791 — Critical (CVSS 10.0): Stack-based buffer overflow vulnerabilities affecting Vonets industrial wifi bridge relays and wifi bridge…