Weak random number generator in diem-project diem dmString.php
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
diem-project diem up to 116974edfb9a5b8bd69cb13586dc62bcdbb485ad is affected. The dmString::random function in dmCorePlugin/lib/basic/dmString.php uses a cryptographically weak pseudo-random number generator (CWE-338). A remote attacker without privileges or user interaction can exploit this, although the attack complexity is high. A public exploit is available.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Description from the CNA
A vulnerability was identified in diem-project diem up to 116974edfb9a5b8bd69cb13586dc62bcdbb485ad. This vulnerability affects the function dmString::random of the file dmCorePlugin/lib/basic/dmString.php. Such manipulation leads to cryptographically weak prng. The attack may be performed from remote. A high complexity level is associated with this attack. It is stated that the exploitability is difficult. The exploit is publicly available and might be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The project was informed of the problem early through an issue report but has not responded yet.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| diem-project | diem | 116974edfb9a5b8bd69cb13586dc62bcdbb485ad | — | No fix listed | CNA |
- diem Vendordiem-project Affected 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Fixed in — No fix listed CNA
CPE names CNA · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:diem-project:diem:*:*:*:*:*:*:*:* | — | — | — |
- cpe:2.3:a:diem-project:diem:*:*:*:*:*:*:*:* Versions — — ·—
Remediation
The sources list no fixed version for diem.
Written with Claude Haiku 5.5 from the sources below · 2026-10-28
Timeline
- 2026-10-19 Threatist record created from CVE-2026-112041
- 2026-10-19 Alias added: GHSA-4wx9-wcq2-pggj
- 2026-10-19 Priority changed: MEDIUM → LOW
- 2026-10-20 CISA SSVC decision points changed
- 2026-10-20 Priority changed: LOW → MEDIUM
References
More diem-project vulnerabilities
- TI-2026-58972 diem-project diem dmWidget BasedmWidgetActions.class.php authorization CVSS 4.0MEDIUM 6.9
- TI-2026-76225 Open redirect in diem-project diem Sign-In via Referer argument CVSS 4.0MEDIUM 5.3
- TI-2026-76222 Improper certificate validation in diem Google Analytics Client CVSS 4.0MEDIUM 6.3
- TI-2026-76213 Use of default password in diem-project diem CVSS 4.0MEDIUM 5.3
- TI-2026-58971 diem-project diem dmConsole actions.class.php executeCommand cross-site request forgery CVSS 4.0MEDIUM 5.3
- TI-2026-57013 diem-project diem Widget Editor dmWidgetContentBaseMediaForm.php unrestricted upload CVSS 4.0MEDIUM 5.3
Sources
- CVE-2026-112041 · CVE Program
- CVE-2026-112041 · NVD
- FIRST EPSS
- GHSA-4wx9-wcq2-pggj · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences