{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "4.0.6"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "b9ed613d9984f9caa1617b97e1db7e429cf14fd5"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b9ed613d9984f9caa1617b97e1db7e429cf14fd5"
            }
          ],
          "repo": "https://github.com/greyclab/cimg",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-190"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117555.json"
  },
  "details": "CImg through 4.0.6 contains a heap out-of-bounds read vulnerability in the _load_bmp() function of CImg.h caused by an integer overflow in the row byte count. Attackers can supply a crafted BMP file with a large header width that wraps dx_bytes, causing crashes or heap memory disclosure into the decoded image.",
  "id": "CVE-2026-117555",
  "modified": "2026-11-04T02:30:48.176103709Z",
  "published": "2026-10-27T13:07:51.020Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/117xxx/CVE-2026-117555.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-117555"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/greyclab-cimg-through-4.0.6-heap-out-of-bounds-read-via-integer-overflow-in-load-bmp"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/GreycLab/CImg/issues/495"
    },
    {
      "type": "FIX",
      "url": "https://github.com/GreycLab/CImg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/GreycLab/CImg"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/GreycLab/CImg/blob/v.4.0.6/CImg.h#L55659"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()"
}