medium5.9
CVE-2026-106111
ImageSharp: EXR ZIP decoder can expose stale allocator data after a short inflate
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| nuget | SixLabors.ImageSharp | >= 4.0.0, <= 4.1.1 | 4.1.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Sixlabors | Imagesharp | from 4.0.0 before 4.1.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-4q3p-rj5x-xv7p
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-4q3p-rj5x-xv7p
- https://nvd.nist.gov/vuln/detail/CVE-2026-106111
- https://github.com/SixLabors/ImageSharp/pull/3187
- https://github.com/SixLabors/ImageSharp/commit/3c43cf583fdd98eff0f451397affaa31c6a2e6b1
- https://github.com/SixLabors/ImageSharp/commit/6ed2a275217d39301e76df42acec2a9533b39d2b
- https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2