CVE-2026-107373

NameCVE-2026-107373
DescriptionExtUtils::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1150541

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libextutils-typemaps-default-perl (PTS)bookworm, trixie1.05-5vulnerable
forky, sid1.07-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libextutils-typemaps-default-perlsource(unstable)1.07-11150541

Notes

[trixie] - libextutils-typemaps-default-perl <no-dsa> (Minor issue)
https://lists.security.metacpan.org/cve-announce/msg/44245994/
https://rt.cpan.org/Public/Bug/Display.html?id=94110
Fixed by: https://github.com/tsee/extutils-typemap-default/commit/a6b9c298b34ddadc582961403e715d292f82a22d (ExtUtils-Typemaps-Default-1.06)

Search for package or bug name: Reporting problems