CVE Explorer
CVE-2026-13705
Imager versions before 1.032 for Perl have a heap out-of-bounds read in the bundled Imager::File::SGI reader via a 16-bit RLE literal run in read_rgb_16_rle.
read_rgb_16_rle guards each literal run with if (count > data_left), but count is a pixel count while every 16-bit sample consumes two bytes. The copy loop reads inp[0] * 256 + inp[1] and advances two bytes per pixel, so a run with data_left / 2 < count <= data_left passes the guard yet consumes 2 * count bytes and reads past the end of th
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","packageName":"Imager","product":"Imager","programFiles":["SGI/imsgi.c"],"programRoutines":[{"name":"read_rgb_16_rle"}],"repo":"https://github.com/tonycoz/imager","vendor":"TONYC","versions":[{"lessThan":"1.032","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:83c4847529b15b6aaff0173beba5b28a34658c309eaa4b3419eb6bdc8616bdf5 · sha256:31d7242ab60d2bad… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:83c4847529b15b6aaff0173beba5b28a34658c309eaa4b3419eb6bdc8616bdf5 · sha256:31d7242ab60d2bad… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-125","description":"CWE-125 Out-of-bounds Read","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:83c4847529b15b6aaff0173beba5b28a34658c309eaa4b3419eb6bdc8616bdf5 · sha256:31d7242ab60d2bad… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/07/06/3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:83c4847529b15b6aaff0173beba5b28a34658c309eaa4b3419eb6bdc8616bdf5 · sha256:31d7242ab60d2bad… · /containers/adp/0/references/0
{"tags":["patch"],"url":"https://github.com/tonycoz/imager/commit/f28de02770dfc26ffbdc32048970ed84babbf730.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:83c4847529b15b6aaff0173beba5b28a34658c309eaa4b3419eb6bdc8616bdf5 · sha256:31d7242ab60d2bad… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/TONYC/Imager-1.032/source/Changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:83c4847529b15b6aaff0173beba5b28a34658c309eaa4b3419eb6bdc8616bdf5 · sha256:31d7242ab60d2bad… · /containers/cna/references/1
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.