CVE Explorer
CVE-2026-13708
Imager::File::JPEG versions before 1.003 for Perl leak heap memory when reading a JPEG with repeated APP13 markers in i_readjpeg_wiol.
i_readjpeg_wiol walks the marker list libjpeg returns and, for each APP13 marker, allocates a new buffer with *iptc_itext = mymalloc(...) and overwrites the previous pointer without freeing it. Only the final payload is later turned into a Perl scalar and freed, so a JPEG with N such markers leaks the first N-1 payloads on every read.
In a long-lived process, s
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-File-JPEG","product":"Imager::File::JPEG","programFiles":["imjpeg.c"],"programRoutines":[{"name":"i_readjpeg_wiol"}],"repo":"https://github.com/tonycoz/imager","vendor":"TONYC","versions":[{"lessThan":"1.003","status":"affected","version":"0","versionType":"custom"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:5d216ea9fa1999b3bd3ec58eda5fb6aaafdf79d314b994001900e252c9e4e70e · sha256:144a7468b5f324e6… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:5d216ea9fa1999b3bd3ec58eda5fb6aaafdf79d314b994001900e252c9e4e70e · sha256:144a7468b5f324e6… · /containers/adp/1/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-401","description":"CWE-401 Missing Release of Memory after Effective Lifetime","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:5d216ea9fa1999b3bd3ec58eda5fb6aaafdf79d314b994001900e252c9e4e70e · sha256:144a7468b5f324e6… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"url":"http://www.openwall.com/lists/oss-security/2026/07/06/4"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5d216ea9fa1999b3bd3ec58eda5fb6aaafdf79d314b994001900e252c9e4e70e · sha256:144a7468b5f324e6… · /containers/adp/0/references/0
{"tags":["patch"],"url":"https://github.com/tonycoz/imager/commit/9f1c485ca3ee15dc261549e11afb356866552c3a.patch"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5d216ea9fa1999b3bd3ec58eda5fb6aaafdf79d314b994001900e252c9e4e70e · sha256:144a7468b5f324e6… · /containers/cna/references/0
{"tags":["release-notes"],"url":"https://metacpan.org/release/TONYC/Imager-File-JPEG-1.003/source/Changes"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:5d216ea9fa1999b3bd3ec58eda5fb6aaafdf79d314b994001900e252c9e4e70e · sha256:144a7468b5f324e6… · /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.