Where
-Infinity
0

======================================================================== CVE-2026-114629                                      CPAN Security Group ========================================================================

CVE ID:  CVE-2026-114629

Distribution:  Web-Simple       Versions:  before 0.035       MetaCPAN:  https://metacpan.org/dist/Web-Simple       VCS Repo:  https://github.com/p5sagit/Web-Simple

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

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::getunpackedbodyfrom 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.

Problem types ------------- - CWE-789 Memory Allocation with Excessive Size Value

Workarounds ----------- For deployments that cannot upgrade but are running behind a reverse proxy, configure the proxy to reject requests above a maxiumum Content-Length.

Solutions --------- Upgrade to Web::Simple 0.035 or later, and in the application configure $Web::Dispatch::ParamParser::MAXBODYSIZE.

References ---------- https://github.com/p5sagit/Web-Simple/commit/7e02c4f6204a2898938d357e6efe6dc2679af695.patch https://metacpan.org/release/ETHER/Web-Simple-0.035/changes

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203