Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-13708: CWE-401 Missing Release of Memory after Effective Lifetime in TONYC Imager::File::JPEG

0
Medium
VulnerabilityCVE-2026-13708cvecve-2026-13708cwe-401
Published: 07/06/2026 (07/06/2026, 12:04:10 UTC)
Source: CVE Database V5
Vendor/Project: TONYC
Product: Imager::File::JPEG

Description

A memory leak vulnerability exists in TONYC Imager::File::JPEG versions before 1.003 for Perl. The issue occurs when reading JPEG files containing repeated APP13 markers, causing heap memory to be allocated repeatedly without proper release. This leads to memory exhaustion in long-lived processes such as upload or thumbnailing services. The bundled handler in the Imager distribution is also affected in versions before 1.032, with a fix available in 1.032.

Affected software

GitHub Actionsmore threats →cve
Imager-File-JPEG
pkg:github/Imager-File-JPEG
Affected versions
<1.003

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 13:21:21 UTC

Technical Analysis

CVE-2026-13708 is a memory leak vulnerability (CWE-401) in the Imager::File::JPEG Perl module before version 1.003. The vulnerability arises in the i_readjpeg_wiol function, which processes JPEG APP13 markers by allocating new buffers for each marker but failing to free previously allocated memory. Only the final payload is freed, causing the first N-1 payloads to leak for a JPEG with N APP13 markers. This leak accumulates in long-running processes, potentially leading to denial of service due to memory exhaustion. The same issue affects the bundled handler in the Imager distribution before version 1.032, which includes the fix.

Potential Impact

Repeated reading of JPEG files with multiple APP13 markers causes heap memory leaks, which accumulate over time in long-lived processes. This can exhaust available memory and result in denial of service conditions. There is no indication of code execution or data corruption, only resource exhaustion.

Mitigation Recommendations

A fix is available in Imager::File::JPEG version 1.003 and in the Imager distribution version 1.032. Users should upgrade to these versions or later to remediate the memory leak. No other mitigation or workaround is indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
CPANSec
Date Reserved
2026-06-29T13:22:53.937Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4ba8b227e9c797198d8144

Added to database: 07/06/2026, 13:08:02 UTC

Last enriched: 07/06/2026, 13:21:21 UTC

Last updated: 07/06/2026, 13:47:09 UTC

Views: 4

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses