{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "0.28"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "9c14314c51f5745da316286131df49d5a53c0bdc"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "838a76b2d6de56e0b2800b54adc20456930a6397"
            },
            {
              "fixed": "9c14314c51f5745da316286131df49d5a53c0bdc"
            }
          ],
          "repo": "https://github.com/kazeburo/www-form-urlencoded-xs",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "CPANSec",
    "cwe_ids": [
      "CWE-787"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50996.json"
  },
  "details": "WWW::Form::UrlEncoded::XS versions before 0.28 for Perl write past the end of the Perl argument stack when parse_urlencoded returns many pairs.\n\nparse_urlencoded returns its result as a list, pushing each decoded key and value onto the argument stack without first extending the stack to fit them. parse_urlencoded_arrayref returns an array reference and is not affected.\n\nA remote client that sends a query string or request body with many pairs to an application parsing it with parse_urlencoded can corrupt memory and crash the process.",
  "id": "CVE-2022-50996",
  "modified": "2026-11-25T23:45:53.215866534Z",
  "published": "2026-11-25T22:42:27.712Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://cpan.org/modules"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50996.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/kazeburo/WWW-Form-UrlEncoded-XS"
    },
    {
      "type": "FIX",
      "url": "https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patch"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8"
    },
    {
      "type": "ADVISORY",
      "url": "https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-50996"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "WWW::Form::UrlEncoded::XS versions before 0.28 for Perl write past the end of the Perl argument stack when parse_urlencoded returns many pairs"
}