CVE-2026-138258: HTTP::Message::Signature versions before 0.1.1 for Perl download public keys from a client-named host without a response size limit
HTTP::Message::Signature versions before 0.1.1 for Perl download public keys from a client-named host without a response size limit.
To verify a request, the module fetches the signatures directory from the host named in the Signature-Agent header. The default user agent sets no maximum response size, so the whole response is read into memory.
A remote client can send a signed request naming its own server, which then returns an arbitrarily large response and exhausts the verifier's memory.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
HTTP-Message-Signatureto a version that resolves this vulnerability.Fixed in 0.1.1
Event History
Frequently Asked Questions
Which deployments are exposed to this issue?
Applications using HTTP::Message::Signature for Perl versions before 0.1.1 to verify requests are exposed, because verification retrieves signature material from the host identified by the request's Signature-Agent header.
What must an attacker be able to do?
An attacker needs to send a signed request that names a server they control in the Signature-Agent header. That server can return an arbitrarily large response while the verifier retrieves the signatures directory.
Are default settings affected?
Yes. The default user agent has no maximum response-size limit, allowing the full remote response to be read into memory.
How can I determine whether an application is affected?
Check the installed HTTP::Message::Signature version and whether the application verifies incoming requests. Versions earlier than 0.1.1 are affected.