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.
Published: 2026-10-25
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Patch Now
AI Analysis

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. No exploit code or public proof‑of‑concept is available at this time, and the EPSS data are unavailable, but 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.

Generated by OpenCVE AI on October 25, 2026 at 21:32 UTC.

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 25, 2026 at 21:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 26 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
References

Sun, 25 Oct 2026 17:15:00 +0000

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

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-10-26T01:23:53.588Z

Reserved: 2026-10-23T16:47:20.192Z

Link: CVE-2026-115825

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-25T17:17:01.990

Modified: 2026-10-26T02:17:06.217

Link: CVE-2026-115825

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-25T21:45:06Z

Weaknesses
  • CWE-789

    Memory Allocation with Excessive Size Value