{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.0.4"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "32d707433c8079198da95e547940e7c3e3ce63e4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1f9eece420dd1411fc03cff5c63eb87119850542"
            },
            {
              "fixed": "32d707433c8079198da95e547940e7c3e3ce63e4"
            }
          ],
          "repo": "https://github.com/robrwo/perl-http-message-signature",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-770"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138257.json"
  },
  "details": "HTTP::Message::Signature versions before 0.0.4 for Perl do not limit the number of public keys read from a signatures directory.\n\nThe 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.\n\nA 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.",
  "id": "CVE-2026-138257",
  "modified": "2026-11-29T23:45:24.349638080Z",
  "published": "2026-11-29T22:30:17.855Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138257.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/robrwo/perl-HTTP-Message-Signature"
    },
    {
      "type": "FIX",
      "url": "https://github.com/robrwo/perl-HTTP-Message-Signature/commit/32d707433c8079198da95e547940e7c3e3ce63e4.patch"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/RRWO/HTTP-Message-Signature-v0.0.4/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138257"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "HTTP::Message::Signature versions before 0.0.4 for Perl do not limit the number of public keys read from a signatures directory"
}