CVE-2026-107373
ExtUtils::Typemaps::STL::String versions before 1.06 for Perl T_STD_STRING typemap may read the SV length before stringifying the argument
- Critical 9.1
Description
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.
Key facts
- Published
- 10 Oct 2026
- Last changed
- 16 Oct 2026
- Assigned by
- CPANSec
- EPSS
- 0.387% likely to be exploited in the next 30 days, higher than 33.314% of CVEs (scores for 17 Nov 2026)
- SSVC (CISA)
- Exploitation: none; Automatable: yes; Technical impact: partial
Severity scores
Each score is shown as its source gave it. They are not averaged or merged.
- 9.1CVSS 3.1, Criticalfrom CISA (ADP container)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
What to do
- Upgrade to ExtUtils::Typemaps::Default version 1.06 or later. Rebuild any modules that use ExtUtils::Typemaps::Default as part of their build process.CNA solution statement
- For deployments that cannot be upgraded, ensure that arguments passed to modules that use ExtUtils::Typemaps::Default are strngified.CNA workaround statement
Historical context and remediation
This reference retains the original CVE publication date. A recent record update does not mean a new attack occurred.
No separately sourced impact summary is available on this page yet. Consult the description, version data and dated exploitation evidence.
Version statuses below come from the CNA. An “unaffected” version is not necessarily a currently supported release or proof of a patch date. EPSS is a dated risk estimate, not a count of historical attacks.
Timeline
- 22 Mar 2014 Issue reported in bugtracker for ExtUtils::Typemaps::Default version 1.05.
- 10 Jun 2014 Fix committed to the repository. Bugtracker issue closed.
- 30 Sep 2026 Issue reported to CPANSec.
- 8 Oct 2026 ExtUtils::Typemaps::Default version 1.06 released with a fix.
- 10 Oct 2026 Published