# CVE-2026-106113: ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.39%, higher than 35% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-06T17:47:17.503Z
- Modified: 2026-10-26T14:30:04.741Z
- Also known as: GHSA-j3p4-wp97-rph4
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- SixLabors ImageSharp: >= 2.0.0, < 4.1.2; from 2.0.0 before 3.2.0; from 4.0.0 before 4.1.2
- SixLabors.ImageSharp (NuGet): from 2.0.0 before 3.2.0; from 4.0.0 before 4.1.2

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-j3p4-wp97-rph4> (exploit, vendor-advisory, web)
- <https://github.com/SixLabors/ImageSharp/pull/3187> (issue-tracking, patch, web)
- <https://github.com/SixLabors/ImageSharp/commit/c4c4bf292298c026df470db1a17ff826515fd95d> (patch, web)
- <https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-106113> (advisory)
- <https://github.com/SixLabors/ImageSharp/pull/3208> (web)
- <https://github.com/SixLabors/ImageSharp/commit/baa37cd19077b2a2a0c5667535111cf31d48c019> (web)
- <https://github.com/SixLabors/ImageSharp> (package)
- <https://github.com/SixLabors/ImageSharp/releases/tag/v3.2.0> (web)

## Sources

- CVE List: [CVE-2026-106113](https://www.cve.org/CVERecord?id=CVE-2026-106113), CVE Terms of Use, modified 2026-10-07
- GitHub Advisory Database: [GHSA-j3p4-wp97-rph4](https://github.com/advisories/GHSA-j3p4-wp97-rph4), CC-BY-4.0, modified 2026-10-26
- NVD: [CVE-2026-106113](https://nvd.nist.gov/vuln/detail/CVE-2026-106113), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-106113 · Whole record: https://cve.day/CVE-2026-106113.json · Rebuilt by cve.day 2026-11-25T22:59:42.388Z
