CVE-2022-30976
NixOS vulnerability analysis and mitigation

Overview

GPAC 2.0.0 contains a heap-based buffer over-read vulnerability in the utf8wcslen (renamed to gfutf8_wcslen) function located in utils/utf.c. The vulnerability was discovered and disclosed on April 25, 2022 (GitHub Issue). The affected component is the Unicode string length calculation function used by the GPAC multimedia framework.

Technical details

The vulnerability exists in the gfutf8wcslen function at line 442 of utils/utf.c. The function performs a buffer over-read when calculating the length of Unicode strings. This can be triggered through the MP4Box tool when processing certain malformed files. The issue was identified using Address Sanitizer (ASan) which detected a heap-buffer-overflow at address 0x6020000011d6, reading 2 bytes beyond a 6-byte allocated region (GitHub Issue).

Impact

When exploited, this vulnerability can lead to a heap buffer overflow condition, potentially allowing an attacker to cause program crashes or potentially execute arbitrary code through carefully crafted input files. The vulnerability affects the core functionality of GPAC's Unicode string handling (NVD).

Mitigation and workarounds

The issue was introduced in GPAC 2.0.0. Users should upgrade to a patched version of GPAC. The fix for CVE-2022-30976 was implemented, though it should be noted that the fix itself later introduced another vulnerability tracked as CVE-2022-3178 (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