Vulnerability Details : 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.
Vulnerability category: OverflowMemory Corruption
Products affected by CVE-2021-36978
- cpe:2.3:a:qpdf_project:qpdf:*:*:*:*:*:*:*:*
- cpe:2.3:a:qpdf_project:qpdf:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-36978
0.10%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 41 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-36978
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
4.3
|
MEDIUM | AV:N/AC:M/Au:N/C:N/I:N/A:P |
8.6
|
2.9
|
NIST | |
5.5
|
MEDIUM | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
1.8
|
3.6
|
NIST |
CWE ids for CVE-2021-36978
-
The product writes data past the end, or before the beginning, of the intended buffer.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-36978
-
https://github.com/qpdf/qpdf/issues/492
Heap-use-after-free in `Pl_ASCII85Decoder::write` · Issue #492 · qpdf/qpdf · GitHub
-
https://github.com/qpdf/qpdf/commit/dc92574c10f3e2516ec6445b88c5d584f40df4e5
Fix some pipelines to be safe if downstream write fails (fuzz issue 2… · qpdf/qpdf@dc92574 · GitHubPatch;Third Party Advisory
-
https://lists.debian.org/debian-lts-announce/2023/08/msg00037.html
[SECURITY] [DLA 3548-1] qpdf security update
-
https://github.com/google/oss-fuzz-vulns/blob/main/vulns/qpdf/OSV-2020-2245.yaml
oss-fuzz-vulns/OSV-2020-2245.yaml at main · google/oss-fuzz-vulns · GitHubThird Party Advisory
-
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28262
28262 - qpdf:qpdf_fuzzer: Heap-buffer-overflow in Pl_ASCII85Decoder::write - oss-fuzzPatch;Third Party Advisory
-
https://security.gentoo.org/glsa/202401-20
QPDF: Buffer Overflow (GLSA 202401-20) — Gentoo security
Jump to