Description
HTTP::Body versions before 1.24_02 for Perl parse the trailer in quadratic time.

Everything after the last chunk in the same call to add() is parsed with HTTP::Headers, which takes time quadratic in the number of fields of one name. For example, it takes several seconds to parse 16 KiB of "a:" lines.

A remote attackercan exhause the CPU with a single request.

HTTP::Body version 1.25 limits the size and number of lines in the trailer.
Published: 2026-11-06
Score: n/a
EPSS: n/a
KEV: No
Impact: Resource Exhaustion Denial of Service
Action: Apply Patch
AI Analysis

Impact

HTTP::Body older versions parse the trailer section of an HTTP request by scanning all header fields of the same name in a quadratic‑time algorithm. The time to parse grows proportionally to the square of the number of these header fields or trailer lines. A single HTTP request that contains a large number of trailer entries can therefore consume several seconds of CPU. The consequence is a denial‑of‑service condition caused by resource exhaustion; all processes that rely on HTTP::Body can be slowed or halted by a single malicious request. The weakness is a CWE‑770 style resource exhaustion problem.

Affected Systems

The affected module is the Perl HTTP::Body package, specifically any installation older than version 1.24_02. The module is used by Perl web applications and frameworks that parse HTTP requests. Users who cannot immediately update should be aware that only the HTTP::Body component is vulnerable; other related Perl libraries are not impacted. The fix is available in HTTP::Body 1.24_02 and later, which introduces limits on the size and number of trailer lines to avoid quadratic parsing.

Risk and Exploitability

No EPSS score is available and the vulnerability is not listed in CISA KEV, but the remote attack vector is clear: an unauthenticated attacker can send a crafted HTTP request that exploits the parsing algorithm. The simplicity of the attack combined with the lack of mitigations in older binaries makes exploitation highly likely in an exposed environment. The risk is effectively an unbounded CPU consumption leading to service degradation.

Generated by OpenCVE AI on November 6, 2026 at 09:25 UTC.

Remediation

Vendor Solution

Upgrade to HTTP::Body version 1.24_02 or later.


OpenCVE Recommended Actions

  • Upgrade the HTTP::Body Perl module to version 1.24_02 or higher.
  • If an immediate upgrade is not possible, configure the application or web server to limit the size of HTTP request trailers or reject requests with excessive header fields.
  • Monitor application CPU usage and network traffic for signs of anomalous request patterns that could indicate exploitation attempts.

Generated by OpenCVE AI on November 6, 2026 at 09:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 08:00:00 +0000

Type Values Removed Values Added
Description HTTP::Body versions before 1.24_02 for Perl parse the trailer in quadratic time. Everything after the last chunk in the same call to add() is parsed with HTTP::Headers, which takes time quadratic in the number of fields of one name. For example, it takes several seconds to parse 16 KiB of "a:" lines. A remote attackercan exhause the CPU with a single request. HTTP::Body version 1.25 limits the size and number of lines in the trailer.
Title HTTP::Body versions before 1.24_02 for Perl parse the trailer in quadratic time
Weaknesses CWE-770
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-11-06T07:47:23.570Z

Reserved: 2026-11-03T07:58:36.822Z

Link: CVE-2026-121006

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-06T08:17:19.827

Modified: 2026-11-06T08:17:19.827

Link: CVE-2026-121006

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-06T09:30:08Z

Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling