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
CVE-2022-50996Published 25 Nov 2026, 22:42 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
7.5
scored by CISA, CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from CPANSec)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| WWW-Form-UrlEncoded-XSNiche | < 0.28 | 0.28 |
What to do
Update to a fixed version: 0.28.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.4% chance of exploitation in 30 days (percentile 33), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 25 Nov 2026 Published
- 2 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-787
References
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patchpatch
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8issue-tracking
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6issue-tracking
- https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changesrelease-notes
- CVE-2022-50996 on CVE.org