{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-50996","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","state":"PUBLISHED","assignerShortName":"CPANSec","dateReserved":"2026-06-10T18:46:46.510Z","datePublished":"2026-11-25T22:42:27.712Z","dateUpdated":"2026-11-25T22:42:27.712Z"},"containers":{"cna":{"affected":[{"collectionURL":"https://cpan.org/modules","defaultStatus":"unaffected","modules":["WWW::Form::UrlEncoded::XS"],"packageName":"WWW-Form-UrlEncoded-XS","packageURL":"pkg:cpan/WWW-Form-UrlEncoded-XS","programFiles":["lib/WWW/Form/UrlEncoded/XS.xs"],"programRoutines":[{"name":"WWW::Form::UrlEncoded::XS::parse_urlencoded"}],"repo":"https://github.com/kazeburo/WWW-Form-UrlEncoded-XS","versions":[{"lessThan":"0.28","status":"affected","version":"0","versionType":"custom"}]}],"credits":[{"lang":"en","type":"reporter","value":"Lars Dieckow"},{"lang":"en","type":"remediation developer","value":"Leon Timmermans"}],"descriptions":[{"lang":"en","value":"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.\n\nparse_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.\n\nA 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."}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","description":"CWE-787 Out-of-bounds Write","lang":"en","type":"CWE"}]}],"providerMetadata":{"orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","shortName":"CPANSec","dateUpdated":"2026-11-25T22:42:27.712Z"},"references":[{"tags":["patch"],"url":"https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/9c14314c51f5745da316286131df49d5a53c0bdc.patch"},{"tags":["issue-tracking"],"url":"https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/8"},{"tags":["issue-tracking"],"url":"https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/issues/6"},{"tags":["release-notes"],"url":"https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.28/changes"}],"solutions":[{"lang":"en","value":"Upgrade to WWW-Form-UrlEncoded-XS 0.28 or later."}],"source":{"discovery":"UNKNOWN"},"timeline":[{"lang":"en","time":"2019-07-23T00:00:00.000Z","value":"Issue reported."},{"lang":"en","time":"2022-09-05T00:00:00.000Z","value":"Fix merged."},{"lang":"en","time":"2022-09-05T00:00:00.000Z","value":"Version 0.28 released with fix."}],"title":"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","x_generator":{"engine":"cpansec-cna-tool 0.1"}}}}