{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-14895","published":"2026-07-07T23:16:54.293000Z","last_modified":"2026-10-25T20:10:00.147000Z","status":"Deferred","cvss":{"version":"3.1","score":7.5,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","primary":false},"auth":false,"cwes":["CWE-1333"],"cpes":[],"cpes_truncated":false,"vendors":["bakerscot"],"products":["bakerscot/string-util"],"ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"high","priority_score":60,"links":{"html_es":"/es/cve/CVE-2026-14895/","html_en":"/en/cve/CVE-2026-14895/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-14895","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-14895"},"untrusted":{"vendor_name":"BAKERSCOT","product_name":"String::Util","desc_en":"String::Util versions before 1.36 for Perl are susceptible to a regular expression denial of service.\n\nThe 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+$.\n\nAny caller that passes untrusted input to trim or rtrim can trigger CPU exhaustion with a string containing a long run of whitespace.","affected":[{"untrusted_vendor":"BAKERSCOT","untrusted_product":"String::Util","versions":[]}],"references":[{"url":"https://github.com/scottchiefbaker/String-Util/commit/f8150867aaeb8f57c59601aefb2193f2caed8745.patch","tags":[]},{"url":"https://github.com/scottchiefbaker/String-Util/releases","tags":[]},{"url":"https://metacpan.org/release/BAKERSCOT/String-Util-1.36/diff/BAKERSCOT/String-Util-1.35#lib/String/Util.pm","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/07/18","tags":[]}]}}