Skip to content
OpenAdvisories
High · 7.5 CVE-2026-14741 EUVD-2026-45190GHSA-mcqf-9rr5-v7rw

HTTP::Date versions before 6.08 for Perl allow CPU exhaustion via polynomial regex backtracking in parse_date

Published Jul 17, 2026 · Updated Aug 12, 2026 · Assigned by CPANSec

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

VendorProductAffectedFixed
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.

ReleasePackageFixed inAdvisory
Debian 14 libhttp-date-perl 6.08-1 —
Debian 13 libhttp-date-perl No fix yet —
Debian 12 libhttp-date-perl No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libhttp-date-perl No fix yet —
Ubuntu 14.04 LTS libhttp-date-perl No fix yet —
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
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

References