CVE-2022-50996
publishedWWW::Form::UrlEncoded::XS versions before 0.28 for Perl write past the end of the Perl argument stack when parse_urlencoded returns many pairs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | WWW-Form-UrlEncoded-XS0 to < 0.28 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WWW-Form-UrlEncoded-XS | 0 to < 0.28 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-787 CWE-787 Out-of-bounds Write
References
4Provider assertions
1CPANSec · cna
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
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7c7926cce31aa0fd63cd72f63fae7ff0e04332cdc7021d926dd536cf8ca90ce0
- Ingested
- 25 Nov 2026, 22:46:27 UTC
- Source record
- Official CVE record