CVE-2026-106115: ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer

Published Oct 6, 2026
·
Updated

ImageSharp is a 2D graphics library. From 2.1.0 until 4.1.2, the TIFF CCITT Group 4 encoder allocates Width times rowsPerStrip bytes even though T6BitCompressor.CompressStrip can emit encoded row data and two 12-bit end-of-facsimile-block codes beyond that capacity. TiffCcittCompressor.WriteCode performs unchecked writes, and a decode-and-re-encode flow can inherit TiffCompression.CcittGroup4Fax and one-bit metadata from attacker-supplied input. The resulting out-of-bounds writes can corrupt memory and terminate the process. This issue is fixed in version 4.1.2.

Affected Software

1 affected component
SixLabors ImageSharp>=2.1.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:50 PM
Data Sourced
via MITRE·05:50 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using ImageSharp versions 2.1.0 through 4.1.1 are affected when they encode TIFF images with CCITT Group 4 compression. A decode-and-re-encode workflow may preserve CCITT Group 4 compression and one-bit metadata from attacker-supplied TIFF input.

2

What does an attacker need to do to trigger the failure?

An attacker needs to cause the application to encode TIFF data using the CCITT Group 4 encoder. In applications that decode and re-encode uploaded images, a crafted input can cause the re-encoded output to retain the relevant compression and metadata settings.

3

What is the impact if exploitation succeeds?

Unchecked writes can exceed the encoder's allocated output buffer, corrupting memory and terminating the process. The reported impact is availability loss.

4

How can the issue be remediated?

Upgrade ImageSharp to version 4.1.2, which fixes the issue.

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