{"id":"CVE-2026-106113","summary":"ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index","details":"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\u003cHalfVector4\u003e 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.","aliases":["GHSA-j3p4-wp97-rph4"],"modified":"2026-10-07T02:47:33.318461991Z","published":"2026-10-06T17:47:17.503Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106113.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-787"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106113.json"},{"type":"FIX","url":"https://github.com/SixLabors/ImageSharp/commit/c4c4bf292298c026df470db1a17ff826515fd95d"},{"type":"FIX","url":"https://github.com/SixLabors/ImageSharp/pull/3187"},{"type":"WEB","url":"https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2"},{"type":"ADVISORY","url":"https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-j3p4-wp97-rph4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106113"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sixlabors/imagesharp","events":[{"introduced":"5d6f3893baad0defd9d1a45b31275fedcd6a63e9"},{"fixed":"dee414097e4be7bb35ef0209cf96bd0b61a7133a"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"2.0.0"},{"fixed":"4.1.2"}]}}],"versions":["v4.1.1","v4.1.0","v4.0.0","v3.1.0","v3.0.1","v3.0.0","v2.1.1","v2.1.0","v2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-106113.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}