CVE-2022-50996

NameCVE-2022-50996
DescriptionWWW::Form::UrlEncoded::XS versions before 0.28 for Perl write past the end of the Perl argument stack when parse_urlencoded returns many pairs. parse_urlencoded returns its result as a list, pushing each decoded key and value onto the argument stack without first extending the stack to fit them. parse_urlencoded_arrayref returns an array reference and is not affected. A remote client that sends a query string or request body with many pairs to an application parsing it with parse_urlencoded can corrupt memory and 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.28-1

Notes

https://lists.security.metacpan.org/cve-announce/msg/45442981/
https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6
https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8
Fixed by: https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc (0.28)

Search for package or bug name: Reporting problems