---
id: CVE-2026-106118
title: ImageSharp is a 2D graphics library
summary: >-
  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 fram…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-787
vendor: SixLabors
product: ImageSharp
affected:
  - 'ImageSharp >= 3.0.0, < 4.1.1'
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T20:17:17.703'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106118'
references:
  - url: >-
      https://github.com/SixLabors/ImageSharp/commit/9ee7d1dd5b62d8c9f16cc755e76828386bc2191f
    label: security-advisories@github.com
  - url: 'https://github.com/SixLabors/ImageSharp/pull/3176'
    label: security-advisories@github.com
  - url: 'https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-v76p-62qx-wwq2
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: partial
  timestamp: '2026-10-06T19:27:52.241408Z'
ingestedAt: '2026-10-06T19:13:33.946Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
