Description
ImageSharp is a 2D graphics library. From 3.0.0 until 4.1.1, decoding a strip TIFF using CCITT Group 3 or Modified Huffman compression can pass attacker-expanded runs to BitWriterUtils.WriteBits without first checking the current row width. T4TiffCompression.WritePixelRun can accumulate oversized makeup-code runs, and ModifiedHuffmanTiffCompression.Decompress validates the width only after writing. The unchecked writes can overflow the strip buffer, corrupt heap memory, and terminate the process. This strip-path vulnerability is distinct from the tiled decompressor-width mismatch. This issue is fixed in version 4.1.1.
Published: 2026-10-06
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Heap memory corruption that may lead to denial of service
Action: Immediate patch
AI Analysis

Impact

ImageSharp provides 2‑D graphics support and includes a TIFF decoder. Between versions 3.0.0 and 4.1.1 the library allows a strip of a TIFF image to be decoded using CCITT Group 3 or Modified Huffman compression. Attackers can craft a TIFF file that expands run‑length entries so that the BitWriterUtils.WriteBits routine writes an unchecked number of bits, overflowing the strip buffer and corrupting adjacent heap memory. The corruption can terminate the process and could also lead to denial of service.

Affected Systems

The vulnerability affects SixLabors ImageSharp versions 3.0.0 through 4.1.1. Updated releases starting with 4.1.1 contain a patch that validates run lengths before writing bits.

Risk and Exploitability

The CVSS score of 7.5 signals high severity, but no EPSS data are available and the vulnerability is not listed in CISA KEV. The likely attack vector is a file-based exploit: an attacker supplies a malicious TIFF image to an application that uses the affected ImageSharp library. The vulnerability can be triggered when the application attempts to decode the image, potentially causing a crash or, if memory corruption is exploited, denial of service. The lack of empirical exploitation data combined with the high CVSS suggests that this issue poses a real risk to applications that process untrusted TIFF files.

Generated by OpenCVE AI on October 6, 2026 at 20:36 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to SixLabors ImageSharp v4.1.1 or newer, which contains the validation fix for run‑length writes.
  • If upgrading is not immediately possible, ensure that any TIFF images from untrusted sources are validated or sanitized by a separate, trusted component before being passed to ImageSharp.
  • Stay alert for subsequent patches from SixLabors and apply them promptly; run the image‑processing code in a sandboxed environment with ASLR and DEP enabled to mitigate the impact of a potential heap corruption attack.

Generated by OpenCVE AI on October 6, 2026 at 20:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-jj3q-cwqj-842r ImageSharp: CCITT fax decompression (T4/Modified Huffman): unbounded WriteBits overflows strip buffer — heap OOB write in SixLabors.ImageSharp
History

Tue, 27 Oct 2026 20:30:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*

Wed, 07 Oct 2026 06:15:00 +0000

Type Values Removed Values Added
First Time appeared Sixlabors
Sixlabors imagesharp
Vendors & Products Sixlabors
Sixlabors imagesharp

Tue, 06 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 06 Oct 2026 18:00:00 +0000

Type Values Removed Values Added
Description ImageSharp is a 2D graphics library. From 3.0.0 until 4.1.1, decoding a strip TIFF using CCITT Group 3 or Modified Huffman compression can pass attacker-expanded runs to BitWriterUtils.WriteBits without first checking the current row width. T4TiffCompression.WritePixelRun can accumulate oversized makeup-code runs, and ModifiedHuffmanTiffCompression.Decompress validates the width only after writing. The unchecked writes can overflow the strip buffer, corrupt heap memory, and terminate the process. This strip-path vulnerability is distinct from the tiled decompressor-width mismatch. This issue is fixed in version 4.1.1.
Title ImageSharp: CCITT fax decompression (T4/Modified Huffman): unbounded WriteBits overflows strip buffer — heap OOB write in SixLabors.ImageSharp
Weaknesses CWE-787
References
Metrics cvssV3_1

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


Subscriptions

Sixlabors Imagesharp
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-06T18:20:09.862Z

Reserved: 2026-10-06T15:33:55.333Z

Link: CVE-2026-106117

cve-icon Vulnrichment

Updated: 2026-10-06T18:20:00.353Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-06T18:16:53.550

Modified: 2026-10-27T20:11:46.843

Link: CVE-2026-106117

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-07T06:00:08Z

Weaknesses