CVE-2020-35534
NixOS vulnerability analysis and mitigation

Overview

A memory corruption vulnerability was identified in LibRaw's crxFreeSubbandData() function (located in libraw\src\decoders\crx.cpp) when processing CR3 files. The vulnerability was assigned CVE-2020-35534 and was discovered in December 2020 (NVD, CVE).

Technical details

The vulnerability exists in the crxFreeSubbandData() function within the CR3 decoder component of LibRaw. The issue manifests as a memory corruption when processing CR3 image files, specifically during the cleanup of subband data. The vulnerability can be triggered when processing specially crafted CR3 files (GitHub Issue).

Impact

When exploited, this vulnerability can lead to memory corruption in applications using the LibRaw library to process CR3 files. This could potentially result in application crashes or unpredictable behavior when processing maliciously crafted CR3 image files (GitHub Issue).

Exploitability

A proof-of-concept exploit has been demonstrated using a specially crafted CR3 file that triggers the vulnerability when processed through applications using LibRaw, such as ImageMagick's convert command (GitHub Issue).

Mitigation and workarounds

The vulnerability has been addressed through a patch that implements memory pool management for CR3 decoder memory allocations. The fix was committed to the LibRaw repository and involves using mempool for memory management in the CR3 decoder (LibRaw 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-2026-68981HIGH8.8
  • NixOS logoNixOS
  • cpe:2.3:a:apache:nifi
NoYesAug 03, 2026
CVE-2026-69153MEDIUM6.3
  • JavaScript logoJavaScript
  • postcss
NoYesAug 03, 2026
CVE-2026-68979MEDIUM5.9
  • NixOS logoNixOS
  • nifi
NoYesAug 03, 2026
CVE-2026-64640MEDIUM5.3
  • Python logoPython
  • polaris
NoYesAug 06, 2026
CVE-2026-68980LOW2.3
  • NixOS logoNixOS
  • apache-nifi
NoYesAug 03, 2026

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