Read the docs

Out-of-bounds write in ImageSharp HistogramEqualization

Priority LOW 39CWE-787Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-787 and the CVSS impact.

Summary

ImageSharp from 2.0.0 before 4.1.2 can receive a non-finite or out-of-range luminance during histogram equalization. The value is used as an unchecked histogram index, which causes an out-of-bounds write (CWE-787). A remote attacker without privileges or user interaction can terminate the process by supplying a crafted 32-bit floating-point TIFF decoded as Image<HalfVector4> and processed with HistogramEqualization. The references include a link to an exploit.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

ImageSharp is a 2D graphics library. From 2.0.0 until 4.1.2, decoding an attacker-supplied 32-bit floating-point TIFF as Image<HalfVector4> and applying HistogramEqualization can produce a non-finite or out-of-range luminance in ColorNumerics.GetBT709Luminance. GrayscaleLevelsRowOperation.Invoke uses the resulting value as an unchecked histogram offset, causing an unsafe out-of-range access and process termination. Adaptive Histogram Equalization and AutoLevel are not affected by this report. This issue is fixed in version 4.1.2.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.0039 33rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed ImageSharp (SixLabors): 4.1.2SixLabors.ImageSharp (NuGet): 3.2.0, 4.1.2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
SixLaborsImageSharp2.0.0 to before 4.1.24.1.2Patch availableCNA
—SixLabors.ImageSharp (NuGet)2.0.0 to before 3.2.03.2.0Patch availableGHSA-j3p4-wp97-rph4
—SixLabors.ImageSharp (NuGet)4.0.0 to before 4.1.24.1.2Patch availableGHSA-j3p4-wp97-rph4
  • ImageSharp VendorSixLabors Affected 2.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available CNA
  • SixLabors.ImageSharp (NuGet) Vendor— Affected 2.0.0 to before 3.2.0 Fixed in 3.2.0 Patch available GHSA-j3p4-wp97-rph4
  • SixLabors.ImageSharp (NuGet) Vendor— Affected 4.0.0 to before 4.1.2 Fixed in 4.1.2 Patch available GHSA-j3p4-wp97-rph4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*2.0.0 to before 3.2.0; 4.0.0 to before 4.1.2VulnerableSixLabors
  • cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:* Versions 2.0.0 to before 3.2.0; 4.0.0 to before 4.1.2 Vulnerable ·SixLabors

Remediation

Update the NuGet package SixLabors.ImageSharp to version 3.2.0 when it is 2.0.0 before 3.2.0, or to version 4.1.2 when it is 4.0.0 before 4.1.2.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA ImageSharp (SixLabors) Fixed in 4.1.2
  • Fix · GHSA-j3p4-wp97-rph4 SixLabors.ImageSharp (NuGet) Fixed in 3.2.0 Advisory →
  • Fix · GHSA-j3p4-wp97-rph4 SixLabors.ImageSharp (NuGet) Fixed in 4.1.2 Advisory →

Timeline

  1. 2026-10-06 Threatist record created from CVE-2026-106113
  2. 2026-10-07 CISA SSVC decision points changed
  3. 2026-10-07 Priority changed: MEDIUM → LOW
  4. 2026-10-07 Alias added: GHSA-j3p4-wp97-rph4
  5. 2026-10-07 Fix available: NuGet/[email protected] · GHSA-j3p4-wp97-rph4
  6. 2026-10-07 CVSS score added · GHSA-j3p4-wp97-rph4
  7. 2026-10-07 Weakness changed · GHSA-j3p4-wp97-rph4
  8. 2026-10-07 6 new references · GHSA-j3p4-wp97-rph4
  9. 2026-10-24 Weakness changed · NVD

References

  • TI-2026-68636 Out-of-bounds write in ImageSharp CCITT fax decompression CVSS 3.1HIGH 7.5
  • TI-2026-68634 Out-of-bounds write in ImageSharp TIFF CCITT Group 4 encoder CVSS 3.1HIGH 7.5
  • TI-2026-68629 Out-of-bounds write in ImageSharp TIFF CCITT encoder CVSS 3.1HIGH 7.5
  • TI-2025-20408 Out-of-bounds Write in SixLabors ImageSharp CVSS 3.1HIGH 7.5
  • TI-2026-68635 ImageSharp BigTIFF IFD count can keep a decoder thread in a non-progressing loop CVSS 3.1MEDIUM 5.3
  • TI-2026-68633 Excessive memory allocation in ImageSharp ICC CLUT parsing CVSS 3.1MEDIUM 5.3
See all 13 →

Sources