Skip to content

CVE-2026-106111 ImageSharp: EXR ZIP decoder can expose stale allocator data after a short inflate

MediumCVSS 5.3 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
nuget SixLabors.ImageSharp(NuGet) = 4.0.0; = 4.1.0; = 4.1.1; >= 4.0.0, < 4.1.2 +1 more 4.1.2 Fixed
SixLabors ImageSharp = >= 4.0.0, < 4.1.2; >= 4.0.0, < 4.1.2 4.1.2 Fixed

Affected products

ProductAffected versionsFixed in
nuget SixLabors.ImageSharp(NuGet) >= 4.0.0, < 4.1.2 4.1.2
nuget SixLabors.ImageSharp(NuGet) = 4.0.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 4.1.0 No fix listed
nuget SixLabors.ImageSharp(NuGet) = 4.1.1 No fix listed
SixLabors ImageSharp = >= 4.0.0, < 4.1.2 No fix listed
nuget SixLabors.ImageSharp(NuGet) >= 4.0.0, <= 4.1.1 No fix listed
SixLabors ImageSharp >= 4.0.0, < 4.1.2 4.1.2

References