Description
Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP.

The Data::Entropy::RawSource::RandomOrg and Data::Entropy::RawSource::RandomnumbersInfo remote sources are accessed over plain HTTP.

The Data::Entropy::RawSource::RandomOrg integrity check trivially matches any non-empty byte string.

Any on-path attacker, such as open WiFi, a compromised ISP, captive portal, or a hostile egress proxy substitutes the response and thereby chooses the bytes returned by rand_bits and rand_int for every application that selected one of these sources via with_entropy_source. The _checkbuf method response is equally attacker-controlled, so the retry/sleep behaviour is steerable too.
Published: 2026-08-01
Score: 7.5 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Older releases of the Perl module Data::Entropy obtain random data from the services RandomOrg and RandomnumbersInfo via unencrypted HTTP connections. The integrity checks for these sources are minimal; the RandomOrg source accepts any non‑empty payload, and no cryptographic verification is performed, reflecting a CWE‑319 weakness in cleartext transmission of sensitive data. The vulnerability also aligns with CWE‑353 because the module’s check for valid data is trivial and does not enforce proper integrity verification, allowing an attacker to supply any non-empty bytes. Consequently, an attacker able to intercept or modify traffic on the network path can replace the data returned by the module’s rand_bits and rand_int functions with attacker‑chosen values, altering the randomness consumed by the application.

Affected Systems

All installations that use Data::Entropy versions earlier than 0.010 and that import the RawSource::RandomOrg or RandomnumbersInfo modules are affected. These include the deprecated 0.008 and 0.009 releases. Because the module is no longer maintained after 0.008, legacy projects that continue to use it remain at risk.

Risk and Exploitability

The vulnerability requires a man‑in‑the‑middle or other on‑path attacker (e.g., open Wi‑Fi, compromised ISP, captive portal, or hostile egress proxy) that can intercept the HTTP requests used by the module. By supplying crafted responses, the attacker can dictate the bits returned by rand_bits and rand_int and influence the retry/sleep logic via the _checkbuf method. The CVSS score of 7.5 reflects a high severity classification, while the EPSS score of < 1% indicates that exploitation is unlikely but still possible. The issue is not listed in the CISA KEV catalog. The lack of integrity verification and the ability to supply chosen randomness suggest a high potential impact if the random data is used for cryptographic or security‑critical purposes.

Generated by OpenCVE AI on August 4, 2026 at 11:17 UTC.

Remediation

Vendor Workaround

Deployments should not use the RandomOrg or RandomnumbersInfo sources, as these are flawed. They have been removed from Data::Entropy 0.010. (There was a change to use HTTPS to connect to these sources in version 0.009 that did not work.) Note that Data::Entropy has been deprecated since version 0.008. Users are advised to migrate to alternative solutions that use system sources of random data, such as Crypt::SysRandom, Crypt::URandom or Crypt::PRNG.


OpenCVE Recommended Actions

  • Upgrade Data::Entropy to version 0.010 or later, which removes the flawed RandomOrg and RandomnumbersInfo sources.
  • Replace usage of the problematic sources with a secure alternative such as Crypt::SysRandom, Crypt::URandom, or Crypt::PRNG, or disable them entirely in the application configuration.
  • Ensure that any remaining HTTP connections are restricted or terminated so that the vulnerable source cannot be reached from the network.

Generated by OpenCVE AI on August 4, 2026 at 11:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
References
Metrics threat_severity

None

threat_severity

Important


Mon, 03 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 02 Aug 2026 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Rrwo
Rrwo data::entropy
Vendors & Products Rrwo
Rrwo data::entropy

Sat, 01 Aug 2026 11:00:00 +0000

Type Values Removed Values Added
Description Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP. The Data::Entropy::RawSource::RandomOrg and Data::Entropy::RawSource::RandomnumbersInfo remote sources are accessed over plain HTTP. The Data::Entropy::RawSource::RandomOrg integrity check trivially matches any non-empty byte string. Any on-path attacker, such as open WiFi, a compromised ISP, captive portal, or a hostile egress proxy substitutes the response and thereby chooses the bytes returned by rand_bits and rand_int for every application that selected one of these sources via with_entropy_source. The _checkbuf method response is equally attacker-controlled, so the retry/sleep behaviour is steerable too.
Title Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP
Weaknesses CWE-319
CWE-353
References

Subscriptions

Rrwo Data::entropy Data\
cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-08-03T19:55:35.372Z

Reserved: 2026-07-31T20:31:42.315Z

Link: CVE-2026-18536

cve-icon Vulnrichment

Updated: 2026-08-01T15:23:24.896Z

cve-icon NVD

Status : Analyzed

Published: 2026-08-01T11:16:38.483

Modified: 2026-08-07T18:52:30.823

Link: CVE-2026-18536

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-01T10:35:38Z

Links: CVE-2026-18536 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T11:30:07Z

Weaknesses
  • CWE-319

    Cleartext Transmission of Sensitive Information

  • CWE-353

    Missing Support for Integrity Check