{"api_version":"1","generated_at":"2026-10-21T09:31:53+00:00","cve":"CVE-2026-112202","urls":{"html":"https://cve.report/CVE-2026-112202","api":"https://cve.report/api/cve/CVE-2026-112202.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-112202","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-112202"},"summary":{"title":"Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images","description":"Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images.\n\nWith `gif_consolidate => 1`, palette indices from the image are used without checking the colour table's bounds. The i_readgif_low routine reads beyond the heap allocation and copies the bytes into output pixels. The default GIF reader is not affected.\n\nThe same code ships bundled in the Imager distribution.\n\nAn attacker supplying a crafted GIF can disclose adjacent heap memory through the decoded output and may crash the process.","state":"PUBLISHED","assigner":"CPANSec","published_at":"2026-10-20 23:17:01","updated_at":"2026-10-21 03:17:19"},"problem_types":["CWE-125","CWE-125 CWE-125 Out-of-bounds Read"],"metrics":[],"references":[{"url":"https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036.patch","name":"https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036.patch","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/TONYC/Imager-File-GIF-1.006/changes","name":"https://metacpan.org/release/TONYC/Imager-File-GIF-1.006/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"http://www.openwall.com/lists/oss-security/2026/10/21/1","name":"http://www.openwall.com/lists/oss-security/2026/10/21/1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://metacpan.org/release/TONYC/Imager-1.040/changes","name":"https://metacpan.org/release/TONYC/Imager-1.040/changes","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-v4hp-5h6w-9897","name":"https://github.com/tonycoz/imager/security/advisories/GHSA-v4hp-5h6w-9897","refsource":"9b29abf9-4ab0-4765-b253-1875cd9b441e","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-112202","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112202","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[{"source":"CNA","title":"","value":"Upgrade to Imager-File-GIF 1.006 or later, or to Imager 1.040 or later if the bundled copy is in use.","time":"","lang":"en"}],"workarounds":[{"source":"CNA","title":"","value":"Disable the gif_consolidate read option when processing untrusted GIF images.","time":"","lang":"en"}],"exploits":[],"credits":[{"source":"CNA","value":"kumar-Prakash07","lang":"en"}],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2026-10-21T02:11:40.235Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"url":"http://www.openwall.com/lists/oss-security/2026/10/21/1"}],"title":"CVE Program Container"}],"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Imager::File::GIF"],"packageName":"Imager-File-GIF","packageURL":"pkg:cpan/Imager-File-GIF","programFiles":["imgif.c"],"programRoutines":[{"name":"i_readgif_low"}],"repo":"https://github.com/tonycoz/imager","versions":[{"lessThan":"1.006","status":"affected","version":"0","versionType":"custom"}]},{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["Imager::File::GIF"],"packageName":"Imager","packageURL":"pkg:cpan/Imager","programFiles":["GIF/imgif.c"],"programRoutines":[{"name":"i_readgif_low"}],"repo":"https://github.com/tonycoz/imager","versions":[{"lessThan":"1.040","status":"affected","version":"0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"reporter","value":"kumar-Prakash07"}],"descriptions":[{"lang":"en","value":"Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images.\n\nWith `gif_consolidate => 1`, palette indices from the image are used without checking the colour table's bounds. The i_readgif_low routine reads beyond the heap allocation and copies the bytes into output pixels. The default GIF reader is not affected.\n\nThe same code ships bundled in the Imager distribution.\n\nAn attacker supplying a crafted GIF can disclose adjacent heap memory through the decoded output and may crash the process."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-10-20T22:37:43.477Z","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec"},"references":[{"tags":["patch"],"url":"https://github.com/tonycoz/imager/commit/dec96f12b3d8a7fd94e86264953a5e4919dd6036.patch"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TONYC/Imager-File-GIF-1.006/changes"},{"tags":["release-notes"],"url":"https://metacpan.org/release/TONYC/Imager-1.040/changes"},{"tags":["vendor-advisory"],"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-v4hp-5h6w-9897"}],"solutions":[{"lang":"en","value":"Upgrade to Imager-File-GIF 1.006 or later, or to Imager 1.040 or later if the bundled copy is in use."}],"source":{"discovery":"UNKNOWN"},"title":"Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images","workarounds":[{"lang":"en","value":"Disable the gif_consolidate read option when processing untrusted GIF images."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}}},"cveMetadata":{"assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","assignerShortName":"CPANSec","cveId":"CVE-2026-112202","datePublished":"2026-10-20T22:37:43.477Z","dateReserved":"2026-10-19T10:02:31.268Z","dateUpdated":"2026-10-21T02:11:40.235Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-10-20 23:17:01","lastModifiedDate":"2026-10-21 03:17:19","problem_types":["CWE-125","CWE-125 CWE-125 Out-of-bounds Read"],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"112202","Ordinal":"1","Title":"Imager::File::GIF versions before 1.006 for Perl allow out-of-bo","CVE":"CVE-2026-112202","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"112202","Ordinal":"1","NoteData":"Imager::File::GIF versions before 1.006 for Perl allow out-of-bounds reads when consolidating GIF images.\n\nWith `gif_consolidate => 1`, palette indices from the image are used without checking the colour table's bounds. The i_readgif_low routine reads beyond the heap allocation and copies the bytes into output pixels. The default GIF reader is not affected.\n\nThe same code ships bundled in the Imager distribution.\n\nAn attacker supplying a crafted GIF can disclose adjacent heap memory through the decoded output and may crash the process.","Type":"Description","Title":"Imager::File::GIF versions before 1.006 for Perl allow out-of-bo"}]}}}