DEBIAN-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.
DEBIAN-CVE-2026-14895
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-14895
libstring-util-perl
Source reference: /affected/0/package/name
- Affected versions
- 1.34-2
Source reference:
/affected/0/versions1.35-1Source reference:
/affected/0/versions1.36-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libstring-util-perl
Source reference: /affected/1/package/name
- Affected versions
- 1.35-1
Source reference:
/affected/1/versions1.36-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
libstring-util-perl
Source reference: /affected/2/package/name
- Affected versions
- 1.35-1
Source reference:
/affected/2/versions - Fixed versions
- 1.36-1
Source reference:
/affected/2/ranges - Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libstring-util-perl",
"purl": "pkg:deb/debian/libstring-util-perl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.34-2",
"1.35-1",
"1.36-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14895.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "libstring-util-perl",
"purl": "pkg:deb/debian/libstring-util-perl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"1.35-1",
"1.36-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14895.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.36-1"
}
]
}
],
"package": {
"name": "libstring-util-perl",
"purl": "pkg:deb/debian/libstring-util-perl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"1.35-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-14895.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56125 · Revision 1
- Added to Heist Feed
- Publisher date