{"schemaVersion":4,"id":"CVE-2026-59331","aliases":[],"status":"published","duplicateOf":null,"title":"Spring Security RSocket Basic Authentication Decoder Enables Denial of Service via Unbounded Allocation","description":"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.","dates":{"published":"2026-12-02T07:09:05.240Z","modified":"2026-12-02T07:09:05.240Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00542,"percentile":0.47029,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-02T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00542,"percentile":0.47029}],"last30":[{"date":"2026-12-02T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00542,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00542,"percentile":0.47029}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[],"affected":[{"vendor":"spring","product":"spring security","name":"Spring Security","label":"spring security","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 7.1.0, < 7.1.2.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.1.0","startInclusive":true,"end":"7.1.2.1","endInclusive":false}},{"text":"≥ 7.0.0, < 7.0.8.1","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.8.1","endInclusive":false}},{"text":"≥ 6.5.0, < 6.5.13","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.5.0","startInclusive":true,"end":"6.5.13","endInclusive":false}},{"text":"≥ 6.0.0, < 6.4.20","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"6.0.0","startInclusive":true,"end":"6.4.20","endInclusive":false}},{"text":"≥ 5.8.0, < 5.8.29","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.8.0","startInclusive":true,"end":"5.8.29","endInclusive":false}},{"text":"≥ 5.7.0, < 5.7.27","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"5.7.0","startInclusive":true,"end":"5.7.27","endInclusive":false}},{"text":"≥ 7.1.0, < 7.1.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.1.0","startInclusive":true,"end":"7.1.3","endInclusive":false}},{"text":"≥ 7.0.0, < 7.0.9","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"7.0.0","startInclusive":true,"end":"7.0.9","endInclusive":false}}],"versionsText":"≥ 7.1.0, < 7.1.2.1 | ≥ 7.0.0, < 7.0.8.1 | ≥ 6.5.0, < 6.5.13 | ≥ 6.0.0, < 6.4.20 | ≥ 5.8.0, < 5.8.29 | ≥ 5.7.0, < 5.7.27 | ≥ 7.1.0, < 7.1.3 | ≥ 7.0.0, < 7.0.9","eol":null,"hubHref":"/vendor/spring/spring_security"}],"affectedCount":1,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://spring.io/security/cve-2026-59331","label":"spring.io/security/cve-2026-59331","hostname":"spring.io","tags":[]},{"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","label":"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","hostname":"nvd.nist.gov","tags":[]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T07:09:05.240Z","label":"Published","detail":"Vulnerability first disclosed.","source":null}],"priority":{"label":"prioritise","tag":"severe","reason":"Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)","nextStep":"Check applicability: affected before 5.7.27, 5.8.29, 6.4.20, 6.5.13, 7.0.8.1, 7.0.9, 7.1.2.1, 7.1.3 (CNA); fix release not confirmed","rank":[0,0,0,0,1,75],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00542,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-12-02T07:09:05.240Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-02T07:09:05.240Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}],"epss":{"value":0.00542,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T03:02:07.274Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T03:02:07.824Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T03:02:08.009Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T03:00:58.365Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T03:02:05.166Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T03:02:04.195Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T03:50:07.940Z","stale":false,"partial":false}}