CVE-2026-116531

HTTP::Body versions before 1.23_01 for Perl lose track of chunk boundaries in chunked request bodies when a read ends inside a chunk

Published Oct 28, 2026 CVSS 3.1 · 9.1 Critical EPSS < 1% KEV · Not listed
Description
HTTP::Body versions before 1.23_01 for Perl lose track of chunk boundaries in chunked request bodies when a read ends inside a chunk.

In chunked mode, used when no content length is given, add() treats a chunk as complete once the buffer is as long as the chunk's declared size, but the buffer still holds the chunk-size line. When a read ends in the last bytes of a chunk, add() takes the chunk short and parses the leftover data as the next chunk-size line.

A remote attacker can make a chunked body never complete, hanging a server that reads until the body is done, and may make it complete early, leaving the remaining bytes to be read as the next request.

Analysis

AI-generated

Technical impact

HTTP::Body versions before 1.23_01 fail to correctly track the end of a chunked HTTP request when a read operation ends inside a chunk. The module incorrectly treats the remaining part of the chunk as a new chunk size line, causing the current chunk to be considered complete prematurely or the request body to never terminate. The flaw is an example of CWE‑130 (Integer Underflow or Overflow) and CWE‑444 (Improper Handling of Dynamic Data), which can lead to denial‑of‑service and secondary risks such as request smuggling or data corruption.

Affected Systems

The issue exists in any Perl application that loads the CPAN module HTTP::Body older than version 1.23_01. Those applications or frameworks that rely on this module to parse incoming HTTP requests and accept chunked transfer encoding are at risk, regardless of the specific web technology employed.

Risk and Exploitability

The CVSS score of 9.1 indicates critical severity, while the EPSS score of less than 1% shows a low probability of active exploitation at present. The vulnerability is not listed in CISA’s KEV catalog, suggesting no widespread exploitation has been documented. An attacker can trigger the flaw simply by sending a maliciously crafted chunked HTTP request to any exposed endpoint that uses the affected module; no authentication or elevated privileges are needed. Successful exploitation causes the server to hang or to misinterpret subsequent requests, resulting in a denial‑of‑service for legitimate users.

Remediation

Vendor Solution

Upgrade to HTTP-Body 1.23_01 or later.


OpenCVE Recommended Actions

  • Upgrade the HTTP::Body Perl module to version 1.23_01 or later.
  • Restart or reload the affected applications to ensure they use the updated module.
  • If an upgrade cannot be performed immediately, temporarily disable chunked transfer encoding on incoming requests or enforce explicit Content-Length headers for all HTTP traffic processed by the module.

Generated by OpenCVE AI on November 5, 2026 at 22:53 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'}

cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-444
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H'}

threat_severity

Important

Type Values Removed Values Added
First Time appeared Libwww-perl
Libwww-perl http-body
Vendors & Products Libwww-perl
Libwww-perl http-body
Type Values Removed Values Added
Description HTTP::Body versions before 1.23_01 for Perl lose track of chunk boundaries in chunked request bodies when a read ends inside a chunk. In chunked mode, used when no content length is given, add() treats a chunk as complete once the buffer is as long as the chunk's declared size, but the buffer still holds the chunk-size line. When a read ends in the last bytes of a chunk, add() takes the chunk short and parses the leftover data as the next chunk-size line. A remote attacker can make a chunked body never complete, hanging a server that reads until the body is done, and may make it complete early, leaving the remaining bytes to be read as the next request.
Title HTTP::Body versions before 1.23_01 for Perl lose track of chunk boundaries in chunked request bodies when a read ends inside a chunk
Weaknesses CWE-130
References
Weaknesses
  • CWE-130

    Improper Handling of Length Parameter Inconsistency

  • CWE-444

    Inconsistent Interpretation of HTTP Requests ('HTTP Request/Response Smuggling')

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 5, 2026, 9:02 PM
Reserved
Oct 26, 2026, 2:17 PM
Status
Awaiting Analysis
Published
Oct 28, 2026, 6:17 PM
Modified
Nov 5, 2026, 9:18 PM
Severity
Important
Public date
Oct 28, 2026, 5:16 PM