Storable versions before 3.05 for Perl has a stack overflow
Summary
| CVE | CVE-2017-20230 |
|---|---|
| State | PUBLISHED |
| Assigner | CPANSec |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-04-21 16:16:18 UTC |
| Updated | 2026-04-22 17:36:04 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 10 CRITICAL from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS: 0.000280000 probability, percentile 0.080830000 (date 2026-04-22)
Problem Types: CWE-121 | CWE-121 CWE-121 Stack-based Buffer Overflow
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 10 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 10 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| www.nntp.perl.org/group/perl.perl5.porters/2017/01/msg242533.html | 9b29abf9-4ab0-4765-b253-1875cd9b441e | www.nntp.perl.org | Third Party Advisory |
| metacpan.org/release/RURBAN/Storable-3.05/changes | 9b29abf9-4ab0-4765-b253-1875cd9b441e | metacpan.org | Release Notes |
| github.com/Perl/perl5/commit/a258c17c6937f79529c8319a829310e09cdbd216.patch | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | Patch |
| www.openwall.com/lists/oss-security/2026/04/21/5 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List |
| github.com/Perl/perl5/issues/15831 | 9b29abf9-4ab0-4765-b253-1875cd9b441e | github.com | Issue Tracking |
| www.nntp.perl.org/group/perl.perl5.porters/2017/01/msg242703.html | 9b29abf9-4ab0-4765-b253-1875cd9b441e | www.nntp.perl.org | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2017-01-24T00:00:00.000Z | Perl bug RT1 30635 reported. |
| CNA | 2017-01-25T00:00:00.000Z | Patch committed. |
| CNA | 2017-01-29T00:00:00.000Z | Storable version 3.05 released. |
| CNA | 2018-02-20T00:00:00.000Z | Perl v5.27.9 released with Storable 3.06. |
| CNA | 2018-10-06T00:00:00.000Z | issue assigned CPANSA-Storable-2017-01 in the CPANSA distribution. |
Solutions
CNA: Upgrade to Storable version 3.05 or newer.
There are currently no legacy QID mappings associated with this CVE.