CVE-2021-21841
NixOS vulnerability analysis and mitigation

Overview

An exploitable integer overflow vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. The vulnerability was discovered and disclosed in August 2021. When reading an atom using the "sbgp" FOURCC code, the function can experience an integer overflow due to unchecked arithmetic resulting in a heap-based buffer overflow that causes memory corruption (Talos Intelligence).

Technical details

The vulnerability occurs in the MPEG-4 decoding functionality when parsing atoms within the container. The library reads fields from the atom's contents and uses them to calculate boundaries, explicitly trusting these fields to calculate heap-buffer sizes. Due to unchecked arithmetic, this can result in an integer overflow or truncation leading to an undersized heap allocation. When the library later attempts to read the atom's contents into this buffer, a heap-based buffer overflow occurs. The vulnerability has a CVSS v3.0 score of 8.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) (Talos Intelligence).

Impact

A successful exploit could allow an attacker to cause memory corruption leading to code execution under the context of the library. The vulnerability affects confidentiality, integrity and availability with high severity ratings (Talos Intelligence).

Mitigation and workarounds

The vulnerability has been fixed in GPAC version 1.0.1+dfsg1-4+deb11u1 for Debian's stable distribution (bullseye). Users are recommended to upgrade their GPAC packages to the patched version (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-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20806MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20805MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20804MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2025-20803MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 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