CVE-2026-14741 Details
Description
HTTP::Date versions before 6.08 for Perl allow CPU exhaustion via polynomial regex backtracking in parse_date. parse_date() matches the date string against a chain of alternative regexes, and str2time() delegates to it. Several of these patterns place unbounded quantifiers next to each other before a trailing `\s*$` anchor. A valid date prefix followed by a long interior run of digits, letters, or whitespace and a single trailing byte that defeats the final match forces the engine to repartition the run, giving polynomial (about quadratic) backtracking. A header value of a few tens of kilobytes runs for tens of seconds of CPU. HTTP::Date parses timestamps such as HTTP `Date`, `Expires`, and `Last-Modified` headers, which commonly originate from untrusted sources. Any caller that passes an untrusted date header to str2time() or parse_date() can be driven to consume unbounded CPU, a denial of service.
A denial-of-service vulnerability has been identified in HTTP::Date versions prior to 6.08 for Perl. The issue arises from polynomial regex backtracking in the parse_date() function, which matches date strings against a series of alternative regex patterns. The str2time() function, which delegates to parse_date(), is also affected. Several of these regex patterns improperly place unbounded quantifiers next to each other before a trailing anchor, allowing a crafted date string to cause the regex engine to experience quadratic backtracking. This exploitation can lead to significant CPU exhaustion. The vulnerability is particularly concerning because HTTP::Date is used to parse timestamps from HTTP headers that often come from untrusted sources. Any caller that passes an untrusted date header to str2time() or parse_date() can trigger this denial-of-service condition.
Users can upgrade to HTTP::Date version 6.08 or later, which includes a patch that rejects input longer than 64 characters in the parse_date() function. This update prevents the quadratic regex backtracking vulnerability by eliminating the possibility of such hostile date strings being processed. The patched version is available on CPAN.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 17, 2026CISA-ADP
Assessed Aug 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/libwww-perl/HTTP-Date/commit/78c20952cdfbf11e03cf1199ad70f13298a84c5c.patch | CPANSec | Source CodeVendor |
| https://github.com/libwww-perl/HTTP-Date/pull/33 | CPANSec | Issue TrackingVendor |
| https://metacpan.org/release/OALDERS/HTTP-Date-6.08/changes | CPANSec | Release NotesVendor |
| http://www.openwall.com/lists/oss-security/2026/07/17/10 | CVE |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | CPANSec |
Affected Products
| Product | Versions |
|---|---|
| HTTP::Date | < 6.08 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 24, 2026 | CVE Translated | [email protected] |
| Aug 12, 2026 | CVE Modified | CISA-ADP |
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | CVE Modified | CVE |
| Jul 17, 2026 | CVE Modified | CISA-ADP |
| Jul 17, 2026 | New CVE Received | CPANSec |
Volerion