Read the docs

Out-of-bounds read in ExtUtils::Typemaps::STL::String Perl typemap

Priority MEDIUM 45CWE-125Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA.

Summary

ExtUtils::Typemaps::STL::String versions before 1.06 for the Perl T_STD_STRING typemap read the SV length before stringifying the argument. Because C++ does not specify the evaluation order of arguments, some compilers read the length first, which gives an invalid value when the argument is an integer, number or reference. This out-of-bounds read (CWE-125) can make the program abort or segfault. A remote attacker without privileges or user interaction can trigger it.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00387 32nd percentileScored 2026-11-07
Fix Fixed ExtUtils-Typemaps-Default: 1.06

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—ExtUtils-Typemaps-Defaultbefore 1.061.06Patch availableCNA
  • ExtUtils-Typemaps-Default Vendor— Affected before 1.06 Fixed in 1.06 Patch available CNA

Remediation

ExtUtils-Typemaps-Default is fixed in version 1.06, so upgrade to 1.06 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-10-29

  • Fix · CNA ExtUtils-Typemaps-Default Fixed in 1.06

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-11 Threatist record created from CVE-2026-107373
  2. 2026-10-11 Alias added: GHSA-g3mm-4ggm-mrv5
  3. 2026-10-13 Affected versions changed · Red Hat
  4. 2026-10-13 CVSS score added · Red Hat
  5. 2026-10-16 CVSS score added · CISA ADP
  6. 2026-10-16 CISA SSVC decision points changed
  7. 2026-10-16 Priority changed: LOW → MEDIUM

References

Sources