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

Published Oct 6, 2026
·
Updated

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 Software

1 affected component
Six Labors ImageSharp>=4.0.0<4.1.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ImageSharp to a version that resolves this vulnerability.

    Fixed in 4.1.2

Event History

Oct 6, 2026
CVE Published
via MITRE·05:44 PM
Data Sourced
via MITRE·05:44 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is realistically exposed to this issue?

Applications using Six Labors ImageSharp versions 4.0.0 through 4.1.2 that decode attacker-controlled EXR files and expose decoded pixels or derived output are exposed. The disclosed data can come from a completed prior ImageSharp operation in the same process.

2

What does an attacker need to exploit it?

An attacker needs to supply a crafted EXR file using ZIP or ZIPS compression whose inflate result is nonempty but shorter than the required EXR block size. No privileges or user interaction are required according to the supplied vector.

3

Are default configurations affected?

Yes. The vulnerable decoder obtains its buffer through Configuration.Default, so the issue can occur under the default ImageSharp configuration when a malformed ZIP or ZIPS-compressed EXR is decoded.

4

What is the remediation?

Upgrade ImageSharp to version 4.1.2, which fixes the issue. Until upgrading is possible, avoid decoding untrusted EXR files, particularly ZIP or ZIPS-compressed inputs, in processes that handle sensitive images.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203