CVE-2021-21848
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-21848 is a vulnerability discovered in the GPAC Project on Advanced Content library v1.0.1. The vulnerability exists within the MPEG-4 decoding functionality, specifically in the 'stz2' decoder. An attacker can exploit this vulnerability by convincing a user to open a specially crafted video file (Talos Intelligence).

Technical details

The vulnerability is classified as an integer overflow that leads to a buffer overflow (CWE-680). The library reuses the parser for atoms with the 'stsz' FOURCC code when parsing atoms that use the 'stz2' decoder. When processing these atoms, the library may miscalculate buffer sizes due to integer overflow or truncation, resulting in an undersized heap allocation. This can lead to a heap-based buffer overflow when the library attempts to read the atom's contents (Talos Intelligence).

Impact

A successful exploitation of this vulnerability can result in memory corruption and potentially lead to code execution under the context of the library. The vulnerability has been assigned a CVSS v3.0 score of 8.8 (High), indicating significant potential impact on confidentiality, integrity, and availability (Talos Intelligence).

Mitigation and workarounds

The vulnerability has been addressed in security updates. Users of affected systems should upgrade to patched versions. For Debian systems, the fix is available in version 1.0.1+dfsg1-4+deb11u1 (Debian Security).

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-2025-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-65799MEDIUM4.3
  • NixOSNixOS
  • memos
NoYesDec 08, 2025

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