Skip to main content

HTTP::Body EUVDEUVD-2026-112275

| CVE-2026-116531 CRITICAL
Improper Handling of Length Parameter Inconsistency (CWE-130)
N/A vendor:alpine GHSA-288c-cm7p-6mc5
9.1
CVSS 3.1 · Vendor: vendor:alpine
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify Perl web app using HTTP::Body <1.24
  2. Delivery
    Send fragmented chunked request body
  3. Exploit
    Chunk-size line miscount desyncs parser
  4. Execution
    Leftover hex bytes reparsed as huge chunk size
  5. Impact
    Body parser hangs awaiting data (worker tie-up)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Length parameter validation
Exploitation Conditions

Exploitable only against applications that use HTTP::Body (versions before 1.24) to parse HTTP request bodies sent with Transfer-Encoding: chunked, where the body is delivered to the parser's add() method incrementally across multiple reads (the normal streaming case in Plack/Catalyst-style stacks). The defect triggers when a read boundary falls inside a chunk or when chunk data begins with hex digits, which an attacker influences by sending the chunked body in fragments. Per the CVSS vector no authentication is required (PR:N) and no user interaction (UI:N). Limiting factors: the target application must actually invoke HTTP::Body on chunked request bodies - endpoints that do not accept chunked bodies or do not use this library are unaffected; the behavior depends on how the request body is fed to the parser.

Impact

Raw severity is high (CVSS 9.1, AV:N/AC:L/PR:N/UI:N) implying remote, low-complexity, unauthenticated exploitation, and the vuln.today Decision label is act_now with a vendor (Alpine) patch available. However, the exploitation-probability signals are muted: EPSS is only 0.29% (21st percentile), there is no CISA KEV listing (not actively exploited per available data), and no confirmed working exploit was supplied. The act_now label therefore appears driven by the high base score plus patch availability rather than by evidence of widespread exploitation. Critically, there is a signal conflict: the input CVSS sets C:H (and the tag is 'Information Disclosure'), but the supplied commit diff demonstrates a chunked-transfer-encoding parser desync - the old length check counted the chunk-size line as part of the chunk, so a split read made the parser take a chunk short and reparse leftover bytes as the next chunk-size line, and hex-leading leftover data could be read as a huge chunk size so the parser waits forever. That evidence supports an availability/parsing-integrity impact, not a clear confidentiality/information-disclosure mechanism - the C:H rating and the 'Information Disclosure' framing are not corroborated by the code evidence and should be verified with the vendor. Net: treat as a legitimate 'patch promptly' issue for affected Perl web stacks, but the CRITICAL confidentiality framing looks overstated relative to the actual demonstrated defect.

Exploit ScenarioDerived

An attacker sends a crafted Transfer-Encoding: chunked HTTP request body to a Perl web application that parses bodies with HTTP::Body before 1.24. Because the body is fed to the parser incrementally as network reads arrive, a read that splits a chunk makes the parser miscount the chunk-size line, and leftover bytes beginning with hex digits are reparsed as an enormous chunk size so the parser blocks waiting for data that never comes. A public upstream test case demonstrates the triggering condition (byte-at-a-time and hex-leading chunk delivery), though no weaponized exploit was provided.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Nov 05, 2026

HTTP::Body versions before 1.24 mis-handle the length bookkeeping of chunked request bodies, so an unauthenticated remote client that sends a Transfer-Encoding: chunked body which arrives split across several reads can drive the parser into taking a chunk short and re-interpreting the leftover bytes as the next chunk-size line, leaving the body stuck in a non-'done' state (availability impact) and potentially corrupting the parsed parameters (limited integrity impact). The vulnerable code is reachable in Plack/Catalyst-style stacks that feed request bodies to HTTP::Body's add() method incrementally; endpoints that never parse chunked bodies or do not use this library are unaffected. Alpine Linux shipped the fix as perl-http-body 1.24-r0 and the upstream fix is commit 5869dde in libwww-perl/HTTP-Body; a public regression test accompanies the patch, no public exploit code was identified at time of analysis, and EPSS is low at 0.29% (21st percentile) even though the vuln.today decision label is act_now.

Earlier versions of this analysis (1)
v1 Oct 28, 2026 - 01:31

Alpine Linux perl-http-body 1.24-r0 corrects a defect in the Perl HTTP::Body module, which parses incoming HTTP request bodies for Perl web applications and Catalyst-style frameworks handling multipart, URL-encoded, and octet-stream uploads. The available sources do not describe the vulnerability mechanism, impact, or severity, and no CVSS vector, CWE, EPSS score, KEV listing, or public exploit was supplied at time of analysis. Exposure is limited to deployments where the module actually processes untrusted request bodies; the specific triggering feature or configuration remains unconfirmed.

RemediationAI

Upgrade to HTTP-Body 1.24 or later - Alpine Linux users should update perl-http-body to 1.24-r0 (apk upgrade perl-http-body), and CPAN consumers should install HTTP-Body 1.24 from https://metacpan.org/release/GETTY/HTTP-Body-1.24/changes; the upstream fix is commit 5869dde9fe6d13f189a435b6583fd63fcc18677a.patch and can be applied directly to an older tree if a packaged update is not yet available. Because exploitation depends on the application passing chunked request bodies to HTTP::Body incrementally, environments that cannot patch immediately can reduce exposure by having the front-end reverse proxy reject or de-chunk requests carrying Transfer-Encoding: chunked before they reach the Perl application; the trade-off is that legitimate clients relying on chunked uploads will break, so this should be scoped to affected endpoints rather than applied globally. Endpoints that do not accept chunked bodies or do not use HTTP::Body at all require no change. No vendor-published workaround beyond updating is described in the available references.

Affected ProductsAI

HTTP::Body (CPAN distribution HTTP-Body, lib/HTTP/Body.pm) releases prior to 1.24 are vulnerable; the fixed release is 1.24, documented in the distribution changelog at https://metacpan.org/release/GETTY/HTTP-Body-1.24/changes. In Alpine Linux, the affected package is perl-http-body before 1.24-r0, with 1.24-r0 being the fixed build as reported by the Alpine vendor. Downstream consumers are Perl web stacks that use HTTP::Body to decode chunked request bodies, such as Plack/PSGI and Catalyst-based applications; no CPE strings were supplied with this record, so identification should be done by distribution package name and CPAN module version. Advisory and patch references: https://github.com/libwww-perl/HTTP-Body/commit/5869dde9fe6d13f189a435b6583fd63fcc18677a.patch, https://seclists.org/oss-sec/2026/q4/427, https://nvd.nist.gov/vuln/detail/CVE-2026-116531, and ENISA EUVD-2026-112275.

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

HTTP::Body is a Perl library used by PSGI/Plack and Catalyst-style frameworks to decode HTTP request bodies, including bodies sent with Transfer-Encoding: chunked. The root cause class is CWE-130, improper handling of length parameter inconsistency: in the chunked decoder inside lib/HTTP/Body.pm, the buffer-length test that decides whether a complete chunk has arrived measured the whole buffer including the chunk-size line, rather than the chunk body plus its trailing CRLF. When a read boundary falls inside a chunk, the parser therefore accepts a short chunk, consumes it, and then re-parses the leftover payload bytes as if they were the next chunk-size line; if that leftover begins with hex digits (for example payload text such as 'cdef0123456789') it is interpreted as a very large chunk length and the parser waits indefinitely, and the body never reaches the 'done' state. The upstream fix anchors the size-line match, computes the header length explicitly with $+[0], replaces the substitution-based consumption with substr(), requires header_len + chunk_len + 2 bytes before consuming a chunk, and adds a chunk_eof flag so that bytes after the terminating zero-length chunk (such as trailing headers) are no longer re-parsed as further chunks. The accompanying test t/19chunked-split.t demonstrates the fault by feeding a chunked payload one byte at a time and by using hex-leading chunk data. Note that the supplied CVSS vector (C:H/I:N) differs from our assessed vector (C:N/I:L/A:H); the observed consequence is a stalled/incomplete parse with limited parameter corruption, not confidentiality loss.

Know when Perl gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vendor:alpine) PRIMARY 9.1 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
vuln.today AI 8.2 HIGH

Remote unauthenticated attacker crafts a chunked request body (AV:N/AC:L/PR:N/UI:N); evidence shows a parser hang (A:H) and chunk desync (I:L), with no confidentiality mechanism demonstrated (C:N).

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (vendor:alpine).

CVSS VectorVendor: vendor:alpine

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

Lifecycle Timeline

2
Analysis Updated
Nov 05, 2026 - 21:28 vuln.today
v2 - CVSS changed
CVSS changed
Nov 05, 2026 - 21:23 NVD
9.1 (CRITICAL)

DescriptionCVE.org

Alpine Linux: perl-http-body fixed in 1.24-r0

Executive ViewAI

Why It Matters

CVE-2026-116531 is a critical vulnerability in the HTTP::Body Perl library that can cause request parsing failures and potential integrity issues for organizations running Perl-based web frameworks like Plack or Catalyst. This affects internet-facing services that process chunked HTTP requests, potentially leading to service unavailability or manipulated request data, which could disrupt operations and compromise data integrity.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
Low
core Perl (Catalyst/Plack) body parser, but Perl web stack now niche
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Perl

View all
CVE-2012-6329 HIGH POC
7.5 Jan 04

The _compile function in Maketext.pm in the Locale::Maketext implementation in Perl before 5.17.7 does not properly hand

CVE-2017-12814 CRITICAL POC
9.8 Sep 28

Stack-based buffer overflow in the CPerlHost::Add method in win32/perlhost.h in Perl before 5.24.3-RC1 and 5.26.x before

CVE-2015-8608 CRITICAL POC
9.8 Feb 07

The VDir::MapPathA and VDir::MapPathW functions in Perl 5.22 allow remote attackers to cause a denial of service (out-of

CVE-2018-18314 CRITICAL POC
9.8 Dec 07

Perl before 5.26.3 has a buffer overflow via a crafted regular expression that triggers invalid write operations. Rated

CVE-2018-18312 CRITICAL POC
9.8 Dec 05

Perl before 5.26.3 and 5.28.0 before 5.28.1 has a buffer overflow via a crafted regular expression that triggers invalid

CVE-2026-13221 CRITICAL POC
9.1 Jul 13

Silently incorrect regular-expression matching in the Perl interpreter (all versions through 5.43.9) lets an oversized a

CVE-2018-18313 CRITICAL POC
9.1 Dec 07

Perl before 5.26.3 has a buffer over-read via a crafted regular expression that triggers disclosure of sensitive informa

CVE-2016-2381 HIGH
7.5 Apr 08

Perl might allow context-dependent attackers to bypass the taint protection mechanism in a child process via duplicate e

CVE-2023-31484 HIGH POC
8.1 Apr 29

CPAN.pm before 2.35 does not verify TLS certificates when downloading distributions over HTTPS. Rated high severity (CVS

CVE-2016-6185 HIGH POC
7.8 Aug 02

The XSLoader::load method in XSLoader in Perl does not properly locate .so files when called in a string eval, which mig

CVE-2018-12015 HIGH POC
7.5 Jun 07

In Perl through 5.26.2, the Archive::Tar module allows remote attackers to bypass a directory-traversal protection mecha

CVE-2020-10543 HIGH
8.2 Jun 05

Perl before 5.30.3 on 32-bit platforms allows a heap-based buffer overflow because nested regular expression quantifiers

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy