Skip to content

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

HighCVSS 7.5 EPSS 0.50%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Debian

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.

Upgrade path

4 packages: 2 fixed, 2 with no fix yet.

PackageAffectedFixed inStatus
debian/libweb-simple-perl(Debian 12) = 0.033-2; = 0.035-1; All versions No fix listed No fix yet
debian/libweb-simple-perl(Debian 13) = 0.033-2; = 0.035-1; All versions No fix listed No fix yet
cpan Web-Simple < 0.035 0.035 Fixed
debian/libweb-simple-perl(Debian 14) < 0.035-1; = 0.033-2 0.035-1 Fixed

Affected products

ProductAffected versionsFixed in
cpan Web-Simple < 0.035 0.035
debian/libweb-simple-perl(Debian:12) All versions No fix listed
debian/libweb-simple-perl(Debian:12) = 0.033-2 No fix listed
debian/libweb-simple-perl(Debian:12) = 0.035-1 No fix listed
debian/libweb-simple-perl(Debian:13) All versions No fix listed
debian/libweb-simple-perl(Debian:13) = 0.033-2 No fix listed
debian/libweb-simple-perl(Debian:13) = 0.035-1 No fix listed
debian/libweb-simple-perl(Debian:14) < 0.035-1 0.035-1
debian/libweb-simple-perl(Debian:14) = 0.033-2 No fix listed

References