CVE-2025-15649
JSON

5.5medium

IO::Uncompress::Unzip versions before 2.215 for Perl propagate uncaught exception when parsing zip header with malformed DOS date

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.17% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
CPANSec

Description

IO::Uncompress::Unzip versions before 2.215 for Perl propagate uncaught exception when parsing zip header with malformed DOS date. _dosToUnixTime() decodes the local-file-header last-modification date field and calls Time::Local::timelocal() without an eval guard. A header whose date field decodes to an out-of-range month, day, or hour causes timelocal() to die. The exception propagates out of IO::Uncompress::Unzip->new($file) where callers expect undef plus $UnzipError.

Affected

Product or packageVersionsReported by
IO-Compressbefore 2.215CVE List

Classification

CWE-248

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

IO::Uncompress::Unzip versions before 2.215 for Perl propagate uncaught exception when parsing zip header with malformed DOS date. _dosToUnixTime() decodes the local-file-header last-modification date field and calls Time::Local::timelocal() without an eval guard. A header whose date field decodes to an out-of-range month, day, or hour causes timelocal() to die. The exception propagates out of IO::Uncompress::Unzip->new($file) where callers expect undef plus $UnzipError.

NVD (es)

Las versiones de IO::Uncompress::Unzip anteriores a la 2.215 para Perl propagan una excepción no capturada al analizar la cabecera zip con una fecha DOS mal formada. _dosToUnixTime() decodifica el campo de fecha de última modificación de la cabecera del archivo local y llama a Time::Local::timelocal() sin una protección eval. Una cabecera cuyo campo de fecha decodifica a un mes, día u hora fuera de rango provoca que timelocal() falle. La excepción se propaga desde IO::Uncompress::Unzip -> new($file) donde los llamadores esperan undef más $UnzipError.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-15649 changed 2026-11-10CVE Terms of Use
NVDCVE-2025-15649 changed 2026-11-10Public domain