---
id: "CVE-2026-116531"
kind: "vulnerability"
aliases: ["CVE-2026-116531"]
title: "Perl HTTP::Body: chunked request parsing can hang or smuggle requests"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: []
ecosystems: []
tags: ["http-body", "package", "perl", "self-hosted"]
not_affected_if: ["content-length-only", "no-perl-http-body"]
published_at: "2026-10-28T18:17:14+00:00"
first_seen_at: "2026-10-28T18:34:33+00:00"
updated_at: "2026-10-28T18:35:19+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-116531", "first_seen_at": "2026-10-28T18:34:33+00:00"}]
---

# Perl HTTP::Body: chunked request parsing can hang or smuggle requests

HTTP::Body for Perl mishandles chunk boundaries in chunked request bodies when a read ends inside a chunk. A remote attacker can make a body never complete, hanging a server, or make it complete early so leftover bytes are parsed as a second request.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed HTTP::Body version with `perl -MHTTP::Body -e 'print $HTTP::Body::VERSION'`
- Look for HTTP::Body in the cpanfile, Makefile.PL or lockfile of Perl web applications
- unknown whether the sources list other checks

## Fix

- Upgrade HTTP::Body to `1.23_01` or later
- unknown whether the sources name a fixed release beyond this version

## Timeline

- 2026-10-28T18:34:33+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-116531

## From the sources

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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
