---
id: CVE-2026-112041
title: diem-project diem dmString.php random weak prng
summary: >-
  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 cryp…
severity: low
cvss: 3.7
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C'
cvssSource: cna
cwe:
  - CWE-338
  - CWE-331
vendor: diem-project
product: diem
affected:
  - diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad
published: '2026-10-19'
updated: '2026-10-19'
sourceUpdated: '2026-10-19T02:00:21.063Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112041'
references:
  - url: 'https://vuldb.com/vuln/421689'
    label: VDB-421689 | diem-project diem dmString.php random weak prng
  - url: 'https://vuldb.com/vuln/421689/cti'
    label: 'VDB-421689 | CTI Indicators (IOB, IOC, TTP, IOA)'
  - url: 'https://vuldb.com/cve/CVE-2026-112041'
    label: CVE-2026-112041 | CVE Analysis and Report
  - url: 'https://vuldb.com/submit/1008084'
    label: >-
      Submit #1008084 | diem-project diem
      116974edfb9a5b8bd69cb13586dc62bcdbb485ad Cryptographically Weak PRNG
  - url: 'https://github.com/diem-project/diem/issues/458'
  - url: 'https://github.com/diem-project/diem/'
tags:
  - cve.org
ingestedAt: '2026-10-19T02:58:59.956Z'
---

## Overview

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.

## Affected

- `diem 116974edfb9a5b8bd69cb13586dc62bcdbb485ad`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
