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
Unknown product
CVSS
9.1CriticalExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.40%Chance of exploitation activity in the next 30 days, higher than 33% of CVEs. Scored 23 Oct 2026FIRST EPSS
What fixes it
- 1.06CVE List
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
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.
Text from CVE List
Affected versions 1
- Productaffected: all versions before 1.06CVE List
References 4
- github.com/tsee/extutils-typemap-default/commit/a6b9c298b34ddadc582961403e715d292f82a22dFixvia CVE List
- metacpan.org/release/SMUELLER/ExtUtils-Typemaps-Default-1.06/changesReferencevia CVE List
- rt.cpan.org/Public/Bug/Display.html?id=94110Referencevia CVE List
- cve.org/CVERecord?id=CVE-2026-80490Referencevia CVE List