Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sixlabors | Imagesharp | >= 2.1.0, < 3.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/SixLabors/ImageSharp/commit/a9498c6db3642ef92c712ebc81e706914Patch
- https://github.com/SixLabors/ImageSharp/pull/3187Issue TrackingPatch
- https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2Release Notes
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-jjfr-hcj7-qf5wExploitVendor Advisory
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-jjfr-hcj7-qf5wExploitVendor Advisory
FAQ
What is CVE-2026-106115?
CVE-2026-106115 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2026-106115?
CVE-2026-106115 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-106115?
Check the references section above for vendor advisories and patch information. Affected products include: Sixlabors Imagesharp.