UBUNTU-CVE-2026-116131: Medium severity ubuntu/libhttp-body-perl vulnerability
HTTP::Body versions before 1.2301 for Perl allow memory and temporary file exhaustion via an unlimited number of form fields and multipart parts. The urlencoded parser splits the whole body on its separators at once, creating one scalar per separator before any field is stored. This costs about 90 bytes of memory per separator byte. The multipart parser creates a temporary file for every part that carries a filename. Neither parser limits how many fields or parts a body may hold. A remote attacker can exhaust worker memory with a body made of separators, or create thousands of temporary files with one request of small file parts.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
HTTP::Bodyto a version that resolves this vulnerability.Fixed in 1.23_01
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Ubuntu systems running Perl applications that use libhttp-body-perl versions before 1.23_01 to parse attacker-controlled application/x-www-form-urlencoded or multipart request bodies are affected.
What must an attacker send to trigger resource exhaustion?
An attacker can send a crafted HTTP request with many URL-encoded separators to consume worker memory, or a multipart request containing many small filename-bearing parts to create large numbers of temporary files. The issue can be triggered with a single request.