CVE-2022-50995

Source
https://cve.org/CVERecord?id=CVE-2022-50995
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-50995.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-50995
Published
2026-11-25T22:42:02Z
Modified
2026-11-26T00:00:05Z
Summary
WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string
Details

WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string.

parse_urlencoded and parse_urlencoded_arrayref check for a trailing "&" or ";" by reading the last byte of the input, without first checking that the input has any bytes.

A remote client that sends an empty query string or request body to an application parsing it with this module can crash the process.

Database specific
{
    "cna_assigner":  "CPANSec",
    "cwe_ids":  [
        "CWE-127"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50995.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.27"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandardRange"
        },
        {
            "range":  [
                {
                    "fixed":  "3a0a35e7509b42667b19ee027807253adaf07333"
                }
            ],
            "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

Database specific

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