CVE-2021-36978
NixOS vulnerability analysis and mitigation

Overview

QPDF versions 9.x through 9.1.1 and 10.x through 10.0.4 were found to contain a heap-based buffer overflow vulnerability in the Pl_ASCII85Decoder::write function, which is called from Pl_AES_PDF::flush and Pl_AES_PDF::finish when a certain downstream write fails. The vulnerability was discovered in 2020 and assigned CVE-2021-36978 (NVD, MITRE).

Technical details

The vulnerability is classified as a heap-based buffer overflow (CWE-787: Out-of-bounds Write) that occurs in the Pl_ASCII85Decoder::write function. The issue manifests when the function is called from Pl_AES_PDF::flush and Pl_AES_PDF::finish operations and a downstream write operation fails. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability could lead to a heap-based buffer overflow condition, potentially resulting in program crashes or arbitrary code execution. The CVSS scoring indicates that while the vulnerability requires local access and user interaction, it could result in high impact on system availability (NVD, Gentoo).

Exploitability

The vulnerability was discovered through fuzzing, as evidenced by the OSS-Fuzz issue report. A proof-of-concept exploit has been documented that demonstrates the heap-buffer-overflow condition when processing specific PDF content (OSS-Fuzz, GitHub Issue).

Mitigation and workarounds

The vulnerability has been fixed in QPDF version 10.1.0. Users are advised to upgrade to this version or later. Various distributions have also released security updates, including Debian with version 8.4.0-2+deb10u1 and Gentoo recommending version 10.1.0 or higher (Debian LTS, Gentoo).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox-branding-upstream
NoYesAug 18, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management