CVE-2025-8419
Org.keycloak/keycloak-services: keycloak smtp inject vulnerability
- State
- Published
- Severity
- 5.3 Medium
- Published
- Aug 6, 2025
- Updated
- Aug 31, 2026
- Reserved
- Jul 31, 2025
Description
A vulnerability was found in Keycloak-services. Special characters used during e-mail registration may perform SMTP Injection and unexpectedly send short unwanted e-mails. The email is limited to 64 characters (limited local part of the email), so the attack is limited to very shorts emails (subject and little data, the example is 60 chars). This flaw's only direct consequence is an unsolicited email being sent from the Keycloak server. However, this action could be a precursor for more sophisticated attacks.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N | redhat |
Weaknesses
- CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')
Affected Products
| Product | Versions |
|---|---|
keycloakKeycloak |
|
Red Hat build of Keycloak 26.0Red Hat | |
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.0Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat | |
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat build of Keycloak 26.2Red Hat |
|
Red Hat Build of KeycloakRed Hat |
References
- RHSA-2025:15336vendor-advisory
- RHSA-2025:15337vendor-advisory
- RHSA-2025:15338vendor-advisory
- RHSA-2025:15339vendor-advisory
- https://access.redhat.com/security/cve/CVE-2025-8419vdb-entry
- RHBZ#2385776issue-tracking
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.