Description
An integer overflow in the libtiff rgb2ycbcr utility's cvtRaster() function when computing strip buffer sizes can result in an undersized heap allocation and subsequent heap-based buffer overflow during YCbCr conversion of a crafted TIFF image
Published: 2026-08-24
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Heap buffer overflow in libtiff potentially enabling remote code execution
Action: Patch Immediately
AI Analysis

Impact

The vulnerability is an integer overflow in the libtiff rgb2ycbcr utility’s cvtRaster function when computing strip buffer sizes for YCbCr conversion. The overflow causes the allocation of a heap buffer that is smaller than required, and when a crafted TIFF image is processed the subsequent writes exceed the allocated space. This heap-based buffer overflow can corrupt memory and potentially allow an attacker to inject and execute arbitrary code.

Affected Systems

The flaw exists in the libtiff image processing library and affects all installations that incorporate the library before the patch in the referenced commit. Any application that uses the rgb2ycbcr routine to decode TIFF files is potentially vulnerable. The vulnerability requires only that a malicious TIFF image be processed by the affected library, which is common in many image handling scenarios.

Risk and Exploitability

The CVSS score of 7.8 indicates high severity. The EPSS score is below 1%, indicating a low probability of exploitation at this time. The vulnerability is not listed in CISA KEV, meaning no publicly documented exploits are known. The attack vector requires the attacker to supply a crafted TIFF file to the application. While the likelihood of exploitation is currently low, the impact can be severe if the software is widely deployed.

Generated by OpenCVE AI on August 28, 2026 at 19:13 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade libtiff to a version that incorporates the fix from commit 94affc5cf54111312f9891eb77accb93eebc28d7.
  • If an upgrade is not immediately possible, disable or bypass YCbCr conversion for incoming TIFF files or replace the rgb2ycbcr routine with a safe implementation to avoid the overflow.
  • Implement strict validation and sandboxing of TIFF file processing to limit memory corruption until the library is updated, and enable compiler hardening options such as stack canaries.

Generated by OpenCVE AI on August 28, 2026 at 19:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 29 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 27 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-190
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H'}


Wed, 26 Aug 2026 04:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
CWE-680

Wed, 26 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Title Heap Buffer Overflow in libtiff YCbCr Conversion libtiff: libtiff: Arbitrary code execution via crafted TIFF image
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

threat_severity

Important


Mon, 24 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
Title Heap Buffer Overflow in libtiff YCbCr Conversion
First Time appeared Libtiff
Libtiff libtiff
Weaknesses CWE-122
CWE-680
Vendors & Products Libtiff
Libtiff libtiff

Mon, 24 Aug 2026 20:45:00 +0000

Type Values Removed Values Added
Description An integer overflow in the libtiff rgb2ycbcr utility's cvtRaster() function when computing strip buffer sizes can result in an undersized heap allocation and subsequent heap-based buffer overflow during YCbCr conversion of a crafted TIFF image
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-08-27T19:05:00.091Z

Reserved: 2026-06-08T00:00:00.000Z

Link: CVE-2026-52492

cve-icon Vulnrichment

Updated: 2026-08-27T19:04:39.807Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-08-24T21:17:19.927

Modified: 2026-09-09T16:03:22.897

Link: CVE-2026-52492

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-24T00:00:00Z

Links: CVE-2026-52492 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T19:15:05Z

Weaknesses