CVE-2020-19131
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-19131 is a buffer overflow vulnerability discovered in LibTiff version 4.0.10, specifically affecting the 'invertImage()' function in the 'tiffcrop' component. The vulnerability was publicly disclosed and tracked in security databases, with patches being released to address the issue (NVD, Debian Security).

Technical details

The vulnerability exists in the invertImage() function within tiffcrop.c at line 9206. The function contains multiple issues related to pixel processing and value calculations. The code incorrectly processes 4 pixels per iteration while performing width iterations, leading to 4*width pixels being inverted and causing a heap buffer overflow. Additionally, there are calculation errors where values should be (3 - x) instead of (4 - x) for certain bit-per-sample (bps) values (Maptools Bugzilla). The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (NVD).

Impact

The vulnerability allows remote attackers to cause a denial of service condition through a heap buffer overflow by manipulating the color space inversion process. When exploited, this can lead to application crashes and potential system instability (NVD, Debian Security).

Mitigation and workarounds

The vulnerability has been fixed through a merge request (MR 61) in the LibTiff repository. The fix includes correcting the pixel processing loop and value calculations. Multiple Linux distributions have released patched versions, including Debian which addressed this in version 4.0.8-2+deb9u7 (Debian Security, Maptools Bugzilla).

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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 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