Out-of-bounds write in WWW::Form::UrlEncoded::XS for Perl
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
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. The function pushes each decoded key and value onto the stack without first extending it to fit them, a missing bounds check that is tracked as CWE-787. A remote client that sends a query string or request body with many pairs can corrupt memory and crash an application that parses it with parse_urlencoded. The parse_urlencoded_arrayref function is not affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | WWW-Form-UrlEncoded-XS | before 0.28 | 0.28 | Patch available | CNA |
- WWW-Form-UrlEncoded-XS Vendor— Affected before 0.28 Fixed in 0.28 Patch available CNA
Remediation
Upgrade WWW-Form-UrlEncoded-XS to version 0.28 or later. The sources list no fixed version for WWW::Form::UrlEncoded::XS beyond 0.28.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA WWW-Form-UrlEncoded-XS Fixed in 0.28
Timeline
- 2026-11-25 Threatist record created from CVE-2022-50996
- 2026-11-27 Alias added: GHSA-pv8h-hcf2-xfff
References
Sources
- CVE-2022-50996 · CVE Program
- CVE-2022-50996 · NVD
- FIRST EPSS
- GHSA-pv8h-hcf2-xfff · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences