CVE-2026-138257: HTTP::Message::Signature versions before 0.0.4 for Perl do not limit the number of public keys read from a signatures directory

Published Nov 29, 2026
·
Updated

HTTP::Message::Signature versions before 0.0.4 for Perl do not limit the number of public keys read from a signatures directory.

The directory is fetched from the host named in the request's Signature-Agent header. Every key in it is decoded and kept, and verify searches all of them for the signature's keyid.

A remote client can point the verifier at a directory holding a very large number of keys, using memory and CPU for each request it verifies.

Affected Software

1 affected component
cpan/HTTP-Message-Signature<0.0.4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade HTTP::Message::Signature to a version that resolves this vulnerability.

    Fixed in 0.0.4

Event History

Nov 29, 2026
CVE Published
via MITRE·10:30 PM
Data Sourced
via MITRE·10:30 PM
RemedyDescriptionWeakness
Data Sourced
via OSV·10:30 PM
DescriptionWeakness
Data Sourced
via NVD·11:17 PM
DescriptionWeakness

Frequently Asked Questions

1

Which deployments are exposed to this resource-exhaustion issue?

Deployments using HTTP::Message::Signature before 0.0.4 are exposed when they verify requests whose Signature-Agent header can direct the verifier to a signatures directory controlled by a remote client.

2

What must an attacker do to trigger the issue?

The attacker must send a request with a Signature-Agent header naming a host that serves a signatures directory containing a very large number of public keys. The verifier decodes and retains every key, then searches them for the requested keyid.

3

What is the practical impact of exploitation?

Each malicious verification request can consume memory while retaining the fetched public keys and CPU while decoding and searching them. Repeated requests may therefore degrade availability of the verifier.

4

How can this be mitigated if upgrading is not immediately possible?

Restrict or validate the hosts that may be named in the Signature-Agent header so remote clients cannot direct verification to arbitrary signatures directories. Preventing access to directories with unbounded numbers of keys reduces the exposed attack path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203