CVE-2026-106115
Received Received - Intake

Memory Corruption in ImageSharp TIFF Encoder

Vulnerability report for CVE-2026-106115, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-10-06

Last updated on: 2026-10-06

Assigner: GitHub, Inc.

Description

ImageSharp is a 2D graphics library. From 2.1.0 until 4.1.2, the TIFF CCITT Group 4 encoder allocates Width times rowsPerStrip bytes even though T6BitCompressor.CompressStrip can emit encoded row data and two 12-bit end-of-facsimile-block codes beyond that capacity. TiffCcittCompressor.WriteCode performs unchecked writes, and a decode-and-re-encode flow can inherit TiffCompression.CcittGroup4Fax and one-bit metadata from attacker-supplied input. The resulting out-of-bounds writes can corrupt memory and terminate the process. This issue is fixed in version 4.1.2.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-10-06
Last Modified
2026-10-06
Generated
2026-10-06
AI Q&A
2026-10-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
SixLabors ImageSharp >= 2.1.0, < 4.1.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-787 The product writes data past the end, or before the beginning, of the intended buffer.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

ImageSharp is a 2D graphics library. The vulnerability exists in the TIFF CCITT Group 4 encoder from versions 2.1.0 to 4.1.2. It incorrectly allocates memory based on width times rowsPerStrip, but the encoder can produce more data than expected. This leads to out-of-bounds memory writes during compression, potentially corrupting memory and crashing the process.

Detection Guidance

This vulnerability affects ImageSharp versions 2.1.0 to 4.1.1. To detect it, check the installed version of ImageSharp in your project dependencies. If using .NET, run 'dotnet list package' to list all packages and versions. If the version is between 2.1.0 and 4.1.1, the system is vulnerable.

Impact Analysis

An attacker could exploit this to cause memory corruption or denial of service by providing maliciously crafted TIFF images. This could crash applications using vulnerable versions of ImageSharp, leading to service disruption or potential data loss.

Compliance Impact

This vulnerability could impact compliance by causing service disruptions or data corruption in systems handling sensitive data. GDPR requires data integrity and availability, while HIPAA mandates secure processing of health information. Exploits could lead to breaches or unauthorized access, violating these regulations.

Mitigation Strategies

Update ImageSharp to version 4.1.2 or later to address the TIFF CCITT Group 4 encoder vulnerability. Remove or restrict processing of untrusted TIFF files until patched.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-106115. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart