Description
ImageSharp is a 2D graphics library. From 3.0.0 until 4.1.1, tiled TIFF decoding allocates a destination buffer using TileWidth but TiffDecompressorsFactory.Create constructs T4, T6, and Modified Huffman decompressors using the full frame width. TiffDecoderCore.DecodeTilesChunky can therefore direct frame-width fax scanlines into a tile-width buffer when TileWidth is smaller than ImageWidth. The mismatch causes attacker-controlled out-of-bounds writes, heap corruption, and process termination even with legal per-row run codes. This tiled-path vulnerability is distinct from oversized CCITT runs in strip decoding. This issue is fixed in version 4.1.1.
Severity (CVSS)
| Base score | 7.5 |
|---|---|
| Severity | High |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Provided by | CNA |
Weaknesses
- CWE-787 — CWE-787: Out-of-bounds Write
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SixLabors | ImageSharp | >= 3.0.0, < 4.1.1 |
References
- https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-v76p-62qx-wwq2 (x_refsource_CONFIRM)
- https://github.com/SixLabors/ImageSharp/pull/3176 (x_refsource_MISC)
- https://github.com/SixLabors/ImageSharp/commit/9ee7d1dd5b62d8c9f16cc755e76828386bc2191f (x_refsource_MISC)
- https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.1 (x_refsource_MISC)
Generated from the official CVE List on 07 Oct 2026 10:16 UTC.