CVE-2021-21847
NixOS vulnerability analysis and mitigation

Overview

A critical vulnerability (CVE-2021-21847) was discovered in the GPAC Project on Advanced Content library v1.0.1. The vulnerability exists within the MPEG-4 decoding functionality, specifically in the "stts" decoder. When processing a specially crafted MPEG-4 input, an integer overflow can occur due to unchecked arithmetic operations, resulting in a heap-based buffer overflow that causes memory corruption. This vulnerability was disclosed on August 16, 2021 (Talos Report).

Technical details

The vulnerability is caused by an integer overflow in the "stts" decoder component of the GPAC library. When processing MPEG-4 content, the library performs arithmetic operations without proper boundary checks, which can lead to a heap-based buffer overflow. The vulnerability has been assigned a CVSSv3 score of 8.8 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H), indicating high severity with potential for remote exploitation requiring user interaction (Talos Report).

Impact

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code under the context of the library. The attacker could achieve this by convincing a user to open a specially crafted video file, potentially leading to complete system compromise with the same privileges as the application using the GPAC library (Talos Report).

Mitigation and workarounds

The vulnerability has been addressed in subsequent versions of the GPAC library. Users of affected versions should upgrade to a patched version. For Debian systems, the fix has been included in version 1.0.1+dfsg1-4+deb11u1 for the bullseye distribution (Debian Advisory).

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-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox-x11
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 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