Vulnerability · Published Oct 6, 2026 · Assigned by GitHub_M
CVE-2026-106116ImageSharp: BigTIFF IFD count can keep a decoder thread in a non-progressing loop
Medium 5.3
In plain English
A medium-severity infinite loop in ImageSharp from SixLabors. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 26% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| NuGet | sixlabors.imagesharp | 3.2.0 | GHSA-wmxv-xphr-5c9g |
| NuGet | sixlabors.imagesharp | 4.1.2 | GHSA-wmxv-xphr-5c9g |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| SixLabors | ImageSharp | >= 2.0.0, < 4.1.2 |
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-wmxv-xphr-5c9g x_refsource_CONFIRM
- https://github.com/SixLabors/ImageSharp/pull/3187 x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/commit/92b12d72550ebb6be5b1e22e559c361fd863a6ec x_refsource_MISC
- https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2 x_refsource_MISC