CVE-2026-107373
Uninitialized Memory Read in Perl ExtUtils::Typemaps::STL::String
Critical 9.1 No auth needed
Follow: this CVE We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Oct 10, 2026
- Updated
- Oct 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-125
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What happens
ExtUtils::Typemaps::STL::String before version 1.06 for Perl contains an uninitialized memory read vulnerability in the T_STD_STRING typemap. The evaluation order of C++ arguments is unspecified, which may cause some compilers to evaluate SvCUR() before stringifying the argument. When the argument is not a string, SvCUR returns an invalid value, causing program aborts or segmentation faults.
Show the original NVD text
ExtUtils::Typemaps::STL::String versions before 1.06 for Perl T_STD_STRING typemap may read the SV length before stringifying the argument.
The typemap uses
$var = std::string( SvPV_nolen($arg), SvCUR($arg) )
However, evaluation order for C++ arguments is not specified, and some compilers may produce code that evalutes SvCUR($arg) first.
When $arg is not a string (for example, an interger, number or a reference) then SvCUR will return an invalid value, and the program may abort or segfault.
What to do
Patch available · fixed versions: 1.06
Update ExtUtils::Typemaps::STL::String to version 1.06 or later.
- Check whether you run any of the affected products and follow the vendor advisory.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Official advisories
- perl-Math-Clipper-1.300.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12490-1 · Nov 8, 2026 Critical
- perl-ExtUtils-Typemaps-Default-1.70.0-1.1 on GA media · SUSE · openSUSE-SU-2026:12404-1 · Nov 3, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.