Security Advisories (1)
CVE-2026-115825 (2026-10-25)

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.

NAME

Plack::Test::Suite - Test suite for Plack handlers

SYNOPSIS

use Test::More;
use Plack::Test::Suite;
Plack::Test::Suite->run_server_tests('Your::Handler');
done_testing;

DESCRIPTION

Plack::Test::Suite is a test suite to test a new PSGI server implementation. It automatically loads a new handler environment and uses LWP to send HTTP requests to the local server to make sure your handler implements the PSGI specification correctly.

Note that the handler name doesn't include the Plack::Handler:: prefix, i.e. if you have a new Plack handler Plack::Handler::Foo, your test script would look like:

Plack::Test::Suite->run_server_tests('Foo');

Developers writing Plack applications should look at Plack::Test for testing, as subclassing Plack::Handler is for developing server implementations.

AUTHOR

Tokuhiro Matsuno

Tatsuhiko Miyagawa

Kazuho Oku