Read the docs

Weak random number generator in diem-project diem dmString.php

Priority MEDIUM 61CWE-331Published · Updated

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

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00308 23rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
diem-projectdiem116974edfb9a5b8bd69cb13586dc62bcdbb485ad—No fix listedCNA
  • diem Vendordiem-project Affected 116974edfb9a5b8bd69cb13586dc62bcdbb485ad Fixed in — No fix listed CNA

CPE names CNA · 1

CPEVersionsRoleVendor
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

  1. 2026-10-19 Threatist record created from CVE-2026-112041
  2. 2026-10-19 Alias added: GHSA-4wx9-wcq2-pggj
  3. 2026-10-19 Priority changed: MEDIUM → LOW
  4. 2026-10-20 CISA SSVC decision points changed
  5. 2026-10-20 Priority changed: LOW → MEDIUM

References

  • 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
See all 12 →

Sources