{"id":"CVE-2024-26540","details":"A heap-based buffer overflow in Clmg before 3.3.3 can occur via a crafted file to cimg_library::CImg\u003cunsigned char\u003e::_load_analyze.","modified":"2026-08-27T09:37:37.251811Z","published":"2024-03-15T00:00:00Z","database_specific":{"cna_assigner":"mitre","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26540.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26540.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-26540"},{"type":"REPORT","url":"https://github.com/GreycLab/CImg/issues/403"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/greyclab/cimg","events":[{"introduced":"0"},{"fixed":"157800186587ed368cd2cb30e0974bc079cbe556"}],"database_specific":{"cpe":"cpe:2.3:a:cimg:cimg:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.3.3"}],"source":["DESCRIPTION","CPE_RANGE"]}}],"versions":["v.3.3.2","v.3.3.1","v.3.3.0","v.3.2.6","v.3.2.5","v.3.2.4","v.3.2.3","v.3.2.2","v.3.2.1","v.3.2.0","v.3.1.6","v.3.1.4","v.3.1.3","v.3.1.2","v.3.1.1","v.3.1.0","v.2.9.0","v.2.8.4","v.2.8.3","v.2.8.2","v.2.8.1","v.2.8.0","v.2.7.5","v.2.7.4","v.2.7.3","v.2.7.2","v.2.7.1","v.2.7.0","v.2.6.7","v.2.6.6","v.2.6.5","v.2.6.4","v.2.6.3","v.2.6.2","v.2.6.1","v.2.6.0","v.2.5.7","v.2.5.6","v.2.5.5","v.2.5.4","v.2.5.3","v.2.5.2","v.2.5.1","v.2.5.0","v.2.4.5","v.2.4.4","v.2.4.3","v.2.4.2","v.2.4.1","v.2.4.0","v.2.3.6","v.2.3.5","v.2.3.4","v.2.3.3","v.2.3.2","v.2.3.1","v.2.3.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-26540.json","vanir_signatures_modified":"2026-08-27T09:37:37Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["155669739585643622889137027896997700532","88568925240059472017629875457572398671","321192010424700383896782719236117411911","20862745565239506495325848946152351854","86902541839714401340114288423925871836","115851533477071982017476682743649757827","221883510274202488777259975584335518668","47736392895373558861172942918092634579"],"threshold":0.9},"id":"CVE-2024-26540-888649b9","signature_type":"Line","signature_version":"v1","source":"https://github.com/greyclab/cimg/commit/157800186587ed368cd2cb30e0974bc079cbe556","target":{"file":"CImg.h"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}]}