CVE-2020-24870
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-24870 is a stack buffer overflow vulnerability discovered in LibRaw versions before 0.20.1, specifically affecting the LibRaw::identifyprocessdng_fields function in identify.cpp. The vulnerability was disclosed on August 19, 2020, and affects systems using the LibRaw library for processing RAW image files (CVE Details).

Technical details

The vulnerability is classified as a stack buffer overflow (CWE-787: Out-of-bounds Write) with a CVSS v3.1 base score of 8.8 (HIGH), and vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. The issue occurs in the LibRaw::identifyprocessdng_fields function when parsing DNG fields, where improper bounds checking leads to a buffer overflow condition (NVD).

Impact

When exploited, this vulnerability could lead to denial of service or potential code execution when a malicious user sends a crafted image that is parsed by an application linked to LibRaw (Red Hat CVE).

Mitigation and workarounds

The vulnerability has been fixed in LibRaw version 0.20.2 and later. Users are advised to upgrade to the latest version of LibRaw. For example, Gentoo users can update using the command 'emerge --ask --oneshot --verbose ">=media-libs/libraw-0.20.2"' (Gentoo Advisory).

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