CPANSA-WWW-Form-UrlEncoded-XS-2022-50995: WWW-Form-UrlEncoded-XS vulnerability

Publisher giterlizzi Document category csaf_security_advisory
Initial release date 2026-11-25T00:00:00 Engine CSAF Perl Toolkit 0.26
Current release date 2026-11-25T00:00:00 Build Date
Current version 1 Status final
CVSS v3.1 Base Score Severity
Original language Language en
Also referred to

Vulnerability 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.

Vulnerabilities

CVE-2022-50995

Vulnerability 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.

Weakness CWE-127 : Buffer Under-read

Product status

Known affected
Product Score
WWW-Form-UrlEncoded-XS less than 0.27
CVSS Version CVSS Vector CVSS Base Score CVSS Base Severity
Fixed

giterlizzi

Namespace: https://github.com/giterlizzi/

gdt@cpan.org

References

Revision history

Version Date of the revision Summary of the revision
1 Wed Nov 25 00:00:00 2026 First release

Sharing rules

TLP:WHITE
For the TLP version see: https://www.first.org/tlp/