CVE-2025-48175
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-48175 affects libavif versions before 1.3.0, specifically in the avifImageRGBToYUV function within reformat.c. The vulnerability was discovered in May 2025 and involves integer overflow vulnerabilities in multiplications involving rgbRowBytes, yRowBytes, uRowBytes, and vRowBytes variables. The issue has been assigned a CVSS 3.1 Base Score of 4.5 (MEDIUM) with a vector of 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 integer overflow issues in the avifImageRGBToYUV function where multiplications involving rgbRowBytes, yRowBytes, uRowBytes, and vRowBytes variables were performed using uint32t, which could overflow when processing very large image width and height values. The vulnerability is classified as CWE-190 (Integer Overflow or Wraparound). The issue was fixed by changing the type of affected variables from uint32t to size_t, ensuring that multiplications are performed using potentially 64-bit integers instead of 32-bit integers (Github Commit).

Impact

The vulnerability could lead to heap out-of-bounds writes when processing specially crafted AVIF images, potentially resulting in limited integrity and availability impacts on the affected systems (Wiz).

Mitigation and workarounds

The vulnerability has been fixed in libavif version 1.3.0. Users are advised to upgrade to version 1.3.0 or later. For older versions (pre-1.0.0), an alternative mitigation approach involves implementing maximum image area checks to prevent integer overflow conditions (Github PR).

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