{"id":"CVE-2026-117555","summary":"GreycLab CImg through 4.0.6 Heap Out-of-Bounds Read via Integer Overflow in _load_bmp()","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.","modified":"2026-11-04T07:20:18.249354200Z","published":"2026-10-27T13:07:51.020Z","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"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/greyclab/cimg","events":[{"introduced":"0"},{"fixed":"b9ed613d9984f9caa1617b97e1db7e429cf14fd5"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"4.0.6"}]},{"range":[{"fixed":"b9ed613d9984f9caa1617b97e1db7e429cf14fd5"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v.4.0.6","v.4.0.5","v.4.0.4","v.4.0.3","v.4.0.2","v.4.0.1","v.4.0.0","v.3.7.6","v.3.7.5","v.3.7.4","v.3.7.3","v.3.7.2","v.3.7.1","v.3.7.0","v.3.6.6","v.3.6.5","v.3.6.4","v.3.6.3","v.3.6.2","v.3.6.1","v.3.6.0","v.3.5.5","v.3.5.4","v.3.5.3","v.3.5.2","v.3.5.1","v.3.5.0","v.3.4.3","v.3.4.2","v.3.4.1","v.3.4.0","v.3.3.6","v.3.3.5","v.3.3.4","v.3.3.3","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-2026-117555.json","vanir_signatures":[{"id":"CVE-2026-117555-68cf1f83","signature_type":"Line","signature_version":"v1","source":"https://github.com/greyclab/cimg/commit/b9ed613d9984f9caa1617b97e1db7e429cf14fd5","target":{"file":"CImg.h"},"deprecated":false,"digest":{"line_hashes":["309170792478641326839092182117731582561","68502062185077388837550886676163121005","7874227389219065292240233513183558470","325550814321537769689109952105604192942","9681794253875908173882091554956355335","176982821203261013846749795233540856658","84831887610430980570768969339974511405","192337709570148847508806351177064850457","137032673806790540275569962082524499103","304487613303017880785704965386805354562","213606778552416500910715071563429360877","212577695131666972353442494659198827013","153755719900549685209627674357981784908","247129529814447871850803639217713284536","284495745627830109498921882225157156587","152260815799922973555727996127188805935","65375642574711305187243664602152991934","109214418938086111207230047748053681630","5546749051994072580089903250504873170","44196491648801621369819944466327323862","300829018562482733557757101856401849798","58847456678023317667064504925323480976","174742080489744162185407419678515973834","340218751095886924948686689587076733581","248064113394535056281042960400317659743","117392717458829571837119545331729573981","73366057532371385630004381511353660146","322614962875148658836304059001522067332","221149780907139905399615490654446555037","24647945881240268591316568450174771048","339001859904869788467174017166811731783","241867764039071049347208280179176712899","249451450408692880448656298767731446891","245806328890323057756267840908273275608","21004544227309455449119099017134224998","52989368260144389920511033485283106077","259360526841306708716091861662090630135","88872398276585551692263795979320514795","36765588595769193531303519908943703422","82532054767330787169110298861914660678","67252592596206468890930040699300934398","20429229505803887770854729110019617332","123973411228597447145389075881164442382","210469907341660394437854677799083015924","70918931291752640758409695623184458977","158145047760017994364984637965328553068","339941068989769015056986541390986532768","107869629190963116612883748166304551174","60652409688931832592092956482169011463","209268964236090841443406645736959642334","316451786601112744546900644349182699344","299795780332974486417725698929544508861","28722421410080692245858030054987755466","20964787453209531313906363667888325588","71607020049139282191951400234451241513","186117285975249328068899097131805501950","318950577029088208921450166928361951025","157499950834001560995948868956094620908","92803653574487012983428804964848954234","298803958275560456018395297389559028627","257398655178403289307541315043045879039","53119066682192432445821848978609818586","114279249830897703664669758993208320273","260906974762476972345729506732735392432","25076857608908180383961407652154758445","221179235299157163894446857765158755144","113573688010702461201576345840857730650","231345972930827655145153720790739360491","209233881742463775265956996778152799766","287427912822400111835344214264891560033","305667976568717525801575725835121364624","263112633881685432525359990611969225098","249936206228256131705695354564512650024","110051199108901445882545411526991384523","56673588532281201166720026094150352698"],"threshold":0.9}}],"vanir_signatures_modified":"2026-11-04T07:20:18Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","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"}]}