CVE-2022-50995
publishedWWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | WWW-Form-UrlEncoded-XS0 to < 0.27 · Other versions: unaffected | Affected | Not stated | CPANSec |
Description
WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string. parse_urlencoded and parse_urlencoded_arrayref check for a trailing "&" or ";" by reading the last byte of the input, without first checking that the input has any bytes. A remote client that sends an empty query string or request body to an application parsing it with this module can crash the process.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| WWW-Form-UrlEncoded-XS | 0 to < 0.27 (affected · custom)Default: unaffected | CPANSec · cna |
Weaknesses
1- CWE-127 CWE-127 Buffer Under-read
References
3Provider assertions
1CPANSec · cna
WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3c7bb60ae12e98ba8260a291ad5a352cac4910af73d001cce279857f4fec5b8a
- Ingested
- 25 Nov 2026, 22:46:27 UTC
- Source record
- Official CVE record