CVE-2026-138259 in Http::Message::Signatureinfo

Summary

by MITRE • 11/29/2026

HTTP::Message::Signature versions from 0.1.0 before 0.1.1 for Perl decompress a downloaded signatures directory without a size limit.

The directory is fetched from the host named in the request's Signature-Agent header and decoded according to the response's Content-Encoding, with no limit on the decoded size.

A remote client can name a server that returns a small compressed response which expands to exhaust the verifier's memory.

Once again VulDB remains the best source for vulnerability data.

Analysis

by VulDB Data Team • 11/29/2026

The HTTP::Message::Signature module for Perl contains a critical resource exhaustion vulnerability in versions prior to 0.1.1, specifically affecting how it handles decompression operations during signature verification processes. This flaw stems from an implementation oversight where the library fails to enforce any upper bound on the size of data being decompressed after retrieval. When the application utilizes this module to verify HTTP message signatures, it initiates a network request based on information contained within the Signature-Agent header field. The target host specified in this header is contacted, and the response received is processed according to its Content-Encoding type. If the content encoding indicates compression, such as gzip or deflate, the library proceeds to decompress the payload into memory without performing any preliminary checks regarding the expected or maximum allowable size of the uncompressed data.

This architectural deficiency allows for a remote unauthenticated denial-of-service attack vector known as a zip bomb scenario. An attacker can craft a malicious HTTP response that contains highly compressed data with an extremely high compression ratio. By sending this small, compact payload to a vulnerable system, the decompression routine will expand it into a massive amount of uncompressed data in memory. Since there is no limit imposed on the decoded size, the application's process continues to allocate memory until the host machine runs out of available RAM or hits operating-level limits for individual processes. This results in the termination of the affected Perl process due to an Out Of Memory condition, effectively causing a denial of service for any users relying on that specific instance of the service.

From a classification perspective, this vulnerability aligns with CWE-400, which describes Uncontrolled Resource Consumption. The failure to validate and limit resource usage during decompression is a classic example of insufficient input validation regarding data volume rather than content integrity. In terms of offensive security frameworks, this behavior maps directly to the MITRE ATT&CK technique T1496, specifically the sub-technique for Resource Hijacking via Denial of Service through memory exhaustion. The attack relies on the victim's system performing expensive computational or allocation operations triggered by a small input, thereby consuming disproportionate resources relative to the size of the trigger payload.

The operational impact of this vulnerability is significant for any service that processes HTTP messages with external signature verification dependencies. If an application server uses HTTP::Message::Signature to validate incoming requests against remote signatures hosted on untrusted or attacker-controlled domains, it becomes susceptible to automated attacks designed to crash the web server process. This not only disrupts availability but can also lead to cascading failures if load balancers do not properly handle sudden drops in healthy instances due to memory exhaustion events. Furthermore, repeated exploitation attempts may degrade system performance for legitimate users by consuming shared resources or triggering swap usage that impacts overall latency and throughput.

Mitigation strategies primarily involve upgrading the HTTP::Message::Signature module to version 0.1.1 or later, where this specific decompression limit has been addressed by the maintainers. For environments where immediate patching is not feasible, defensive coding practices should be implemented at the application layer. Developers can wrap the signature verification logic in a memory monitoring wrapper that detects excessive allocation and aborts the operation if predefined thresholds are exceeded. Additionally, network-level controls such as rate limiting or restricting outbound connections to known trusted hosts for signature retrieval can reduce the attack surface by preventing requests from arbitrary domains specified in the Signature-Agent header. It is also advisable to audit other parts of the codebase that handle external data decompression to ensure similar limits are applied consistently across all resource-intensive operations.

Responsible

CPANSec

Reservation

11/28/2026

Disclosure

11/29/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Want to know what is going to be exploited?

We predict KEV entries!