{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-42146","published":"2026-05-04T18:16:31.977000Z","last_modified":"2026-10-26T19:10:00.163000Z","status":"Deferred","cvss":{"version":"3.1","score":5.5,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-789"],"cpes":[],"cpes_truncated":false,"vendors":["greyclab"],"products":["greyclab/cimg"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":33,"links":{"html_es":"/es/cve/CVE-2026-42146/","html_en":"/en/cve/CVE-2026-42146/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-42146","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-42146"},"untrusted":{"vendor_name":"GreycLab","product_name":"CImg","desc_en":"CImg Library is a C++ library for image processing. Prior to commit c3aacf5, the nb_colors field read from the BMP file header is used directly to compute an allocation size without validating it against the remaining file size. A crafted BMP file with a large nb_colors value triggers an out-of-memory condition, crashing any application that uses CImg to load untrusted BMP files. This issue has been patched via commit c3aacf5.","affected":[{"untrusted_vendor":"GreycLab","untrusted_product":"CImg","versions":[]}],"references":[{"url":"https://github.com/GreycLab/CImg/commit/c3aacf5b96ac1e54b7af1957c6737dbf3949f6d3","tags":[]},{"url":"https://github.com/GreycLab/CImg/issues/477","tags":[]},{"url":"https://github.com/GreycLab/CImg/releases/tag/v.3.7.5","tags":[]},{"url":"https://github.com/GreycLab/CImg/security/advisories/GHSA-g54r-qmgx-c6fv","tags":[]}]}}