{"id":"CVE-2018-7640","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafte…","description":"An issue was discovered in CImg v.220. A heap-based buffer over-read in load_bmp in CImg.h occurs when loading a crafted bmp image, a different vulnerability than CVE-2018-7588. This is in a Monochrome case, aka case 1.","ai_summary":null,"severity":"high","cvss":{"score":7.8,"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD"},"scores":[{"score":7.8,"version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"nvd"},{"score":6.8,"version":"2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","source":"nvd"}],"cwe":["CWE-125"],"remote":false,"remote_unauth":false,"epss":{"score":0.01208,"percentile":0.69236,"date":"2026-12-01"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":true,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"n/a","product":"n/a","versions":"","source":"nvd"}],"ai_versions":null,"mitigation":"No fix listed yet: follow the vendor advisory.","technologies":[],"references":[{"url":"https://github.com/dtschump/CImg/issues/185","kind":"exploit"},{"url":"https://lists.debian.org/debian-lts-announce/2019/09/msg00030.html","kind":"other"},{"url":"https://lists.debian.org/debian-lts-announce/2020/10/msg00033.html","kind":"other"}],"workarounds":null,"vendors":["cimg"],"products":["cimg"],"cpes":["cpe:2.3:a:cimg:cimg:.220:*:*:*:*:*:*:*"],"published_at":"2018-03-02T14:00:00.000Z","modified_at":"2026-06-17T02:03:27.700Z","promoted_at":null,"attribution":[{"source":"CVE Program","text":"CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation.","url":"https://www.cve.org/Legal/TermsOfUse"},{"source":"NVD","text":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-7640"}],"links":{"html":"https://flawdb.com/CVE-2018-7640","markdown":"https://flawdb.com/CVE-2018-7640.md","json":"https://flawdb.com/api/v1/entries/CVE-2018-7640"}}