Out-of-bounds read in ExtUtils::Typemaps::STL::String Perl typemap
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | ExtUtils-Typemaps-Default | before 1.06 | 1.06 | Patch available | CNA |
- 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
Timeline
- 2026-10-11 Threatist record created from CVE-2026-107373
- 2026-10-11 Alias added: GHSA-g3mm-4ggm-mrv5
- 2026-10-13 Affected versions changed · Red Hat
- 2026-10-13 CVSS score added · Red Hat
- 2026-10-16 CVSS score added · CISA ADP
- 2026-10-16 CISA SSVC decision points changed
- 2026-10-16 Priority changed: LOW → MEDIUM
References
Sources
- CVE-2026-107373 · CVE Program
- CVE-2026-107373 · NVD
- FIRST EPSS
- GHSA-g3mm-4ggm-mrv5 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-107373 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences