CVE-2023-52355
NixOS vulnerability analysis and mitigation

Overview

CVE-2023-52355 is an out-of-memory vulnerability discovered in libtiff that affects the TIFFRasterScanlineSize64() API. The vulnerability was disclosed on January 25, 2024, and affects libtiff versions up to (excluding) 4.6.0. The flaw can be triggered by passing a crafted TIFF file to the affected API function (NVD, Red Hat CVE).

Technical details

The vulnerability is classified as an out-of-bounds write (CWE-787) with a CVSS v3.1 base score of 7.5 (High). The issue occurs when TIFFRasterScanlineSize64() calculates size based on user-controllable fields td->td_bitspersample and td->td_imagewidth, without proper size validation. The vulnerability can be triggered with a crafted input file smaller than 379 KB (NVD, Libtiff Issue).

Impact

When successfully exploited, this vulnerability allows remote attackers to cause a denial of service condition through memory exhaustion. The attack can be executed remotely without requiring any privileges or user interaction (NVD).

Exploitability

The vulnerability has been confirmed to be exploitable through a crafted TIFF file that triggers the out-of-memory condition. A proof-of-concept exploit has been documented that demonstrates how the vulnerability can be triggered using a file smaller than 379 KB (Libtiff Issue).

Mitigation and workarounds

The issue has been addressed in libtiff version 4.6.0 and later. The fix primarily involves documentation updates to ensure applications properly limit memory usage. For affected versions, system administrators should ensure proper resource limitations are in place to prevent memory exhaustion attacks (Debian Tracker).

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-34191CRITICAL9.1
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-32327CRITICAL9.1
  • NixOS logoNixOS
  • apr-util-bdb
NoYesAug 06, 2026
CVE-2026-34502HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2026-34501HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 2026
CVE-2025-49506HIGH7.5
  • NixOS logoNixOS
  • apr-util
NoYesAug 06, 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