CVE-2026-115825

HTTP::Server::PSGI versions before 1.0056 for Perl allow a single request to crash the server by declaring a large Content-Length

Published Oct 25, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
HTTP::Server::PSGI versions before 1.0056 for Perl allow a single request to crash the server by declaring a large Content-Length.

The request body is read with sysread() calls sized by the remaining Content-Length. Perl grows the read buffer to the requested length before any data arrives, so the server tries to allocate as much memory as the client declares.

A remote attacker can send one request with a large Content-Length and a few body bytes, and perl exits with an out-of-memory error before the application is called. HTTP::Server::PSGI runs as a single process, so the server stays down until restarted.

Analysis

AI-generated

Technical impact

HTTP::Server::PSGI versions before 1.0056 permit an attacker to crash the Perl server by sending a request that declares an excessively large Content-Length. The module reads the body with sysread calls sized to the remaining Content-Length, causing Perl to allocate a buffer equal to the declared length before any data arrives. When the requested buffer cannot be allocated, the process terminates with an out‑of‑memory error. The crash occurs after a single request and does not result in arbitrary code execution, but it effectively denies service to all clients until the application is restarted.

Affected Systems

Any installation of Perl HTTP::Server::PSGI (part of Plack) that uses an unpatched version earlier than 1.0057. The problem exists in all pre‑1.0056 releases and has been fixed by the 1.0057 update.

Risk and Exploitability

The vulnerability can be triggered by a single malformed HTTP request, making it easy to execute from anywhere over the network. Because the server runs as a single process, a successful attack permanently brings the service down until a manual restart occurs. The CVSS score is 7.5, and the EPSS score is < 1%. The nature of the flaw is an out‑of‑memory denial of service, which is generally considered a high‑impact security issue. The vulnerability is not listed in CISA KEV, indicating it has not yet been reported as actively exploited.

Remediation

Vendor Solution

Upgrade to Plack 1.0057 or later.


OpenCVE Recommended Actions

  • Upgrade Plack to version 1.0057 or later to remove the out‑of‑memory flaw
  • If an immediate upgrade is not possible, block requests with an excessively large Content‑Length by configuring a reverse proxy or firewall rule to reject or cap request sizes
  • Ensure the service restarts automatically or has a monitoring system in place to detect crashes and bring the application back online promptly

Generated by OpenCVE AI on October 29, 2026 at 13:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Perl
Perl http::server::psgi
Vendors & Products Perl
Perl http::server::psgi
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-770
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Important

Type Values Removed Values Added
Description HTTP::Server::PSGI versions before 1.0056 for Perl allow a single request to crash the server by declaring a large Content-Length. The request body is read with sysread() calls sized by the remaining Content-Length. Perl grows the read buffer to the requested length before any data arrives, so the server tries to allocate as much memory as the client declares. A remote attacker can send one request with a large Content-Length and a few body bytes, and perl exits with an out-of-memory error before the application is called. HTTP::Server::PSGI runs as a single process, so the server stays down until restarted.
Title HTTP::Server::PSGI versions before 1.0056 for Perl allow a single request to crash the server by declaring a large Content-Length
Weaknesses CWE-789
References
Weaknesses
  • CWE-770

    Allocation of Resources Without Limits or Throttling

  • CWE-789

    Memory Allocation with Excessive Size Value

Sources

Status
PUBLISHED
Assigner
CPANSec
Published
Updated
Nov 2, 2026, 4:23 PM
Reserved
Oct 23, 2026, 4:47 PM
Status
Awaiting Analysis
Published
Oct 25, 2026, 5:17 PM
Modified
Nov 2, 2026, 5:17 PM
Severity
Important
Public date
Oct 25, 2026, 4:51 PM