{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2025-8419",
        "assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
        "state": "PUBLISHED",
        "assignerShortName": "redhat",
        "dateReserved": "2025-07-31T14:26:59.052Z",
        "datePublished": "2025-08-06T17:10:02.560Z",
        "dateUpdated": "2026-08-31T00:28:11.470Z"
    },
    "containers": {
        "cna": {
            "title": "Org.keycloak/keycloak-services: keycloak smtp inject vulnerability",
            "metrics": [
                {
                    "other": {
                        "content": {
                            "value": "Moderate",
                            "namespace": "https://access.redhat.com/security/updates/classification/"
                        },
                        "type": "Red Hat severity rating"
                    }
                },
                {
                    "cvssV3_1": {
                        "attackComplexity": "LOW",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 5.3,
                        "baseSeverity": "MEDIUM",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    },
                    "format": "CVSS"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "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."
                }
            ],
            "affected": [
                {
                    "vendor": "Keycloak",
                    "product": "keycloak",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "0",
                            "lessThan": "26.3.3",
                            "versionType": "semver"
                        }
                    ],
                    "packageName": "keycloak",
                    "collectionURL": "https://github.com/keycloak/keycloak",
                    "defaultStatus": "unaffected"
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.0",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "defaultStatus": "unaffected",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.0"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.0",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-operator-bundle",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.0.15-1",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.0::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.0",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.0-18",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.0::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.0",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9-operator",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.0-19",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.0::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.2",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "defaultStatus": "unaffected",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.2"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.2",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-operator-bundle",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.2.8-1",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.2::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.2",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.2-8",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.2::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat build of Keycloak 26.2",
                    "collectionURL": "https://catalog.redhat.com/software/containers/",
                    "packageName": "rhbk/keycloak-rhel9-operator",
                    "defaultStatus": "affected",
                    "versions": [
                        {
                            "version": "26.2-8",
                            "lessThan": "*",
                            "versionType": "rpm",
                            "status": "unaffected"
                        }
                    ],
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:26.2::el9"
                    ]
                },
                {
                    "vendor": "Red Hat",
                    "product": "Red Hat Build of Keycloak",
                    "collectionURL": "https://access.redhat.com/downloads/content/package-browser/",
                    "packageName": "keycloak-services",
                    "defaultStatus": "affected",
                    "cpes": [
                        "cpe:/a:redhat:build_keycloak:"
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://access.redhat.com/errata/RHSA-2025:15336",
                    "name": "RHSA-2025:15336",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2025:15337",
                    "name": "RHSA-2025:15337",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2025:15338",
                    "name": "RHSA-2025:15338",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/errata/RHSA-2025:15339",
                    "name": "RHSA-2025:15339",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://access.redhat.com/security/cve/CVE-2025-8419",
                    "tags": [
                        "vdb-entry",
                        "x_refsource_REDHAT"
                    ]
                },
                {
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2385776",
                    "name": "RHBZ#2385776",
                    "tags": [
                        "issue-tracking",
                        "x_refsource_REDHAT"
                    ]
                }
            ],
            "datePublic": "2025-08-06T00:00:00.000Z",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-93",
                            "description": "Improper Neutralization of CRLF Sequences ('CRLF Injection')",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "x_redhatCweChain": "CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')",
            "workarounds": [
                {
                    "lang": "en",
                    "value": "Currently, no mitigation is available for this vulnerability."
                }
            ],
            "timeline": [
                {
                    "lang": "en",
                    "time": "2025-07-31T14:11:31.674Z",
                    "value": "Reported to Red Hat."
                },
                {
                    "lang": "en",
                    "time": "2025-08-06T00:00:00.000Z",
                    "value": "Made public."
                }
            ],
            "providerMetadata": {
                "orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
                "shortName": "redhat",
                "dateUpdated": "2026-08-31T00:28:11.470Z"
            },
            "x_generator": {
                "engine": "cvelib 1.8.0"
            }
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-08-06T17:23:42.798821Z",
                                "id": "CVE-2025-8419",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "yes"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-08-06T17:23:54.030Z"
                }
            }
        ]
    }
}