WWW-Form-UrlEncoded-XS memory corruption in parse_urlencoded via many pairs
- Exploited
- No known exploitation
- Fix
- Fixed in 0.28
- Who is exposed
- Not reported
Summary
WWW::Form::UrlEncoded::XS for Perl, before version 0.28, has a memory-corruption bug in its parse_urlencoded function when that function returns many key-value pairs. A remote client that sends a query string or request body with many pairs to an application using parse_urlencoded can corrupt memory and crash the process.
Written by a model
Original 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.
What to do
Upgrade to a fixed version: 0.28.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by 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…), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2022-50996 (entry last updated 2026-11-25):
Affected:
- WWW-Form-UrlEncoded-XS: fixed in 0.28
Fixed versions: 0.28.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2022-50996 is not listed as of cve.now's last read.
This KEV status is for CVE-2022-50996 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patch
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6
- https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2022-50996
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2022-50996"}.Affected versions
- WWW-Form-UrlEncoded-XSfixed in 0.28
cve.now Index
- Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
- Exposure?/25Unknown. No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity?/10Unknown. No CVSS score or vendor rating
- No patch0/5No signal
What would change the score
- Would score about 55 if added to CISA KEV
- Would score about 50 if CISA's SSVC rates exploitation active
- Would score about 22 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
Evidence 6
| Kind | Source |
|---|---|
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2022-50996 |
| Record | NVD · CVE-2022-50996 |
| Other links 4 | |
| Patch | GitHub · kazeburo/WWW-Form-UrlEncoded-XS · Commit 9c14314c |
| Report | GitHub · kazeburo/WWW-Form-UrlEncoded-XS · Pull request #8 |
| Report | GitHub · kazeburo/WWW-Form-UrlEncoded-XS · Issue #6 |
| Link | metacpan.org · release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes |
Questions about CVE-2022-50996
Is CVE-2022-50996 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2022-50996?
WWW-Form-UrlEncoded-XS: before 0.28.
Source: cve.now feed data
How do I fix CVE-2022-50996?
Upgrade to a fixed version: 0.28.
Source: cve.now feed data
Related
- CVE-2026-123910ESX heap out-of-bounds write vulnerability
- CVE-2026-137567llama.cpp b11450 before b12658 Out-of-Bounds Write via RPC copy_tensor
- CVE-2026-123912Out-of-bounds write vulnerability in XHCI USB controller
- CVE-2026-65136NVIDIA Jetson Linux for Linux contains a vulnerability where an attacker may cause an out of bounds write.
- CVE-2026-80367Dell Secure Connect Gateway (SCG) Virtual Edition, versions prior to 5.36.00.16, contains an Out-of-bounds Write vulnerability.
- CVE-2026-16663Pre-authentication out-of-bounds write in MCUboot encrypted serial recovery image decryption
No corrections so far. Something wrong on this page? Report an error.