# 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

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 23% of CVEs (2026-12-01)
- Published: 2026-11-29T22:30:17.855Z
- Modified: 2026-11-29T23:17:00.347Z
- Weaknesses: CWE-770
- Assigned by: CPANSec

## Description

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.

(As written by CVE List.)

## Affected

- HTTP-Message-Signature: before 0.0.4

## References

- <https://github.com/robrwo/perl-HTTP-Message-Signature/commit/32d707433c8079198da95e547940e7c3e3ce63e4.patch> (patch)
- <https://metacpan.org/release/RRWO/HTTP-Message-Signature-v0.0.4/changes> (release-notes)

## Sources

- CVE List: [CVE-2026-138257](https://www.cve.org/CVERecord?id=CVE-2026-138257), CVE Terms of Use, modified 2026-11-29
- NVD: [CVE-2026-138257](https://nvd.nist.gov/vuln/detail/CVE-2026-138257), Public domain, modified 2026-11-29

---

Page: https://cve.day/CVE-2026-138257 · Whole record: https://cve.day/CVE-2026-138257.json · Rebuilt by cve.day 2026-11-29T23:17:32.130Z
