---
id: CVE-2026-106111
title: ImageSharp is a 2D graphics library
summary: >-
  ImageSharp is a 2D graphics library. From 4.0.0 until 4.1.2,
  ExrBaseDecompressor.UndoZipCompression accepts a nonempty ZIP or ZIPS inflate
  result that is shorter than the EXR block's required size.
  ZipExrCompression.Decompress reconstruc…
severity: medium
cvss: 5.9
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-226
vendor: SixLabors
product: ImageSharp
affected:
  - 'ImageSharp >= 4.0.0, < 4.1.2'
published: '2026-10-06'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T20:03:40.690'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-106111'
references:
  - url: >-
      https://github.com/SixLabors/ImageSharp/commit/3c43cf583fdd98eff0f451397affaa31c6a2e6b1
    label: security-advisories@github.com
  - url: >-
      https://github.com/SixLabors/ImageSharp/commit/6ed2a275217d39301e76df42acec2a9533b39d2b
    label: security-advisories@github.com
  - url: 'https://github.com/SixLabors/ImageSharp/pull/3187'
    label: security-advisories@github.com
  - url: 'https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2'
    label: security-advisories@github.com
  - url: >-
      https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-4q3p-rj5x-xv7p
    label: security-advisories@github.com
  - url: >-
      https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-4q3p-rj5x-xv7p
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-06T18:18:45.477260Z'
ingestedAt: '2026-10-06T18:11:36.229Z'
---

## Overview

ImageSharp is a 2D graphics library. From 4.0.0 until 4.1.2, ExrBaseDecompressor.UndoZipCompression accepts a nonempty ZIP or ZIPS inflate result that is shorter than the EXR block's required size. ZipExrCompression.Decompress reconstructs the returned prefix while ExrDecoderCore processes the full expected block from a buffer obtained through Configuration.Default, allowing bytes retained from a completed prior ImageSharp operation to appear in decoded pixels. Applications that expose pixels or output from the later attacker-controlled EXR decode can disclose process-local image data. This issue is fixed in version 4.1.2.

## Remediation

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