CVE-2020-35530
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-35530 is an out-of-bounds write vulnerability discovered in LibRaw, specifically within the 'newnode()' function located in libraw\src\x3f\x3futils_patched.cpp. The vulnerability can be triggered by processing a specially crafted X3F image file (CVE Mitre, Debian Security).

Technical details

The vulnerability occurs in the new_node() function when processing X3F files. The issue stems from insufficient boundary checking in the huffman tree creation process. The vulnerability has a CVSS 3.1 Base Score of 5.5 (Medium), with the vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H (Ubuntu Security).

Impact

When exploited, this vulnerability could lead to an out-of-bounds write condition, potentially causing application crashes and denial of service. The vulnerability affects applications that use LibRaw for processing X3F image files (Debian LTS).

Mitigation and workarounds

The vulnerability has been patched in various versions of LibRaw. The fix involves adding a check for the huffman tree size in the new_node() function. Multiple distributions have released security updates, including Ubuntu (versions 0.19.5-1ubuntu1.1 for focal and 0.18.8-1ubuntu0.4 for bionic) and Debian (version 0.19.2-2+deb10u1) (GitHub Commit, Ubuntu 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