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.
Related Weaknesses (CWE)
References
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da31628
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8
- https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes
FAQ
What is CVE-2022-50996?
CVE-2022-50996 is a documented vulnerability. 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 ...
How severe is CVE-2022-50996?
CVSS scoring is not yet available for CVE-2022-50996. Check NVD for updates.
Is there a patch for CVE-2022-50996?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.