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.
Published: 2026-10-06
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: Denial of Service via memory corruption
Action: Immediate Patch
AI Analysis

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.

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

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

Sat, 24 Oct 2026 02:00:00 +0000

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

Fri, 09 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


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 17:45:00 +0000

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'}


Subscriptions

Sixlabors Imagesharp
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-09T01:19:50.868Z

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

Link: CVE-2026-106110

cve-icon Vulnrichment

Updated: 2026-10-09T01:19:45.535Z

cve-icon NVD

Status : Analyzed

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

Modified: 2026-10-24T01:42:13.327

Link: CVE-2026-106110

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses