CVEfocus › CVE database › CVE-2017-20230

CVE-2017-20230Storable versions before 3.05 for Perl has a stack overflow

CVSS 10.0 CriticalEPSS 0.7% (higher than 52% of CVEs)Published 2026-04-21Updated 2026-04-21Assigner: CPANSec

Storable versions before 3.05 for Perl has a stack overflow. The retrieve_hook function stored the length of the class name into a signed integer but in read operations treated the length as unsigned. This allowed an attacker to craft data that could trigger the overflow.

CWE-121

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

3Fixed
5Fix pending
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04perlNot affected
vulnerable_code_not_present
Ubuntu 25.10perlNot affected
vulnerable_code_not_present
Ubuntu 24.04perlNot affected
vulnerable_code_not_present
Ubuntu 22.04perlNot affected
vulnerable_code_not_present
Ubuntu 20.04perlFix pendingUBUNTU-CVE-2017-20230
Ubuntu 18.04perlFix pendingUBUNTU-CVE-2017-20230
Ubuntu 16.04perlFix pendingUBUNTU-CVE-2017-20230
Ubuntu 14.04perlFix pendingUBUNTU-CVE-2017-20230
Debian 14perlFixed5.28.0-3DEBIAN-CVE-2017-20230
Debian 13perlFixed5.28.0-3DEBIAN-CVE-2017-20230
Debian 12perlFixed5.28.0-3DEBIAN-CVE-2017-20230
Red Hat Enterprise Linux 10perl-StorableNot affected
Red Hat Enterprise Linux 9perl-StorableNot affected
Red Hat Enterprise Linux 8perl-StorableNot affected
Red Hat Enterprise Linux 7perl-StorableFix pending
Fix deferred

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to Storable version 3.05 or newer.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.