CVE-2022-50996: Out-of-bounds Write
Published 2026-11-25 · Updated 2026-12-02 · Source 9b29abf9-4ab0-4765-b253-1875cd9b441e
Not known to be exploited · high severity — update to 0.28 or later in your next patch cycle.
What to do
- Update the affected product to version 0.28 or later. Versions before 0.28 are affected.
- Until it is patched, do not leave the affected product reachable from the internet or other untrusted networks; restrict access by firewall, VPN or allow-list.
- Avoid processing untrusted input with the affected component until it is updated.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Affected product | < 0.28 | 0.28 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker does not need an account, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | None | The attacker does not need an account. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | None | No effect on integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: Out-of-bounds Write
The software writes past the end of a buffer, corrupting memory in a way that can crash it or allow code execution.
Classified as CWE-787.
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patch
- Patchhttps://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8
- Referencehttps://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6
- Referencehttps://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes