{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.37"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "a369bb1c39061d67454216a6a1d0eae11932806e"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "698d15b9275281803e7dd6d257f96aae1897b565"
            },
            {
              "fixed": "a369bb1c39061d67454216a6a1d0eae11932806e"
            }
          ],
          "repo": "https://github.com/cpan-authors/perl-convert-asn1",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-1284"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126819.json"
  },
  "details": "Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via zero-length BIT STRING content.\n\nA BIT STRING with zero content octets passes -1 to substr as the length. Perl reads a negative length as an offset from the end of the string, so the decoded value is nearly all of the input that follows the element. In the constructed form each zero-length segment copies the rest of the input again, so memory grows with the square of the input size.\n\nAn attacker who controls the decoded data can exhaust memory with a short constructed BIT STRING. The resulting value also contains bytes from adjacent input.",
  "id": "CVE-2026-126819",
  "modified": "2026-11-20T01:45:51.277031193Z",
  "published": "2026-11-20T00:28:26.103Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126819.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/cpan-authors/perl-Convert-ASN1"
    },
    {
      "type": "FIX",
      "url": "https://github.com/cpan-authors/perl-Convert-ASN1/commit/a369bb1c39061d67454216a6a1d0eae11932806e.patch"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/cpan-authors/perl-Convert-ASN1/issues"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/TIMLEGGE/Convert-ASN1-0.37/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126819"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "Convert::ASN1 versions before 0.37 for Perl allow memory exhaustion via zero-length BIT STRING content"
}