Vulnerability · Published Oct 10, 2026 · Assigned by CPANSec
CVE-2026-107373ExtUtils::Typemaps::STL::String versions before 1.06 for Perl T_STD_STRING typemap may read the SV length before stringifying the argument
Critical 9.1
In plain English
A critical-severity out-of-bounds read in ExtUtils-Typemaps-Default. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libextutils-typemaps-default-perl | no fix listed | DEBIAN-CVE-2026-107373 |
| Debian:13 | libextutils-typemaps-default-perl | no fix listed | DEBIAN-CVE-2026-107373 |
| Debian:14 | libextutils-typemaps-default-perl | 1.07-1 | DEBIAN-CVE-2026-107373 |
| Ubuntu:22.04:LTS | libextutils-typemaps-default-perl | no fix listed | UBUNTU-CVE-2026-107373 |
| Ubuntu:24.04:LTS | libextutils-typemaps-default-perl | no fix listed | UBUNTU-CVE-2026-107373 |
| Ubuntu:26.04:LTS | libextutils-typemaps-default-perl | no fix listed | UBUNTU-CVE-2026-107373 |
| Ubuntu:26.10 | libextutils-typemaps-default-perl | no fix listed | UBUNTU-CVE-2026-107373 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| ExtUtils-Typemaps-Default | 0 – before 1.06 |
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
References
- https://metacpan.org/release/SMUELLER/ExtUtils-Typemaps-Default-1.06/changes release-notes
- https://github.com/tsee/extutils-typemap-default/commit/a6b9c298b34ddadc582961403e715d292f82a22d
- https://rt.cpan.org/Public/Bug/Display.html?id=94110 issue-tracking
- https://www.cve.org/CVERecord?id=CVE-2026-80490 related