CVE-2022-50996 - 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
Vulnerability · Reported by NVD · · CWE-787
- Severity
- High Estimated, NVD hasn't scored it yet
- CVSS
- – Not scored yet
- Exploit chance (EPSS)
- 0.37% Higher than 23% of CVEs
- Known exploited
- No Not in CISA KEV
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. 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.
Type of weakness
This issue is classified as out-of-bounds write (CWE-787).
Is it being exploited?
The EPSS model estimates a 0.37% chance this CVE will be exploited in the next 30 days, which is low and higher than 23% of all published CVEs.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Review logs for signs of exploitation since the publication date.
Tags
CVE-2022-50996
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2022-50996 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
NVD has not scored this CVE yet. The severity shown is an estimate from the article text and will be replaced automatically.
How this data is collected: methodology & sources.