{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2022-50995",
        "assignerOrgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
        "state": "PUBLISHED",
        "assignerShortName": "CPANSec",
        "dateReserved": "2026-06-10T18:46:46.510Z",
        "datePublished": "2026-11-25T22:42:02.965Z",
        "dateUpdated": "2026-12-02T18:27:12.312Z"
    },
    "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"
                        },
                        {
                            "name": "WWW::Form::UrlEncoded::XS::parse_urlencoded_arrayref"
                        }
                    ],
                    "repo": "https://github.com/kazeburo/WWW-Form-UrlEncoded-XS",
                    "versions": [
                        {
                            "lessThan": "0.27",
                            "status": "affected",
                            "version": "0",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "reporter",
                    "value": "Brian Fraser"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Brian Fraser"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string.\n\nparse_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.\n\nA remote client that sends an empty query string or request body to an application parsing it with this module can crash the process."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-127",
                            "description": "CWE-127 Buffer Under-read",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "9b29abf9-4ab0-4765-b253-1875cd9b441e",
                "shortName": "CPANSec",
                "dateUpdated": "2026-11-25T22:42:02.965Z"
            },
            "references": [
                {
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/commit/3a0a35e7509b42667b19ee027807253adaf07333.patch"
                },
                {
                    "tags": [
                        "issue-tracking"
                    ],
                    "url": "https://github.com/kazeburo/WWW-Form-UrlEncoded-XS/pull/7"
                },
                {
                    "tags": [
                        "release-notes"
                    ],
                    "url": "https://metacpan.org/release/KAZEBURO/WWW-Form-UrlEncoded-XS-0.27/changes"
                }
            ],
            "solutions": [
                {
                    "lang": "en",
                    "value": "Upgrade to WWW-Form-UrlEncoded-XS 0.27 or later."
                }
            ],
            "source": {
                "discovery": "UNKNOWN"
            },
            "timeline": [
                {
                    "lang": "en",
                    "time": "2022-04-13T00:00:00.000Z",
                    "value": "Issue reported with a proposed fix."
                },
                {
                    "lang": "en",
                    "time": "2022-04-14T00:00:00.000Z",
                    "value": "Fix merged."
                },
                {
                    "lang": "en",
                    "time": "2022-04-14T00:00:00.000Z",
                    "value": "Version 0.27 released with fix."
                }
            ],
            "title": "WWW::Form::UrlEncoded::XS versions before 0.27 for Perl read one byte before the input buffer when parsing an empty string",
            "x_generator": {
                "engine": "cpansec-cna-tool 0.1"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.3,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                            "integrityImpact": "NONE",
                            "userInteraction": "NONE",
                            "attackComplexity": "LOW",
                            "availabilityImpact": "LOW",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-12-02T18:27:07.780902Z",
                                "id": "CVE-2022-50995",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-12-02T18:27:12.312Z"
                }
            }
        ]
    }
}