CVE-2022-50995

NameCVE-2022-50995
DescriptionWWW::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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libwww-form-urlencoded-xs-perl (PTS)bookworm, forky, sid, trixie0.28-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libwww-form-urlencoded-xs-perlsource(unstable)0.27-1

Notes

https://lists.security.metacpan.org/cve-announce/msg/45442980/
https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/7
Fixed by: https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/3a0a35e7509b42667b19ee027807253adaf07333 (0.27)

Search for package or bug name: Reporting problems