> CVE-2026-14895

« BACK_TO_HOME
PUBLISHED
2026-07-07 23:16
MODIFIED
2026-07-07 23:16
EPSS (Prob. Exploit)
0.63%
Top 49.8%
DATA SOURCES:
NVD 🔗 2026-07-08 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-01 OSV 🔗 2026-11-02

> DESCRIPTION

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.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-1333

> CWE DETAILED DESCRIPTIONS

CWE-1333: Inefficient Regular Expression Complexity - The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

String::Util versions before 1.36 for Perl are susceptible to a regular expression denial of service

AFFECTED PACKAGES:
Unknown / Unknown
27 versions affected

> HISTORIQUE DES MODIFICATIONS

Première apparition
07/07/2026 23:16
Source: NVD
📊 ENRICHISSEMENT 01/08/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-1333: Inefficient Regular Expression Complexity - The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
Total des modifications: 1 Dernière mise à jour: 3 months ago

> REFERENCES

https://github.com/scottchiefbaker/String-Util/commit/f8150867aaeb8f57c59601aefb...
https://github.com/scottchiefbaker/String-Util/releases
https://metacpan.org/release/BAKERSCOT/String-Util-1.36/diff/BAKERSCOT/String-Ut...
« BACK_TO_HOME