CVE-2026-114629: 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

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.

Affected Software

1 affected component
cpan/Web-Simple<0.035

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Web::Simple to a version that resolves this vulnerability.

    Fixed in 0.035
  2. Configuration

    Configure MAX_BODY_SIZE in the application to cap the size of request bodies.

    Web::Dispatch::ParamParser MAX_BODY_SIZE

Event History

Oct 24, 2026
CVE Published
via MITRE·01:50 PM
Data Sourced
via MITRE·01:50 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications using Web::Simple before 0.035 are exposed only on routes whose dispatch specification includes a % body-parameter match, such as a POST route matching %name=. The affected request body type is application/x-www-form-urlencoded.

2

What does an attacker need to do to trigger it?

No authentication is required. An attacker can send a request to an affected route with a very large declared Content-Length while sending a much smaller actual body, causing Perl to allocate based on the declared length.

3

Are default deployments necessarily affected?

Not necessarily. Exposure depends on whether the application defines a route with a % body-parameter match that accepts application/x-www-form-urlencoded input.

4

What can be done if upgrading is not immediately possible?

Restrict or reject requests with excessively large Content-Length values before they reach the application, particularly for affected form-urlencoded routes. This reduces the attacker-controlled allocation size.

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