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

No advisories yet.

Fixes

Solution

Upgrade to WWW-Form-UrlEncoded-XS 0.27 or later.


Workaround

No workaround given by the vendor.

History

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

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses