Skip to main content
← All vulnerabilities
CVE-2026-114629EUVD-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
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.035
None on Exploit-DB, Metasploit or GitHub

Summary

Web::Simple for Perl (before version 0.035) is affected, specifically when an application handles urlencoded form bodies on routes that read body parameters. An unauthenticated remote attacker can send a request with a very large declared Content-Length, causing the server to allocate a large amount of memory, which can lead to excessive memory consumption or denial of service.

Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.

Read the original 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.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Record last updated

Affected versions

  • Web-Simple

    fixed in 0.035

References 2

GitHub · p5sagit/Web-Simple

metacpan.org