Skip to content
Unrated

WWW::Form::UrlEncoded::XS versions before 0.28 for Perl write past the end of the Perl argument stack when parse_urlencoded returns many pairs

CVE-2022-50996 First seen on SecPulse

Affected packages

PackageAffected → Fixed
CPANWWW-Form-UrlEncoded-XS
< 0.28→ 0.28

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

WWW::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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details