CVE-2026-107373: CWE-125 Out-of-bounds Read
Description
CVE-2026-107373 is an out-of-bounds read vulnerability in ExtUtils::Typemaps::STL::String versions before 1.06 for Perl. The vulnerability arises because the typemap code may evaluate arguments in an unspecified order, causing it to read an invalid string length when the argument is not a string type. This can lead to program aborts or segmentation faults.
Affected software
pkg:github/ExtUtils-Typemaps-DefaultRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
ExtUtils::Typemaps::STL::String versions prior to 1.06 contain a vulnerability in the Perl T_STD_STRING typemap where the code uses the expression $var = std::string( SvPV_nolen($arg), SvCUR($arg) ). Due to unspecified evaluation order of C++ function arguments, some compilers may evaluate SvCUR($arg) before SvPV_nolen($arg). If $arg is not a string (e.g., an integer, number, or reference), SvCUR returns an invalid value, causing an out-of-bounds read (CWE-125) that may result in program crashes or segmentation faults.
Potential Impact
The vulnerability can cause the affected program to abort or crash due to reading invalid memory when processing non-string arguments. This impacts stability and reliability but does not explicitly indicate code execution or data disclosure.
Mitigation Recommendations
No official patch or fix is currently documented. Users should upgrade to ExtUtils::Typemaps::STL::String version 1.06 or later once available. Until then, avoid passing non-string arguments to the affected typemap to prevent triggering the vulnerability. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-10-07T21:01:49.472Z
- State
- PUBLISHED
Threat ID: 6aca37b92cdf04f6562e0f51
Added to database: 10/10/2026, 13:03:53 UTC
Last enriched: 10/10/2026, 13:18:18 UTC
Last updated: 10/10/2026, 13:18:54 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.