{"id":"CVE-2026-93019","state":"PUBLISHED","title":"Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read","description":"Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read.\n\nThe reader unpacks the two-byte colour map length into a signed short, so a length of 32768 or more becomes negative. tga_palette_read() casts that value to size_t and asks mymalloc() for a size near SIZE_MAX. The allocation fails and Imager's allocator calls exit(3).\n\nReading an attacker-supplied file through Imager->read() triggers an uncatchable exit.","publishedAt":"2026-09-18T13:58:12.083Z","updatedAt":"2026-09-18T17:28:49.711Z","severity":{"score":9.1,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","source":"CISA-ADP"},"assigner":"CPANSec","products":["Imager"],"affected":[{"packageName":"Imager","packageURL":"pkg:cpan/Imager","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.036","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Imager"],"programFiles":["tga.c"],"programRoutines":[{"name":"tga_palette_read"}],"repo":"https://github.com/tonycoz/imager"}],"references":["https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2","https://github.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d571.patch","https://metacpan.org/release/TONYC/Imager-1.036/changes","http://www.openwall.com/lists/oss-security/2026/09/18/9"],"weaknesses":["CWE-196","CWE-789"],"ingestedAt":"2026-10-29T20:13:34.582Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/93xxx/CVE-2026-93019.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-93019","state":"PUBLISHED","datePublished":"2026-09-18T13:58:12.083Z","dateUpdated":"2026-09-18T17:28:49.711Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-09-17T14:56:50.796Z"},"containers":{"cna":{"title":"Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read","descriptions":[{"lang":"en","value":"Imager versions before 1.036 for Perl exit the process reading a TGA with a colour map length of 32768 or more in tga_palette_read.\n\nThe reader unpacks the two-byte colour map length into a signed short, so a length of 32768 or more becomes negative. tga_palette_read() casts that value to size_t and asks mymalloc() for a size near SIZE_MAX. The allocation fails and Imager's allocator calls exit(3).\n\nReading an attacker-supplied file through Imager->read() triggers an uncatchable exit."}],"affected":[{"packageName":"Imager","packageURL":"pkg:cpan/Imager","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.036","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","modules":["Imager"],"programFiles":["tga.c"],"programRoutines":[{"name":"tga_palette_read"}],"repo":"https://github.com/tonycoz/imager"}],"references":[{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2","tags":["vendor-advisory"]},{"url":"https://github.com/tonycoz/imager/commit/74ed50e0625f9f51054e595bb4a8da92c1e0d571.patch","tags":["patch"]},{"url":"https://metacpan.org/release/TONYC/Imager-1.036/changes","tags":["release-notes"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-196","description":"CWE-196 Unsigned to Signed Conversion Error","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-789","description":"CWE-789 Memory Allocation with Excessive Size Value","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-09-18T13:58:12.083Z"},"credits":[{"lang":"en","type":"finder","value":"router0mail"}],"solutions":[{"lang":"en","value":"Upgrade to Imager 1.036 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2026-09-18T00:00:00.000Z","value":"Version 1.036 released with fix."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/09/18/9"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-09-18T17:06:59.404Z"}},{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-p4vw-rc54-p2c2","tags":["exploit"]}],"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":9.1,"attackVector":"NETWORK","baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-09-18T17:28:31.210557Z","id":"CVE-2026-93019","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-18T17:28:49.711Z"}}]}}}