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

Fri, 27 Nov 2026 22:00:00 +0000

Type Values Removed Values Added
First Time appeared Perl
Perl www::form::urlencoded::xs
Vendors & Products Perl
Perl www::form::urlencoded::xs

Wed, 25 Nov 2026 22:45:00 +0000

Type Values Removed Values Added
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.
Title WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string
Weaknesses CWE-127
References

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published: 2026-11-25T22:42:02.965Z

Updated: 2026-11-25T22:42:02.965Z

Reserved: 2026-06-10T18:46:46.510Z

Link: CVE-2022-50995

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-25T23:17:20.923

Modified: 2026-11-25T23:17:20.923

Link: CVE-2022-50995

cve-icon Redhat

No data.