All reports
Medium

perl-Storable: Storable for Perl: Denial of service via stack overflow in retrieve_hook function

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2017-20230

Probability of exploitation in the next 30 days: 0.65%

FIRST EPSS · 2026-11-19

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.

A flaw was found in Storable for Perl. A remote attacker can exploit a vulnerability in the retrieve_hook function by crafting malicious data. This flaw occurs because the function incorrectly handles the length of class names, storing it as a signed integer but processing it as unsigned during read operations. Successful exploitation leads to a stack overflow, which can cause a denial of service.