CVE-2026-115824: Starman versions before 0.4019 for Perl allow memory exhaustion via unbounded buffering of chunked request bodies Robert Rothenberg 25 Oct 2026 16:56 UTC

========================================================================
CVE-2026-115824                                      CPAN Security Group
========================================================================

         CVE ID:  CVE-2026-115824

   Distribution:  Starman
       Versions:  before 0.4019
       MetaCPAN:  https://metacpan.org/dist/Starman
       VCS Repo:  https://github.com/miyagawa/Starman

Starman versions before 0.4019 for Perl allow memory exhaustion via
unbounded buffering of chunked request bodies

Description
-----------
Starman versions before 0.4019 for Perl allow memory exhaustion via
unbounded buffering of chunked request bodies.

The chunked body decoder keeps each chunk in memory until the whole
chunk and its CRLF have arrived, and sets no limit on the length of a
chunk-size line. A client that declares a huge chunk size and streams
data, or sends a chunk-size line that never ends, grows the buffer for
as long as it keeps sending.

A remote attacker can exhaust worker memory with a single connection.

Problem types
-------------
- CWE-770 Allocation of Resources Without Limits or Throttling

Solutions
---------
Upgrade to Starman 0.4019 or later.

References
----------
https://github.com/miyagawa/Starman/commit/d789a02dbe5408ef5f7a4659078d0008dd84c308.patch
https://github.com/miyagawa/Starman/commit/0f33f9b132b5e410d6cce722ff71988e22476acf.patch
https://metacpan.org/release/MIYAGAWA/Starman-0.4019/changes