Skip to content
OpenAdvisories
High · 7.5 CVE-2026-114629 EUVD-2026-109295GHSA-38cx-9rf2-hq5v

Web::Simple versions before 0.035 for Perl allocate a buffer sized by the Content-Length header for urlencoded body parameters

Published Oct 24, 2026 · Updated Nov 2, 2026 · Assigned by CPANSec

Description

Web::Simple versions before 0.035 for Perl allocate a buffer sized by the Content-Length header for urlencoded body parameters.

Web::Dispatch::ParamParser::get_unpacked_body_from reads an application/x-www-form-urlencoded body using a single read call, with no cap and the return value ignored. Perl's read grows the buffer to the requested length before reading, so the declared Content-Length determines the allocation.

An attacker can trigger this through any route whose dispatch specification has a % body-parameter match, such as sub (POST + %name=), sending a Content-Length far larger than the body actually sent. No authentication is involved.

Affected products

VendorProductAffectedFixed
— Web-Simple < 0.035 0.035

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libweb-simple-perl 0.035-1 —
Debian 13 libweb-simple-perl No fix yet —
Debian 12 libweb-simple-perl No fix yet —

References