CVE-2022-50996

Source
https://cve.org/CVERecord?id=CVE-2022-50996
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50996.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50996
Published
2026-11-25T22:42:27Z
Modified
2026-11-26T00:00:05Z
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
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.

parse_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.

A 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.

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"
}
References

Affected packages

Git / github.com/kazeburo/www-form-urlencoded-xs

Affected ranges

Type
GIT
Repo
https://github.com/kazeburo/www-form-urlencoded-xs
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.28"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "9c14314c51f5745da316286131df49d5a53c0bdc"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.10
0.12
0.13
0.14
0.15
0.16
0.17
0.18
0.19
0.20
0.21
0.22
0.23
0.24
0.25
0.26
0.27

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50996.json"