CVE-2017-20230

Storable versions before 3.05 for Perl has a stack overflow

Published Apr 21, 2026 CVSS 3.1 · 10 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The Storable module in Perl suffered a vulnerability that triggers a stack overflow in versions prior to 3.05. The retrieve_hook routine stores the class name length as a signed integer but later interprets it as unsigned during read operations, allowing an attacker to engineer data that overflows the stack. This corruption can lead to the replacement of execution pointers or other critical data, potentially enabling arbitrary code execution within the context of the affected Perl process.

Affected Systems

Affected products include the Perl Storable module distributed by the NWCLARK:Storable vendor. Any installation of Storable 3.04 or earlier is vulnerable. The concern applies to all systems running Perl applications that import or deserialize Storable data from untrusted sources.

Risk and Exploitability

The CVSS score is 10, indicating critical severity. The EPSS score is < 1%, indicating a very low but non‑zero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Exploitation would require the attacker to supply crafted Storable data to a vulnerable Perl program. Based on the description, it is inferred that the likely attack vector is through deserialization of maliciously constructed data, which may occur via local file uploads or remote input depending on the application’s design.

Remediation

Vendor Solution

Upgrade to Storable version 3.05 or newer.


OpenCVE Recommended Actions

  • Upgrade the Storable module to version 3.05 or newer
  • Restrict deserialization of Storable data to inputs from trusted sources only, isolating any untrusted data handling in a sandboxed environment
  • If immediate upgrade is not feasible, replace Storable with a vetted alternative serialization library and disable unsafe deserialization functions

Generated by OpenCVE AI on April 29, 2026 at 00:26 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:nwclark:storable:*:*:*:*:*:perl:*:*
Type Values Removed Values Added
First Time appeared Nwclark
Nwclark storable
Vendors & Products Nwclark
Nwclark storable
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 10, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Storable versions before 3.05 for Perl has a stack overflow
Weaknesses CWE-121
References
Weaknesses
  • CWE-121

    Stack-based Buffer Overflow

  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Apr 21, 2026, 6:22 PM
Reserved
Mar 28, 2026, 7:24 PM
Status
Analyzed
Published
Apr 21, 2026, 4:16 PM
Modified
Jun 17, 2026, 1:15 AM
Severity
Moderate
Public date
Apr 21, 2026, 3:26 PM