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
UnscoredFix available
- CVSS
- —
- EPSS
- 0.37% (p23)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- —
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.
Fixed in
0.28
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | WWW-Form-UrlEncoded-XS | >=0, <0.28 | 0.28 |
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patch patch
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8 issue-tracking
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6 issue-tracking
- https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes release-notes
- https://cpan.org/modules web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50996.json advisory
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS package
- https://nvd.nist.gov/vuln/detail/CVE-2022-50996 advisory