Skip to main content

ImageSharp CVE-2026-106118

| EUVDEUVD-2026-93770 HIGH
Out-of-bounds Write (CWE-787)
2026-10-06 GitHub_M GHSA-v76p-62qx-wwq2
7.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Upload crafted tiled CCITT TIFF to decoder
  2. Delivery
    Decompressor sized to frame width, buffer sized to tile width
  3. Exploit
    Frame-width scanline written into tile-width buffer
  4. Execution
    Out-of-bounds heap write corrupts memory
  5. Impact
    Process terminates (denial of service)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, write limits
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target application to decode an attacker-supplied TIFF that is (1) tiled and (2) uses CCITT fax compression - specifically T4, T6, or Modified Huffman - with (3) a TileWidth strictly smaller than ImageWidth; this mismatch is the precise trigger because TiffDecoderCore sizes the destination buffer by TileWidth while TiffDecompressorsFactory.Create constructs the decompressor with the full frame width. Limiting factors: the strip-decoding path is unaffected (this is a distinct tiled-path bug), and the application must actually invoke TIFF decoding on untrusted input. No authentication or user interaction is required per the CVSS vector (PR:N/UI:N), and no special configuration is needed beyond accepting and decoding untrusted images on a vulnerable version (3.0.0-4.1.0).

Impact

The input CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5) describes a remotely reachable, low-complexity, unauthenticated flaw whose scored impact is availability-only (A:H) - a denial-of-service via process termination, consistent with CWE-787 heap corruption. A tension worth flagging: the description asserts 'attacker-controlled out-of-bounds writes' and 'heap corruption', which could in principle enable memory-safety abuse beyond a crash, yet the official vector rates C:N/I:N, so confidentiality/integrity impact (and any code-execution path) is NOT confirmed and should not be assumed. No EPSS score was provided, so exploitation probability cannot be quantified. The CVE is not listed in CISA KEV and no public exploit code was supplied - the GitHub links are the vendor fix (remediation), not a weaponized POC. Overall this is a legitimate, easily-reachable DoS in image-upload pipelines rather than a confirmed RCE; priority is moderate-to-high for services that decode untrusted TIFFs, but the elevated CVSS reflects availability impact, not demonstrated system compromise.

Exploit ScenarioDerived

An application that uses ImageSharp (3.0.0-4.1.0) to decode user-supplied images receives a crafted tiled TIFF whose TileWidth is smaller than ImageWidth and which uses CCITT fax compression (T4/T6/Modified Huffman). During tiled decoding, frame-width fax scanlines are directed into the smaller tile-width destination buffer, triggering attacker-controlled out-of-bounds heap writes that corrupt memory and terminate the process. No public exploit code exists at time of analysis; only the vendor patch is published.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.6% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 06, 2026

Heap corruption and process termination in SixLabors ImageSharp 3.0.0 through 4.1.0 can be triggered by decoding a crafted tiled TIFF that uses CCITT fax compression (T4, T6, or Modified Huffman) with a TileWidth smaller than ImageWidth. Because DestinationBuffer is sized by TileWidth while TiffDecompressorsFactory.Create instantiates the fax decompressor with the full frame width, attacker-controlled scanlines overflow the tile buffer, producing out-of-bounds writes and CWE-787 heap corruption. The flaw is remotely reachable, requires no authentication or user interaction (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, base 7.5), and is scored availability-only. No public exploit code has been identified at time of analysis, and the issue is fixed in version 4.1.1.

RemediationAI

Vendor-released patch: upgrade ImageSharp to version 4.1.1, which is the first release containing the fix (https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.1), cherry-picking the change from pull request 3176 or commit 9ee7d1dd5b62d8c9f16cc755e76828386bc2191f if you maintain a fork. The patch passes the tile row width (faxWidth) into T4, T6, and Modified Huffman decompressors and adds a guard that rejects any decoded run exceeding the remaining row width before the unchecked bit writer is reached; review the advisory at https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-v76p-62qx-wwq2 for details. If immediate upgrading is not possible, compensating controls include rejecting or quarantining tiled TIFFs that declare CCITT fax compression (T4/T6/Modified Huffman) until TileWidth can be validated against ImageWidth, since any such file where TileWidth is smaller than ImageWidth is a potential trigger; the trade-off is loss of legitimate tiled fax-compressed TIFF support. Alternatively, route TIFF decoding through an isolated low-privilege worker process with strict memory limits so that heap corruption terminates only the sandboxed decoder rather than the parent application, accepting added architectural complexity and reduced throughput, or disable TIFF decoding on untrusted input entirely if the format is not business-critical. Any compensating control short of the 4.1.1 patch leaves the underlying unchecked write reachable.

Affected VersionsENISA

ImageSharp 3.0.0, < 4.1.1

Affected Packages

nuget imagesharp fix: 4.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in nuget

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability lives in the TIFF decoder of the ImageSharp 2D graphics library and belongs to the CWE-787 (out-of-bounds write) class. TIFF permits tiled image organization, where the image is divided into rectangular tiles whose dimensions are declared in the TileWidth and TileLength tags. ImageSharp sizes the destination buffer for a tile using TileWidth, but TiffDecompressorsFactory.Create historically constructed the fax decompressors (T4TiffCompression, T6TiffCompression, and ModifiedHuffmanTiffCompression) using the full frame width rather than the tile width. When CCITT Group 3 (T4), Group 4 (T6), or Modified Huffman compression is used on a tiled image and TileWidth is strictly less than ImageWidth, TiffDecoderCore.DecodeTilesChunky feeds frame-width fax scanlines into a tile-width buffer. The bit writer performs unchecked writes and the pre-existing width check only validated pixelsWritten after the fact, so a legal per-row run code that decodes more pixels than the tile width causes an attacker-controlled out-of-bounds write. This is distinct from oversized CCITT run handling in the strip-decoding path, which is unaffected. The upstream fix passes faxWidth (= tileWidth when tiled, otherwise width) into the decompressors and adds an explicit guard rejecting any decoded run whose RunLength exceeds the remaining row width before the unchecked bit writer is invoked. The affected CPE range is cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*.

Know when Imagesharp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Untrusted image reaches the decoder remotely with no auth or interaction (AV:N/AC:L/PR:N/UI:N); demonstrable impact is a crash, so A:H with C:N/I:N since memory disclosure or integrity abuse is unproven.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Oct 06, 2026 - 20:04 EUVD
CVE Published
Oct 06, 2026 - 17:59 cve.org
HIGH 7.5

DescriptionCVE.org

ImageSharp is a 2D graphics library. From 3.0.0 until 4.1.1, tiled TIFF decoding allocates a destination buffer using TileWidth but TiffDecompressorsFactory.Create constructs T4, T6, and Modified Huffman decompressors using the full frame width. TiffDecoderCore.DecodeTilesChunky can therefore direct frame-width fax scanlines into a tile-width buffer when TileWidth is smaller than ImageWidth. The mismatch causes attacker-controlled out-of-bounds writes, heap corruption, and process termination even with legal per-row run codes. This tiled-path vulnerability is distinct from oversized CCITT runs in strip decoding. This issue is fixed in version 4.1.1.

Technical POC Analysis

CWE-787 (out-of-bounds write), caused by a width mismatch between tile buffer allocation and the CCITT fax decompressor.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

A heap-corruption flaw in the SixLabors ImageSharp library (versions 3.0.0 through 4.1.0) allows any unauthenticated remote party to crash or destabilize services that decode TIFF images, simply by submitting a specially crafted tiled CCITT-fax TIFF file. Because ImageSharp is embedded in a wide range of .NET web applications, content pipelines, and document-processing services, the practical exposure is broad: affected business functions include any customer-facing upload, document conversion, or media-ingestion workflow. The impact is availability-focused rather than data-theft, but an outage in a shared image-processing component can cascade across multiple products simultaneously.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to SixLabors.ImageSharp 4.1.1 or later). If upgrading is not immediately possible, disable persistent image processing for TIFF: reject TIFF uploads at the perimeter or disable TIFF decoding entirely for untrusted input, run TIFF decoding in an isolated low-privilege sandboxed worker with CPU/memory limits and automatic restart, and rate-limit or queue image-processing requests to contain the blast radius of a crash.

Threat Intelligence Overview

EPSS Score
0.6%
Top 53% exploitable
Prevalence
High
widely used open-source .NET imaging library in server upload pipelines
Threat Intel
1
1 source
Data Quality
4 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.6%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

39
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

Memory corruption occurs when a program writes data beyond the boundaries of allocated memory regions or accesses memory in unintended ways, violating the integrity of the process's address space.

CVE-2025-27598 HIGH POC
7.5 Mar 06

ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authenti

CVE-2024-27929 HIGH POC
7.1 Mar 05

ImageSharp is a managed, cross-platform, 2D graphics library. Rated high severity (CVSS 7.1), this vulnerability is no a

CVE-2026-106115 HIGH
7.5 Oct 06

Out-of-bounds heap writes in the ImageSharp TIFF CCITT Group 4 (T6) fax encoder, affecting versions 2.1.0 through 4.1.1,

CVE-2026-106113 HIGH
7.5 Oct 06

Denial of service in SixLabors ImageSharp (2.0.0 up to but not including 4.1.2) lets a remote, unauthenticated attacker

CVE-2026-106110 HIGH
7.5 Oct 06

TIFF encoding in SixLabors ImageSharp 2.0.0 through 4.1.1 can write past the end of an undersized compressed-data buffer

CVE-2026-106117 HIGH
7.5 Oct 06

Heap buffer overflow in SixLabors ImageSharp (all versions from 3.0.0 up to but excluding 4.1.1) is triggered when the l

CVE-2026-106112 HIGH
7.5 Oct 06

Memory corruption in SixLabors ImageSharp 4.0.0 through 4.1.1 allows an unauthenticated remote attacker to crash or dest

CVE-2024-41132 HIGH
7.5 Jul 22

ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authenti

CVE-2024-41131 HIGH
7.5 Jul 22

ImageSharp is a 2D graphics API. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no authenti

CVE-2024-32036 MEDIUM
6.5 Apr 15

ImageSharp is a 2D graphics API. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authen

CVE-2024-32035 MEDIUM
6.5 Apr 15

ImageSharp is a 2D graphics API. Rated medium severity (CVSS 6.5), this vulnerability is remotely exploitable, no authen

CVE-2026-106111 MEDIUM
5.9 Oct 06

Information disclosure in SixLabors ImageSharp 4.0.0 through 4.1.1 allows an attacker who supplies a crafted OpenEXR ima

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy