CVE-2020-13790
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-13790 is a security vulnerability discovered in libjpeg-turbo version 2.0.4 and mozjpeg 4.0.0. The vulnerability was disclosed on June 3, 2020, and affects the get_rgb_row() function in rdppm.c. The issue involves a heap-based buffer over-read vulnerability that can be triggered via a malformed PPM input file (NVD, MITRE).

Technical details

The vulnerability is specifically located in the get_rgb_row() function within the rdppm.c file. It manifests as a heap-based buffer over-read condition that can be triggered when processing malformed PPM input files. The issue occurs when handling binary PPM files with maximum values less than 255, which can lead to an overrun of the rescale array (GitHub Issue, GitHub Commit).

Impact

The vulnerability could allow attackers to access sensitive information through specially crafted PPM files. When exploited, the vulnerability could expose data from the application's memory, potentially revealing sensitive information to attackers (Ubuntu Notice, Gentoo Advisory).

Exploitability

The vulnerability can be exploited by processing a specially crafted PPM file using an application linked against the affected versions of libjpeg-turbo. The exploit requires the attacker to convince a user to process a malformed PPM input file (Debian LTS).

Mitigation and workarounds

The vulnerability has been patched in various distributions and versions. Ubuntu released updates for multiple versions (20.04, 19.10, 18.04, 16.04, 14.04, and 12.04). Fedora provided fixes in version 2.0.4-3.fc32. Debian released version 1:1.5.1-2+deb9u1 for Debian 9 stretch. Users are advised to update to the patched versions through their system's standard update mechanisms (Ubuntu Notice, Fedora Update).

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-75874CRITICAL10
  • NixOS logoNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesAug 18, 2026
CVE-2026-74990CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74989CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74988CRITICAL9.8
  • NixOS logoNixOS
  • thunderbird
NoYesAug 18, 2026
CVE-2026-74987CRITICAL9.8
  • NixOS logoNixOS
  • MozillaFirefox
NoYesAug 18, 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