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.
{
"cna_assigner": "CPANSec",
"cwe_ids": [
"CWE-770"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138258.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "0.1.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "c5f19544d6458e01e07d760c8481563a8b56b538"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "e58ce6b710db6476c9dea4a69c06f945e906e791"
}
],
"source": "REFERENCES_COMMIT"
}
]
}