What’s Vulnerable › Vulnerabilities
CVE-2026-106116: ImageSharp: BigTIFF IFD count can keep a decoder thread in a non-progressing loop
- Severity: medium (CVSS 5.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-10-06 · updated 2026-10-24
- Weakness: CWE-835
Description
ImageSharp is a 2D graphics library. From 2.0.0 until 4.1.2, ExifReader.ReadValues64 trusts the 64-bit BigTIFF IFD entry count and iterates once per declared entry. When fewer than 20 bytes remain, ExifReader.ReadValue64 returns without advancing the stream or terminating the outer loop, so a small malformed BigTIFF can keep one decoder thread executing for an attacker-controlled duration. This report does not claim worker-pool exhaustion. This issue is fixed in version 4.1.2.
Affected products
- SixLabors ImageSharp: from 2.0.0 before 3.2.0; from 4.0.0 before 4.1.2 — fixed in 3.2.0, 4.1.2
How to fix
Upgrade to a fixed version: SixLabors ImageSharp 3.2.0, 4.1.2. Check the vendor advisory for mitigations.
References
- https://github.com/SixLabors/ImageSharp/commit/92b12d72550ebb6be5b1e22e559c361fd863a6ec
- https://github.com/SixLabors/ImageSharp/pull/3187
- https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-wmxv-xphr-5c9g
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-wmxv-xphr-5c9g
Get alerted when CVE-2026-106116 or the next vulnerability affects your stack