CVE-2026-40975
published medium CVSS 3.1 · 4.8Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Spring | — | Spring Boot4.0.0 to < 4.0.6 · 3.5.0 to < 3.5.14 · 3.4.0 to < 3.4.16 · 3.3.0 to < 3.3.19 · 2.7.0 to < 2.7.33 · Other versions: unaffected | Affected | Not stated | vmware |
| Red Hat | — | spring-bootHawtIO HawtIO 4.4.0 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-bootRed Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-bootRed Hat Data Grid 8.6.1 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | devspaces/openvsx-rhel9Red Hat OpenShift Dev Spaces 3.28 · 1779528224 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | devspaces/pluginregistry-rhel9Red Hat OpenShift Dev Spaces 3.28 · 1779359423 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | spring-bootRed Hat AMQ Broker 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-bootRed Hat AMQ Clients | Affected | Not stated | redhat-SADP |
Show 9 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | spring-bootRed Hat build of OptaPlanner 8 | Affected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 8 | log4j:2/log4j | Unaffected | Not required | redhat-SADP |
| Red Hat Enterprise Linux | 9 | log4j | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-bootRed Hat Fuse 7 | Affected | Not stated | redhat-SADP |
| Red Hat | — | spring-bootRed Hat JBoss Enterprise Application Platform 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-bootRed Hat JBoss Enterprise Application Platform 8 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-bootRed Hat JBoss Enterprise Application Platform Expansion Pack | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-bootRed Hat Process Automation 7 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | spring-bootRed Hat Single Sign-On 7 | Unaffected | Not required | redhat-SADP |
Description
Values produced by ${random.value} are not suitable for use as secrets. ${random.uuid} is not affected. ${random.int} and ${random.long} should never be used for secrets as they are numeric values with a predictable range. Affected: Spring Boot 4.0.0–4.0.5 (fix 4.0.6), 3.5.0–3.5.13 (fix 3.5.14), 3.4.0–3.4.15 (fix 3.4.16), 3.3.0–3.3.18 (fix 3.3.19), 2.7.0–2.7.32 (fix 2.7.33); random value property source / weak PRNG for secrets. Versions that are no longer supported are also affected per vendor advisory.
A flaw was found in Spring Boot. The `${random.value}` property source utilizes a weak pseudo-random number generator (PRNG), meaning the values it produces are not sufficiently random for use as cryptographic secrets. An attacker could potentially predict these values, which may lead to information disclosure or a security bypass if they are used in sensitive applications.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- vmware · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.2 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Spring | Spring Boot | 4.0.0 to < 4.0.6 (affected · custom)3.5.0 to < 3.5.14 (affected · custom)3.4.0 to < 3.4.16 (affected · custom)3.3.0 to < 3.3.19 (affected · custom)2.7.0 to < 2.7.33 (affected · custom)Default: unaffected | vmware · cna |
| Red Hat | HawtIO HawtIO 4.4.0 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Apache Camel 4.18.1 for Spring Boot 3.5.14 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Data Grid 8.6.1 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Dev Spaces 3.28 | 1779528224 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat OpenShift Dev Spaces 3.28 | 1779359423 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat AMQ Broker 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat AMQ Clients | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat build of OptaPlanner 8 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Fuse 7 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform 8 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat JBoss Enterprise Application Platform Expansion Pack | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Process Automation 7 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Single Sign-On 7 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-330 CWE-330: Use of Insufficiently Random Values
- CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
References
8- https://access.redhat.com/errata/RHSA-2026:17668
- https://access.redhat.com/errata/RHSA-2026:21772
- https://access.redhat.com/errata/RHSA-2026:22619
- https://access.redhat.com/errata/RHSA-2026:25089
- https://access.redhat.com/security/cve/CVE-2026-40975
- RHBZ#2463331 https://bugzilla.redhat.com/show_bug.cgi?id=2463331
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-40975.json
- https://spring.io/security/cve-2026-40975
Provider assertions
3vmware · cna
redhat-SADP · adp
Spring Boot: Spring Boot: Weak pseudo-random number generation can lead to information disclosure.
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d70a6ef8f8793c504c70229dac8ff1491cf7b8ee146b6d80a92544993c7fe431
- Ingested
- 23 Sep 2026, 09:13:21 UTC
- Source record
- Official CVE record