SubjectDnX509PrincipalExtractor does not correctly handle certain malformed X.509 certificate CN values, which can lead to reading the wrong value for the username. In a carefully crafted certificate, this can lead to an attacker impersonating another user.
Affected versions: Spring Security 5.7.0 through 5.7.24; 5.8.0 through 5.8.26; 6.3.0 through 6.3.17; 6.4.0 through 6.4.17; 6.5.0 through 6.5.10.
{
"unresolved_ranges": [
{
"source": "AFFECTED_FIELD",
"extracted_events": [
{
"introduced": "5.7.0"
},
{
"fixed": "5.7.25"
},
{
"introduced": "5.8.0"
},
{
"fixed": "5.8.27"
},
{
"introduced": "6.3.0"
},
{
"fixed": "6.3.18"
},
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.18"
},
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.10.2"
}
]
},
{
"source": "DESCRIPTION",
"extracted_events": [
{
"introduced": "5.7.0"
},
{
"fixed": "5.7.24"
},
{
"introduced": "5.8.0"
},
{
"fixed": "5.8.26"
},
{
"introduced": "6.3.0"
},
{
"fixed": "6.3.17"
},
{
"introduced": "6.4.0"
},
{
"fixed": "6.4.17"
},
{
"introduced": "6.5.0"
},
{
"fixed": "6.5.10"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47838.json",
"cna_assigner": "vmware",
"cwe_ids": [
"CWE-287"
]
}