CPANSA-WWW-Form-UrlEncoded-XS-2022-50996: WWW-Form-UrlEncoded-XS vulnerability
| Publisher | giterlizzi | Document category | csaf_security_advisory |
|---|---|---|---|
| Initial release date | 2026-11-25T00:00:00 | Engine | CSAF Perl Toolkit 0.26 |
| Current release date | 2026-11-25T00:00:00 | Build Date | |
| Current version | 1 | Status | final |
| CVSS v3.1 Base Score | Severity | ||
| Original language | Language | en | |
| Also referred to | |||
Vulnerability 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.
Vulnerabilities
CVE-2022-50996
Vulnerability DescriptionWWW::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.
| Weakness | CWE-787 : Out-of-bounds Write |
|---|
Product status
Known affected
| Product | Score | ||||
|---|---|---|---|---|---|
| WWW-Form-UrlEncoded-XS less than 0.28 |
|
Fixed
- WWW-Form-UrlEncoded-XS greater than or equal 0.28
giterlizzi
Namespace: https://github.com/giterlizzi/
gdt@cpan.org
References
- CPANSA-WWW-Form-UrlEncoded-XS-2022-50996 JSON self
https://raw.githubusercontent.com/giterlizzi/perl-CPANSA-CSAF/develop/csaf/white/2026/cpansa-www-form-urlencoded-xs-2022-50996.json - https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patch external
https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patch - https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6 external
https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6 - https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8 external
https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8 - https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes external
https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes - CVE-2022-50996 (NVD) external
https://nvd.nist.gov/vuln/detail/CVE-2022-50996
Revision history
| Version | Date of the revision | Summary of the revision |
|---|---|---|
| 1 | Wed Nov 25 00:00:00 2026 | First release |
Sharing rules
TLP:WHITE
For the TLP version see: https://www.first.org/tlp/