Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-106116 EUVD-2026-93559GHSA-wmxv-xphr-5c9g

ImageSharp: BigTIFF IFD count can keep a decoder thread in a non-progressing loop

Published Oct 6, 2026 · Updated Oct 6, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
SixLabors ImageSharp >= 2.0.0, < 4.1.2 —

Affected packages

EcosystemPackageAffectedFixedRecord
NuGet SixLabors.ImageSharp >= 2.0.0, < 3.2.0 3.2.0 GHSA-wmxv-xphr-5c9g
NuGet SixLabors.ImageSharp >= 4.0.0, < 4.1.2 4.1.2 GHSA-wmxv-xphr-5c9g

References