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
- State
- Published
- Severity
- Not Scored
- Published
- Nov 25, 2026
- Updated
- Nov 25, 2026
- Reserved
- Jun 10, 2026
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.
| Product | Versions |
|---|---|
| WWW-Form-UrlEncoded-XS | before 0.28 Affected |
The record has no CVSS score.
Weaknesses
- CWE-787 Out-of-bounds Write
References
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patchPatch
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8Issue Tracker
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6Issue Tracker
- https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changesRelease Notes
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.