# 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

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2026-10-28T17:16:42.065Z
- Modified: 2026-11-05T21:18:39.500Z
- Weaknesses: CWE-130
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: CPANSec

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

(As written by CVE List.)

## Affected

- HTTP-Body: before 1.23_01

## References

- <https://github.com/libwww-perl/HTTP-Body/commit/5869dde9fe6d13f189a435b6583fd63fcc18677a.patch> (patch)
- <https://metacpan.org/release/GETTY/HTTP-Body-1.24/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-116531](https://www.cve.org/CVERecord?id=CVE-2026-116531), CVE Terms of Use, modified 2026-11-05
- NVD: [CVE-2026-116531](https://nvd.nist.gov/vuln/detail/CVE-2026-116531), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-116531 · Whole record: https://cve.day/CVE-2026-116531.json · Rebuilt by cve.day 2026-11-25T22:59:47.656Z
