Skip to content
Heist/ feed
Back to feed
High

ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index

Type: advisorySources: OSV

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 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-106113
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 17:17 UTC · Revision 1

Source evidence

ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index

core-osv · Original source

Published 6 Oct 2026, 17:47 UTC

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 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.

osv:CVE-2026-106113
Complete source record
{
  "id": "d5fb4afbbe08b6caea9f2400de90227a8c0602d3d92248bcbc65a9ed108b63f0",
  "url": "https://osv.dev/vulnerability/CVE-2026-106113",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ImageSharp: HistogramEqualization uses an unvalidated luminance as an unchecked histogram index",
    "summary": "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 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.",
    "evidence": "osv:CVE-2026-106113",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-106113",
      "aliases": [
        "CVE-2026-106113",
        "GHSA-j3p4-wp97-rph4"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/sixlabors/imagesharp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5d6f3893baad0defd9d1a45b31275fedcd6a63e9"
                },
                {
                  "fixed": "baa37cd19077b2a2a0c5667535111cf31d48c019"
                },
                {
                  "introduced": "ff36e83c740e8049574eb468798151e96a176f12"
                },
                {
                  "fixed": "dee414097e4be7bb35ef0209cf96bd0b61a7133a"
                },
                {
                  "fixed": "c4c4bf292298c026df470db1a17ff826515fd95d"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.0.0"
                      },
                      {
                        "fixed": "3.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:sixlabors:imagesharp:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "4.0.0"
                      },
                      {
                        "fixed": "4.1.2"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "c4c4bf292298c026df470db1a17ff826515fd95d"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "dee414097e4be7bb35ef0209cf96bd0b61a7133a"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v4.1.2"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v4.1.1",
            "v4.1.0",
            "v4.0.0",
            "v3.1.12",
            "v3.1.11",
            "v3.1.10",
            "v3.1.9",
            "v3.1.8",
            "v3.1.7",
            "v3.1.6",
            "v3.1.5",
            "v3.1.4",
            "v3.1.3",
            "v3.1.2",
            "v3.1.1",
            "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"
          }
        }
      ],
      "modified": "2026-10-28T02:30:51.218574360Z",
      "provider": "osv",
      "references": [
        "https://github.com/SixLabors/ImageSharp/releases/tag/v4.1.2",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106113.json",
        "https://github.com/SixLabors/ImageSharp/security/advisories/GHSA-j3p4-wp97-rph4",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-106113",
        "https://github.com/SixLabors/ImageSharp/commit/c4c4bf292298c026df470db1a17ff826515fd95d",
        "https://github.com/SixLabors/ImageSharp/pull/3187"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-787"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/106xxx/CVE-2026-106113.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-106113",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519967,
  "published_at": "2026-10-06T17:47:17.503+00:00"
}