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 package | Versions | Reported by |
|---|---|---|
| IO-Compress | before 2.215 | CVE List |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-15649 changed 2026-11-10 | CVE Terms of Use |
| NVD | CVE-2025-15649 changed 2026-11-10 | Public domain |