Cloudanix VulnDB

CVE-2023-6277

Medium · 6.5

CVSS

6.5

EPSS

1.8%

Published

Nov 24, 2023

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in software that reads image files can let attackers crash programs by sending a small specially made picture.

Exploit Available
Exploitation
Requires User Interaction
Attacker needs
User Interaction
Complexity
Low
Impact
Denial Of Service
Component
Library
Class
Denial of service
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

The flaw triggers an out-of-memory condition when a specially crafted TIFF file smaller than 379 KB is passed to the TIFFOpen API, resulting in denial of service without requiring authentication or user interaction beyond file processing.

Why it matters to the business

Systems that handle untrusted image files may experience crashes or unavailability, interrupting workflows that depend on image parsing in enterprise and open-source environments.

How an attack unfolds

An attacker creates a malicious TIFF file under 379 KB and supplies it to any application using libtiff's TIFFOpen function, causing excessive memory allocation and service disruption.

How to fix it

Upgrade libtiff to the latest patched release from distribution maintainers as soon as it becomes available; apply vendor updates for Red Hat Enterprise Linux and Fedora when released.

How to confirm the fix worked

After applying updates, confirm the installed libtiff version matches the fixed release and test that TIFFOpen rejects or safely handles the previously crashing crafted input.

Typical attack path

  1. Generate a crafted TIFF file smaller than 379 KB that triggers the memory flaw
  2. Deliver the file to a target system or application via email, web upload, or file share
  3. Victim application invokes TIFFOpen on the malicious file
  4. Process exhausts memory and terminates, causing denial of service

How to detect it

Review application and system logs for repeated out-of-memory crashes correlated with TIFF file processing; inspect process dumps or audit trails around calls to TIFFOpen on small input files.

What your security team should do

  • Monitor vendor advisories for libtiff updates and schedule immediate patching
  • Restrict processing of TIFF files from untrusted sources until patches are deployed
  • Implement sandboxing or resource limits around image-processing components

The record

An out-of-memory flaw was found in libtiff. Passing a crafted tiff file to TIFFOpen() API may allow a remote attacker to cause a denial of service via a craft input with size smaller than 379 KB.

Affected packages

Ecosystem Package Introduced Fixed
Chainguard tiff 0 4.6.0-r1
Chainguard tiff-dev 0 4.6.0-r1
Chainguard tiff-doc 0 4.6.0-r1
Debian:11 tiff 0 No fix
Debian:12 tiff 0 No fix
Debian:13 tiff 0 4.5.1+git230720-2
Ubuntu:20.04:LTS tiff 0 4.1.0+git191117-2ubuntu0.20.04.12
Ubuntu:22.04:LTS tiff 0 4.3.0-6ubuntu0.8
Ubuntu:23.10 tiff 0 4.5.1+git230720-1ubuntu1.1
Ubuntu:24.04:LTS tiff 0 4.5.1+git230720-3ubuntu1
Ubuntu:Pro:14.04:LTS tiff 0 4.0.3-7ubuntu0.11+esm12
Ubuntu:Pro:16.04:LTS tiff 0 4.0.6-1ubuntu0.8+esm15
Ubuntu:Pro:18.04:LTS tiff 0 4.0.9-5ubuntu0.10+esm5
Wolfi tiff 0 4.6.0-r1
Wolfi tiff-dev 0 4.6.0-r1
Wolfi tiff-doc 0 4.6.0-r1

Related vulnerabilities