CVE-2020-35532
NixOS vulnerability analysis and mitigation

Overview

An out-of-bounds read vulnerability was discovered in LibRaw's 'simpledecoderow()' function (located in libraw\src\x3f\x3futilspatched.cpp). The vulnerability can be triggered via an image with a large row_stride field. This security issue was assigned CVE-2020-35532 and was reported by GitHub user GirlElecta (Debian LTS, CVE Mitre).

Technical details

The vulnerability exists in the simpledecoderow() function within LibRaw's X3F format processing code. The issue occurs when processing images with a large rowstride field, which can lead to an out-of-bounds read condition. The fix involved adding a boundary check to verify that the data offset does not exceed the available buffer size, specifically checking if row*rowstride is greater than ID->datasize - (ID->columns*sizeof(uint32t)) (LibRaw Commit).

Impact

When exploited, this vulnerability could lead to an out-of-bounds read condition, potentially causing program crashes or allowing an attacker to read sensitive information from memory. The vulnerability affects applications that use LibRaw for processing X3F format images (Debian Security).

Mitigation and workarounds

The vulnerability has been patched in various LibRaw versions across different distributions. Debian released version 0.19.2-2+deb10u1 for Debian 10 (Buster) to address this issue. Users are recommended to upgrade their LibRaw packages to the latest available version that includes the security fix (Debian LTS).

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