{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-59331",
        "assignerOrgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
        "state": "PUBLISHED",
        "assignerShortName": "vmware",
        "dateReserved": "2026-07-04T18:14:22.382Z",
        "datePublished": "2026-12-02T07:09:05.240Z",
        "dateUpdated": "2026-12-02T07:09:05.240Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "dcf2e128-44bd-42ed-91e8-88f912c1401d",
                "shortName": "vmware",
                "dateUpdated": "2026-12-02T07:09:05.240Z"
            },
            "title": "Spring Security RSocket Basic Authentication Decoder Enables Denial of Service via Unbounded Allocation",
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Spring Security's RSocket support includes BasicAuthenticationPayloadExchangeConverter , which decodes username and password metadata from a non-standard RSocket Basic Authentication frame.\n\n The decoder read a length field from the incoming metadata and used it directly to size a memory allocation, without validating that the value was a reasonable, non-negative size relative to the data actually available. A single crafted authentication frame could therefore cause the server to attempt an extremely large allocation.\n\n Preconditions :\n\n \n The application uses Spring Security's RSocket support with an AuthenticationPayloadInterceptor that has not had its authentication converter overridden, leaving BasicAuthenticationPayloadExchangeConverter in effect as its default — as is the case, for example, with the deprecated RSocketSecurity#basicAuthentication configuration. \n The RSocket endpoint is reachable by the attacker. \n \n An unauthenticated attacker who can open a connection to the RSocket endpoint can exhaust available memory on the server, resulting in a denial of service."
                }
            ],
            "affected": [
                {
                    "vendor": "Spring",
                    "product": "Spring Security",
                    "versions": [
                        {
                            "version": "7.1.0",
                            "lessThan": "7.1.2.1",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "7.0.0",
                            "lessThan": "7.0.8.1",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "6.5.0",
                            "lessThan": "6.5.13",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "6.0.0",
                            "lessThan": "6.4.20",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "5.8.0",
                            "lessThan": "5.8.29",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "5.7.0",
                            "lessThan": "5.7.27",
                            "versionType": "semver",
                            "status": "affected"
                        },
                        {
                            "version": "7.1.0",
                            "lessThan": "7.1.3",
                            "versionType": "OSS",
                            "status": "affected"
                        },
                        {
                            "version": "7.0.0",
                            "lessThan": "7.0.9",
                            "versionType": "OSS",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://spring.io/security/cve-2026-59331"
                },
                {
                    "url": "https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H&version=3.1"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "This vulnerability was discovered and responsibly reported by h1ei1 and Daehyun Kang ."
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseSeverity": "HIGH",
                        "baseScore": 7.5,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                    }
                }
            ]
        }
    }
}