CVE-2021-21859
NixOS vulnerability analysis and mitigation

Overview

An exploitable integer truncation vulnerability exists within the MPEG-4 decoding functionality of the GPAC Project on Advanced Content library v1.0.1. The vulnerability is specifically in the striboxread function when processing atoms using the 'stri' FOURCC code. The vulnerability was discovered and disclosed in August 2021 (Talos Intelligence).

Technical details

The vulnerability occurs in the striboxread function when processing MPEG-4 atoms. The function takes a 64-bit atom size and divides it by four to determine the number of attributes. When allocating memory for these attributes, an integer overflow can occur, resulting in a zero-sized allocation. The function then attempts to write into this undersized buffer, causing a heap-based buffer overflow and memory corruption. The vulnerability has been assigned a CVSSv3 score of 8.8 (AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H) (Talos Intelligence).

Impact

If successfully exploited, this vulnerability could lead to memory corruption and potentially allow for arbitrary code execution under the context of the application. An attacker can trigger this vulnerability by convincing a user to open a specially crafted video file (NVD).

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 encouraged to upgrade their GPAC installations to the latest version. The oldstable distribution (buster) is not affected by this vulnerability (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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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