CVEfocus › CVE database › CVE-2026-107373

CVE-2026-107373ExtUtils::Typemaps::STL::String versions before 1.06 for Perl T_STD_STRING typemap may…

CVSS 9.1 CriticalEPSS 0.7% (higher than 46% of CVEs)Published 2026-10-10Updated 2026-10-16Assigner: CPANSec

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.

CWE-125

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

1Fixed
6Fix pending
3Under investigation

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libextutils-typemaps-default-perlFix pendingUBUNTU-CVE-2026-107373
Ubuntu 26.04libextutils-typemaps-default-perlUnder investigationUBUNTU-CVE-2026-107373
Ubuntu 24.04libextutils-typemaps-default-perlUnder investigationUBUNTU-CVE-2026-107373
Ubuntu 22.04libextutils-typemaps-default-perlUnder investigationUBUNTU-CVE-2026-107373
Ubuntu 20.04libextutils-typemaps-default-perlFix pendingUBUNTU-CVE-2026-107373
Ubuntu 18.04libextutils-typemaps-default-perlFix pendingUBUNTU-CVE-2026-107373
Ubuntu 16.04libextutils-typemaps-default-perlFix pendingUBUNTU-CVE-2026-107373
Debian 14libextutils-typemaps-default-perlFixed1.07-1DEBIAN-CVE-2026-107373
Debian 13libextutils-typemaps-default-perlFix pendingDEBIAN-CVE-2026-107373
Debian 12libextutils-typemaps-default-perlFix pendingDEBIAN-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.

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

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.