CVE-2025-48174
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-48174 affects libavif versions before 1.3.0, where an integer overflow vulnerability exists in the makeRoom function within stream.c. The vulnerability was discovered and disclosed on May 16, 2025. The vulnerability has been assigned a CVSS v3.1 base score of 4.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:L (NVD, Wiz).

Technical details

The vulnerability stems from an integer overflow condition in the makeRoom function of stream.c, specifically in the calculation of stream->offset+size. When stream->offset or size is very large, the calculation may cause an integer overflow, resulting in an abnormally small neededSize. This can lead to an incorrect newSize and insufficient buffer allocation, which may subsequently cause a buffer overflow during the memcpy operation (GitHub PR).

Impact

When exploited, this vulnerability could lead to buffer overflow conditions due to insufficient memory allocation caused by the integer overflow. This could potentially result in limited impact on system integrity and availability (Wiz).

Mitigation and workarounds

The vulnerability has been fixed in libavif version 1.3.0. The fix includes adding proper integer overflow checks to the makeRoom function to prevent the overflow condition. Users are advised to upgrade to version 1.3.0 or later (GitHub Commit).

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