What is CVE-2026-14895?
String::Util versions before 1.36 for Perl are susceptible to a regular expression denial of service. The trim and rtrim functions stripped trailing whitespace with s/\s*$//u. Because \s* matches greedily and the $ anchor fails whenever a non-whitespace character follows the whitespace, the regex engine retries the match at each offset of a long whitespace run, producing quadratic backtracking. The fix replaces \s*$ with \s+$. Any caller that passes untrusted input to trim or rtrim can trigger CPU exhaustion with a string containing a long run of whitespace.
The record classifies CVE-2026-14895 under weakness class CWE-1333. 1 affected-product entry is recorded, across 1 vendor, listed below. The identifier was first published 90 days ago.
Severity and exploitation probability
- CISA KEV
- Not listed in the CISA Known Exploited Vulnerabilities catalog
- Published
- 2026-07-07, last modified 2026-07-08
Is CVE-2026-14895 being exploited?
It currently carries a trending score of 30 in the Threadlinqs vulnerability feed.
Affected products and versions
- BAKERSCOT: String::Util
How to fix CVE-2026-14895
No vendor patch reference has been recorded for CVE-2026-14895 in the tracked sources. Follow the references below for a fix, and treat the products listed above as exposed until the vendor states otherwise.
Threat activity tracking CVE-2026-14895
No threat campaign in the Threadlinqs corpus currently references CVE-2026-14895, in its CVE list or as an indicator. The linkage is recomputed from the live corpus on every daily ingest, so this section fills in as soon as a tracked campaign cites the identifier.
Sources
Enriched from CVE.org, NVD, GitHub Security Advisories. Last verified by Threadlinqs on . This product uses the NVD API but is not endorsed or certified by the NVD.