Org.keycloak/keycloak-services: keycloak smtp inject vulnerability (Keycloak keycloak)

CVE-2025-8419
MEDIUM 5.3

At a glance

Source
NVD
EPSS
EPSS 0.57 % · percentile 47 ()
State
PUBLISHED
Published
Updated
Assigner
redhat
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-93 — Improper Neutralization of CRLF Sequences

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Nredhat
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NNVD · nvd@nist.gov (Secondary)

Advisories

European references

Affected configurations (NVD CPE)

Affected products

ProductVersions
Keycloak · keycloakaffected 0 < 26.3.3
Red Hat · Red Hat build of Keycloak 26.0
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0.15-1 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-18 < *
Red Hat · Red Hat build of Keycloak 26.0unaffected 26.0-19 < *
Red Hat · Red Hat build of Keycloak 26.2
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2.8-1 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-8 < *
Red Hat · Red Hat build of Keycloak 26.2unaffected 26.2-8 < *
Red Hat · Red Hat Build of Keycloak

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD