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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OALDERS | HTTP::Date | < 6.08 | 6.08 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libhttp-date-perl | 6.08-1 | — |
| Debian 13 | libhttp-date-perl | No fix yet | — |
| Debian 12 | libhttp-date-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | libhttp-date-perl | 6.06-1ubuntu0.26.04.1 | — |
| Ubuntu 24.04 LTS | libhttp-date-perl | 6.06-1ubuntu0.24.04.1 | — |
| Ubuntu 22.04 LTS | libhttp-date-perl | 6.05-1ubuntu0.1 | — |
| Ubuntu 20.04 LTS | libhttp-date-perl | No fix yet | — |
| Ubuntu 18.04 LTS | libhttp-date-perl | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libhttp-date-perl | No fix yet | — |
| Ubuntu 14.04 LTS | libhttp-date-perl | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | perl-HTTP-Date | 6.02-150000.3.3.1 | SUSE-SU-2026:3454-1 |
| SLES 12 SP5 | perl-HTTP-Date | 6.02-9.3.1 | SUSE-SU-2026:3334-1 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | perl-HTTP-Date | 6.06-160000.3.1 | SUSE-SU-2026:22859-1 |
| SLES 16.0 | perl-HTTP-Date | 6.06-160000.3.1 | SUSE-SU-2026:22859-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | perl-HTTP-Date | 6.80.0-1.1 | openSUSE-SU-2026:11350-1 |
| openSUSE Leap 16.0 | perl-HTTP-Date | 6.06-160000.3.1 | openSUSE-SU-2026:21427-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | perl-HTTP-Date +1 | 6.08-2.amzn2023.0.1 | ALAS2023-2026-3210 |
| Amazon Linux 2 | perl-HTTP-Date | 6.02-8.amzn2.0.1 | ALAS2-2026-3996 |
Advisories 7
- ALAS2-2026-3996 Moderate: perl-HTTP-Date security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Oct 12, 2026
- ALAS2023-2026-3210 Moderate: perl-HTTP-Date security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Oct 12, 2026
- SUSE-SU-2026:3454-1 Security update for perl-HTTP-Date SUSE / openSUSE Security Updates · Aug 4, 2026
- SUSE-SU-2026:3334-1 Security update for perl-HTTP-Date SUSE / openSUSE Security Updates · Jul 29, 2026
- SUSE-SU-2026:22859-1 Security update for perl-HTTP-Date SUSE / openSUSE Security Updates · Jul 28, 2026
- openSUSE-SU-2026:21427-1 Security update for perl-HTTP-Date SUSE / openSUSE Security Updates · Jul 24, 2026
- openSUSE-SU-2026:11350-1 perl-HTTP-Date-6.80.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 24, 2026