CVE-2020-35538
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-35538 is a vulnerability discovered in libjpeg-turbo, where a crafted input file could cause a null pointer dereference in the jcopysamplerows() function when processed by the library (NVD, Ubuntu).

Technical details

The vulnerability occurs specifically in the jcopysamplerows() function when processing certain crafted input files. The issue manifests as a null pointer dereference, which can lead to a program crash. The vulnerability was particularly problematic when using the merged (non-fancy) upsampling algorithms for processing 4:2:2 or 4:2:0 JPEG images, especially when setting cinfo.dofancyupsampling to FALSE (Debian).

Impact

When exploited, this vulnerability can cause the application processing JPEG images with libjpeg-turbo to crash due to the null pointer dereference, potentially leading to a denial of service condition (Rapid7).

Mitigation and workarounds

The vulnerability has been fixed in multiple versions across different distributions. Debian has fixed the issue in versions 1:2.0.6-4 for bullseye, 1:2.1.5-2 for bookworm, and 1:2.1.5-3.1 for sid and trixie (Debian).

Additional resources


SourceThis report was generated using AI

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