Vulnerability in Bakerscot String::util

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…

Vulnerability class: ReDoS (Regular Expression Denial of Service)

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-14895?
CVE-2026-14895 is a high-severity vulnerability in Bakerscot String::util, classified under Inefficient Regular Expression Complexity. CVSS score: 7.5/10. Published 2026-07-07.
How severe is CVE-2026-14895?
High severity. CVSS v3 base score is 7.5 out of 10.