CVE-2026-106110

ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer

Published Oct 6, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
ImageSharp is a 2D graphics library. From 2.0.0 until 4.1.2, the TIFF CCITT Group 3 encoder allocates an undersized compressed-data buffer for narrow 1-bit images. TiffCcittCompressor.Initialize does not reserve enough space for the row data and T4 end-of-line codes, and T4BitCompressor.CompressStrip reaches unchecked writes when TiffCompression.CcittGroup3Fax is selected directly or inherited from decoded TIFF metadata. An attacker-controlled encode or decode-and-re-encode flow can write beyond the logical output span, corrupt process memory, and terminate the process. This issue is fixed in version 4.1.2.

Analysis

AI-generated

Technical impact

The flaw in ImageSharp’s TIFF CCITT Group 3 encoder originates from an undersized buffer for narrow 1‑bit images. When encoding these images, the encoder writes beyond the allocated memory, corrupting the process’s memory space and causing a crash. The memory overwrite could, in theory, be manipulated to execute arbitrary code, but the confirmed impact is process termination and potential denial of service.

Affected Systems

ImageSharp releases from 2.0.0 through 4.1.1 are affected. The vulnerability is fixed in version 4.1.2, which should be used for all .NET applications that render or regenerate TIFF images.

Risk and Exploitability

The CVSS score of 7.5 rates this flaw as High severity. While the EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, attacker‑controlled encode or decode‑and‑re‑encode flows can trigger the overflow. The risk is elevated for services that expose the encoder to untrusted data or run with elevated privileges; it could lead to a denial of service or, in worst cases, arbitrary code execution.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the ImageSharp library to version 4.1.2 or later, which contains the buffer‑allocation fix.
  • If an immediate upgrade is not possible, remove or disable usage of the CCITT Group 3 encoder for thin 1‑bit TIFF images in your application until the library is updated.
  • Restrict the acceptance of untrusted TIFF files and validate compression parameters in your own code, ensuring that only supported compression schemes are processed.

Generated by OpenCVE AI on October 6, 2026 at 19:10 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-j9gm-c75j-xc9q ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer
History
Type Values Removed Values Added
CPEs cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Sixlabors
Sixlabors imagesharp
Vendors & Products Sixlabors
Sixlabors imagesharp
Type Values Removed Values Added
Description ImageSharp is a 2D graphics library. From 2.0.0 until 4.1.2, the TIFF CCITT Group 3 encoder allocates an undersized compressed-data buffer for narrow 1-bit images. TiffCcittCompressor.Initialize does not reserve enough space for the row data and T4 end-of-line codes, and T4BitCompressor.CompressStrip reaches unchecked writes when TiffCompression.CcittGroup3Fax is selected directly or inherited from decoded TIFF metadata. An attacker-controlled encode or decode-and-re-encode flow can write beyond the logical output span, corrupt process memory, and terminate the process. This issue is fixed in version 4.1.2.
Title ImageSharp: TIFF CCITT T4 encoder can write past its compressed output buffer
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 9, 2026, 1:19 AM
Reserved
Oct 6, 2026, 3:33 PM
Status
Analyzed
Published
Oct 6, 2026, 6:16 PM
Modified
Oct 24, 2026, 1:42 AM