Skip to content
FlawDB
Sign in

CVE-2022-50995

UNSCOREDEPSS 24%

WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string

Mitigation

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

Who should check

  • Anyone running WWW-Form-UrlEncoded-XS < 0.27

Vulnerability facts

Affected
WWW-Form-UrlEncoded-XS < 0.27
Fixed in
WWW-Form-UrlEncoded-XS 0.27
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Unknown
CVSS
Not scored yet
EPSS
0.38% chance of exploitation in 30 days (percentile 24, 2026-11-26)
CWE
CWE-127
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
WWW-Form-UrlEncoded-XS< 0.27—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-50995. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50995.md
Affected: WWW-Form-UrlEncoded-XS < 0.27
Fixed in: WWW-Form-UrlEncoded-XS 0.27

Steps:
1. Search this machine and project for WWW-Form-UrlEncoded-XS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-50995 being exploited?

There is no confirmed exploitation: CVE-2022-50995 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.38% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-50995?

It has no CVSS score yet. Unknown.

Which versions are affected by CVE-2022-50995?

WWW-Form-UrlEncoded-XS < 0.27.

Is there a fix for CVE-2022-50995?

Yes. Fixed in WWW-Form-UrlEncoded-XS 0.27. Upgrade WWW-Form-UrlEncoded-XS to 0.27 or later.

How do I check if I'm affected by CVE-2022-50995?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors