cve.bz

CVE-2026-40992

5.0 mediumEPSS 0.1%

Spring Boot's Mail auto-configuration does not enable hostname verification. Applications that set the relevant JavaMail property, such as spring.mail.properties.mail.smtp.ssl.checkserveridentity=true, are not affected. Affected versions: Spring Boot 4.0.0 through 4.0.6; 3.5.0 through 3.5.14; 3.4.0 through 3.4.16.

Severity

CVSS 3.1

5.0 medium
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
EPSS
0.1% chance of exploitation in the next 30 days; higher than 2% of CVEs (scores of 2026-10-31)
CWE
CWE-295
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9wxp-w4px-32vhMavenorg.springframework.boot:spring-boot-starter-mail>=4.0.0 <4.0.74.0.7
GHSA-9wxp-w4px-32vhMavenorg.springframework.boot:spring-boot-starter-mail>=3.5.0 <3.5.153.5.15
GHSA-9wxp-w4px-32vhMavenorg.springframework.boot:spring-boot-starter-mail>=3.4.0 <=3.4.16no fix published

References

Check your stackJSON