{"id":"CVE-2026-19082","aliases":[],"kind":"cve","tier":"cold","status":"published","title":"Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via strlen() over-read from zero-count ASCII EXIF entries in copy_string_tags","description":"Imager versions from 0.45_02 before 1.034 for Perl may expose adjacent heap bytes via strlen() over-read from zero-count ASCII EXIF entries in copy_string_tags.\n\ncopy_string_tags() computes an ASCII EXIF tag's length as `entry->size - 1` to strip the trailing NUL. A zero-count ASCII entry sets `entry->size` to 0, and the derived length reaches i_tags_add() as -1, which is interpreted as a request to call strlen(), scanning past the entry to the next NUL and copying those bytes into the tag. JPEG reaches this path via im_decode_exif(), as does the separate Imager::File::WEBP distribution, which is fixed by upgrading Imager.\n\nAny caller of Imager->read() on an attacker-supplied image with such an entry may receive an exif_* tag holding adjacent heap bytes instead of an empty string.","ai_summary":null,"severity":"high","cvss":{"score":7.5,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CNA"},"scores":[{"score":7.5,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"adp"},{"score":7.5,"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"cna"}],"cwe":["CWE-125"],"remote":true,"remote_unauth":true,"epss":{"score":0.00508,"percentile":0.36667,"date":"2026-11-29"},"kev":{"listed":false,"added":null,"due":null,"ransomware":null},"exploit":{"public":false,"exploitdb_ids":[]},"affected":[],"affected_products":[{"vendor":"TONYC","product":"Imager","versions":">= 0.45_02, < 1.034","source":"cvelist"}],"ai_versions":null,"mitigation":"Upgrade Imager to 1.034 or later.","technologies":[],"references":[{"url":"https://github.com/tonycoz/imager/security/advisories/GHSA-hx46-55wp-hv6m","kind":"vendor"},{"url":"https://github.com/tonycoz/imager/commit/24bde0427a113264d53f45a9c29ae756d84c82fe.patch","kind":"patch"},{"url":"https://metacpan.org/release/TONYC/Imager-1.034/changes","kind":"other"},{"url":"http://www.openwall.com/lists/oss-security/2026/08/07/6","kind":"other"}],"workarounds":null,"vendors":["tonyc"],"products":["imager"],"cpes":[],"published_at":"2026-08-07T17:56:49.592Z","modified_at":"2026-10-23T20:10:00.160Z","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-2026-19082"}],"links":{"html":"https://flawdb.com/CVE-2026-19082","markdown":"https://flawdb.com/CVE-2026-19082.md","json":"https://flawdb.com/api/v1/entries/CVE-2026-19082"}}