Buffer under-read in WWW::Form::UrlEncoded::XS for Perl
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string. The parse_urlencoded and parse_urlencoded_arrayref functions check the last byte of the input for a trailing "&" or ";" 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.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | WWW-Form-UrlEncoded-XS | before 0.27 | 0.27 | Patch available | CNA |
- WWW-Form-UrlEncoded-XS Vendor— Affected before 0.27 Fixed in 0.27 Patch available CNA
Remediation
Update WWW-Form-UrlEncoded-XS to version 0.27.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
- Fix · CNA WWW-Form-UrlEncoded-XS Fixed in 0.27
Timeline
- 2026-11-25 Threatist record created from CVE-2022-50995
- 2026-11-27 Alias added: GHSA-35qj-cchx-8hgj
References
Sources
- CVE-2022-50995 · CVE Program
- CVE-2022-50995 · NVD
- FIRST EPSS
- GHSA-35qj-cchx-8hgj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences