{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-14895","id":"CVE-2026-14895","title":"String::Util versions before 1.36 for Perl are susceptible to a regular expression denial of service","description":"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. T","descriptionLong":"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.","published":"2026-07-07T22:12:22.460Z","updated":"2026-10-28T02:30:48.180140827Z","reserved":"2026-07-06T18:31:10.251Z","status":"Deferred","rejected":false,"assigner":"CPANSec","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["BAKERSCOT String::Util"],"affectedProducts":[{"vendor":"BAKERSCOT","product":"String::Util","defaultStatus":"unaffected","versions":[{"lessThan":"1.36","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[],"cwes":["CWE-1333"],"aliases":[],"references":[{"url":"https://github.com/scottchiefbaker/String-Util/commit/f8150867aaeb8f57c59601aefb2193f2caed8745.patch","tags":["patch","fix"]},{"url":"https://metacpan.org/release/BAKERSCOT/String-Util-1.36/diff/BAKERSCOT/String-Util-1.35#lib/String/Util.pm","tags":["web"]},{"url":"https://github.com/scottchiefbaker/String-Util/releases","tags":["release-notes","advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2026/07/07/18","tags":["web"]},{"url":"https://cpan.org/modules","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/14xxx/CVE-2026-14895.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14895","tags":["advisory"]},{"url":"https://github.com/scottchiefbaker/String-Util","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.0063,"epssPercentile":0.50978,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-14895","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-14895","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-14895","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-14895","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}