CVE-2021-21834
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. A specially crafted MPEG-4 input when decoding the atom for the "co64" FOURCC can cause 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 co64boxread function when processing the "co64" FOURCC atom. The function reads a 32-bit integer for nbentries and performs a size check against the input size, which is insufficient as the input size is 64-bit. The number of entries is then multiplied by the size of u64, which can result in an integer overflow on 32-bit platforms, leading to an undersized buffer allocation. When populating the array, this causes a write outside the buffer bounds (Talos Intelligence). 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) ([Talos Intelligence](https://talosintelligence.com/vulnerabilityreports/TALOS-2021-1297)).

Impact

If exploited, this vulnerability can lead to memory corruption and potential code execution under the context of the library. An attacker can trigger this vulnerability by convincing a user to open a specially crafted video file (Talos Intelligence).

Mitigation and workarounds

For the Debian stable distribution (bullseye), these problems have been fixed in version 1.0.1+dfsg1-4+deb11u1. Users are recommended to upgrade their gpac packages (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-14330CRITICAL9.8
  • NixOSNixOS
  • rhel10::firefox-flatpak
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14332HIGH7.3
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • rhel10::thunderbird-flatpak
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