CVE-2022-50995
WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string
UnscoredFix available
- CVSS
- —
- EPSS
- 0.38% (p24)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- —
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.
Fixed in
0.27
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| unknown | WWW-Form-UrlEncoded-XS | >=0, <0.27 | 0.27 |
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/3a0a35e7509b42667b19ee027807253adaf07333.patch patch
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/7 issue-tracking
- https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.27/changes release-notes
- https://cpan.org/modules web
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/50xxx/CVE-2022-50995.json advisory
- https://github.com/kazeburo/WWW-Form-UrlEncoded-XS package
- https://nvd.nist.gov/vuln/detail/CVE-2022-50995 advisory