CVE-2026-107373ExtUtils::Typemaps::STL::String versions before 1.06 for Perl T_STD_STRING typemap may…
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
Fixed builds are available from Debian: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libextutils-typemaps-default-perl | Fix pending | UBUNTU-CVE-2026-107373 | |
| Ubuntu 26.04 | libextutils-typemaps-default-perl | Under investigation | UBUNTU-CVE-2026-107373 | |
| Ubuntu 24.04 | libextutils-typemaps-default-perl | Under investigation | UBUNTU-CVE-2026-107373 | |
| Ubuntu 22.04 | libextutils-typemaps-default-perl | Under investigation | UBUNTU-CVE-2026-107373 | |
| Ubuntu 20.04 | libextutils-typemaps-default-perl | Fix pending | UBUNTU-CVE-2026-107373 | |
| Ubuntu 18.04 | libextutils-typemaps-default-perl | Fix pending | UBUNTU-CVE-2026-107373 | |
| Ubuntu 16.04 | libextutils-typemaps-default-perl | Fix pending | UBUNTU-CVE-2026-107373 | |
| Debian 14 | libextutils-typemaps-default-perl | Fixed | 1.07-1 | DEBIAN-CVE-2026-107373 |
| Debian 13 | libextutils-typemaps-default-perl | Fix pending | DEBIAN-CVE-2026-107373 | |
| Debian 12 | libextutils-typemaps-default-perl | Fix pending | DEBIAN-CVE-2026-107373 |
What the vendor says
As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- ExtUtils-Typemaps-Default: affected: before 1.06; fixed in
1.06
Solution: Upgrade to ExtUtils::Typemaps::Default version 1.06 or later. Rebuild any modules that use ExtUtils::Typemaps::Default as part of their build process.
Workaround: For deployments that cannot be upgraded, ensure that arguments passed to modules that use ExtUtils::Typemaps::Default are strngified.
Vendor advisories:
References
- https://metacpan.org/release/SMUELLER/ExtUtils-Typemaps-Default-1.06/changes
- https://github.com/tsee/extutils-typemap-default/commit/a6b9c298b34ddadc582961403e715d292f82a22d
- https://rt.cpan.org/Public/Bug/Display.html?id=94110
- https://www.cve.org/CVERecord?id=CVE-2026-80490
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.