{"id":"CVE-2022-1325","details":"A flaw was found in Clmg, where with the help of a maliciously crafted pandore or bmp file with modified dx and dy header field values it is possible to trick the application into allocating huge buffer sizes like 64 Gigabyte upon reading the file from disk or from a virtual buffer.","modified":"2026-08-27T08:40:19.343175Z","published":"2022-08-31T15:33:00Z","database_specific":{"cna_assigner":"redhat","cwe_ids":["CWE-400"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1325.json"},"references":[{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2022-1325"},{"type":"WEB","url":"https://huntr.dev/bounties/a5e4fc45-8f14-4dd1-811b-740fc50c95d2/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1325.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1325"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2074549"},{"type":"REPORT","url":"https://github.com/GreycLab/CImg/issues/343"},{"type":"FIX","url":"https://github.com/GreycLab/CImg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90"},{"type":"FIX","url":"https://github.com/GreycLab/CImg/pull/348"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/greyclab/cimg","events":[{"introduced":"0"},{"fixed":"bc010ab25a45165b9ad1df48f13eea60a59a5a58"},{"fixed":"619cb58dd90b4e03ac68286c70ed98acbefd1c90"}],"database_specific":{"cpe":"cpe:2.3:a:cimg:cimg:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.1.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["Fixed in v3.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":{"vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["199009988296311744581264096848594970733","173803945332263725694407102049732288178","76086414852687471766510299435246969734","188833995392480496146840836125663074611","71957255425927416747684803432329910077","333824173661748877333047247943826471973","133180822799134812673775285761798705803","279690001938638048863700790815860644277","26306519678937643407590505004308123302","256715466992219917347677376676370471072","177629669910671853828256090306333181929","182137154599021024632672691704378607452","127142316968632258414998917208938156975"],"threshold":0.9},"id":"CVE-2022-1325-bfa72b2d","signature_type":"Line","signature_version":"v1","source":"https://github.com/greyclab/cimg/commit/619cb58dd90b4e03ac68286c70ed98acbefd1c90","target":{"file":"CImg.h"}}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-1325.json","vanir_signatures_modified":"2026-08-27T08:40:19Z"}}],"schema_version":"1.9.0"}