Skip to main content

Data::Entropy CVE-2026-18536

| EUVDEUVD-2026-51803 HIGH
Cleartext Transmission of Sensitive Information (CWE-319)
2026-08-01 CPANSec
7.5
CVSS 3.1 · Vendor: CPANSec
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify target using remote entropy source
  2. Delivery
    Acquire on-path position (rogue WiFi or proxy)
  3. Exploit
    Intercept plain HTTP entropy fetch
  4. Install
    Substitute controlled byte sequence in response
  5. C2
    Bypass trivial integrity check
  6. Execute
    Application consumes attacker-controlled entropy
  7. Impact
    Predict all derived cryptographic material

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A04:2025 - Cryptographic Failures
ASVS 5.0
V12 - Secure Communication Transport encryption
Exploitation Conditions

The application must explicitly configure Data::Entropy::RawSource::RandomOrg or Data::Entropy::RawSource::RandomnumbersInfo as its entropy source using with_entropy_source - this is not a default configuration and represents a deliberate opt-in. The attacker must be on-path between the application host and the upstream HTTP entropy endpoint (random.org or randomnumbers.info), achievable via open WiFi control, ISP-level interception, captive portal injection, or a hostile egress proxy. Exploitation is limited by the non-default nature of the remote sources and the attacker's need for network positioning; applications using local entropy providers (the typical pattern) are entirely unaffected regardless of version.

Impact

The NVD CVSS 3.1 score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) is likely overgenerous on AC: achieving an on-path position (open WiFi intercept, ISP compromise, captive portal injection, hostile egress proxy) is a real prerequisite that is not universally achievable, which would support AC:H rather than AC:L, reducing the score to approximately 5.9 (Medium). The confidentiality impact of H is well justified because controlling entropy is equivalent to knowing all cryptographic material derived from it - session tokens, keys, nonces. EPSS is very low at 0.10% (1st percentile), consistent with this being a niche Perl CPAN module with limited deployment and no public exploit code. The flaw is not in CISA KEV, and no POC has been published. Real-world risk is heavily gated on whether an application explicitly opts into one of the two affected remote sources via with_entropy_source - applications using local entropy (the typical and default pattern) are entirely unaffected. For those that do use the remote sources, however, the impact is total loss of randomness confidentiality.

Exploit ScenarioDerived

An attacker positioned on the network path between the vulnerable Perl application and random.org - for example, operating a rogue open WiFi access point or compromising an egress proxy - intercepts the unencrypted HTTP entropy request and responds with a predetermined byte sequence of their choice. Because the integrity check accepts any non-empty string, the crafted response passes validation and is consumed by with_entropy_source, making every subsequent call to rand_bits and rand_int return attacker-controlled values; any cryptographic key, session token, or nonce derived from these values is therefore fully predictable to the attacker. No public exploit code has been identified at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 03, 2026

Entropy source compromise in Data::Entropy (Perl) before version 0.010 allows any on-path network attacker to fully control the random bytes returned by rand_bits and rand_int for every application that selects the RandomOrg or RandomnumbersInfo remote sources via with_entropy_source. The library fetches entropy over plain HTTP with no transport security, and Data::Entropy::RawSource::RandomOrg's integrity check trivially accepts any non-empty byte string, so substituted attacker-controlled responses are never rejected. A vendor-released patch is confirmed at version 0.010; no active exploitation is confirmed (EPSS 0.10%, 1st percentile, not in CISA KEV), but the deterministic nature of the flaw means any secret derived from these sources is entirely known to the attacker.

RemediationAI

Upgrade Data::Entropy to version 0.010 or later via CPAN ('cpan install Data::Entropy' or 'cpanm Data::Entropy'); the release changelog is confirmed at https://metacpan.org/release/RRWO/Data-Entropy-0.010/changes and the security advisory at https://github.com/robrwo/Data-Entropy/security/advisories/GHSA-845w-rcqw-jwvv. If an immediate upgrade is not possible, the most effective compensating control is to stop using the affected remote entropy sources entirely and switch to a local entropy source (e.g., Crypt::Random or File::ReadBackwards against /dev/urandom), which eliminates the network attack surface entirely; the trade-off is losing access to hardware true-random number generation from third-party services. Alternatively, if remote entropy is operationally required, use a local TLS-terminating proxy to the upstream APIs and verify certificates, though this introduces operational complexity. Guidance on secure random data selection for Perl is available at https://security.metacpan.org/docs/guides/random-data-for-security.html.

Affected VersionsENISA

Data::Entropy 0 <0.010

Affected Packages

euvd data_entropy fix: 0.010

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Data::Entropy is a Perl CPAN library (CPE: cpe:2.3:a:rrwo:data::entropy:*:*:*:*:*:*:*:*) that provides a pluggable entropy/randomness framework. The two remote source backends - Data::Entropy::RawSource::RandomOrg and Data::Entropy::RawSource::RandomnumbersInfo - issue HTTP GET requests to third-party true-random number APIs over unencrypted HTTP. The root cause is CWE-319 (Cleartext Transmission of Sensitive Information): because the channel is unencrypted, any on-path observer can both read and modify the entropy payload before it reaches the application. Compounding the issue, the _checkbuf integrity verification method in the RandomOrg source accepts any non-empty byte string as valid, rendering the check entirely ineffective against a substitution attack. The retry and sleep backoff behaviour is also controlled by the same attacker-controlled response, giving an attacker additional control over timing and denial-of-service-adjacent behaviour.

Know when Data gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (CPANSec) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

On-path network positioning is required for exploitation, warranting AC:H; no authentication or user interaction needed; only confidentiality is impacted.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 7.5 HIGH

Primary rating from Vendor (CPANSec).

CVSS VectorVendor: CPANSec

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

4
CVSS changed
Aug 03, 2026 - 20:22 NVD
7.5 (HIGH)
Patch available
Aug 01, 2026 - 12:16 EUVD
CVE Published
Aug 01, 2026 - 10:35 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 01, 2026 - 10:35 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

Data::Entropy, a Perl library for cryptographic random number generation, allows network attackers to completely control entropy values from remote sources due to missing transport encryption and integrity checks. This breaks the security of any encryption keys or authentication tokens generated by affected applications. Organizations using remote entropy sources must patch to version 0.010 immediately to restore cryptographic security.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Rare
niche Perl CPAN module, minimal enterprise footprint
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

More in Data

View all
CVE-2021-29662 HIGH POC
7.5 Mar 31

The Data::Validate::IP module through 0.29 for Perl does not properly consider extraneous zero characters at the beginni

CVE-2026-59144 CRITICAL
9.8 Jul 21

Stack buffer overflow in the Perl module Data::RingBuffer::Shared before 0.04 lets a local peer with write access to the

CVE-2026-59147 CRITICAL
9.8 Jul 21

Out-of-bounds read and write in the Perl module Data::DisjointSet::Shared before version 0.02 lets a local actor who can

CVE-2026-59145 CRITICAL
9.1 Jul 21

Out-of-bounds memory disclosure in Data::Intern::Shared before 0.02, a Perl shared-memory string interning module, lets

CVE-2026-59146 HIGH
7.8 Jul 21

Out-of-bounds read and write in the Perl module Data::SpatialHash::Shared before 0.02 lets a local peer with write acces

CVE-2026-59143 MEDIUM
6.3 Jul 21

Out-of-bounds read in Data::RoaringBitmap::Shared before version 0.02 for Perl allows a local peer with write access to

CVE-2026-64613 MEDIUM
6.2 Jul 21

World-readable mmap backing files and absent O_NOFOLLOW protection in Data::Buffer::Shared for Perl (versions before 0.0

CVE-2026-65065 MEDIUM
5.5 Jul 21

Information disclosure in Data::RoaringBitmap::Shared Perl module before 0.02 allows local attackers to read sensitive I

CVE-2026-65069 MEDIUM
4.0 Jul 21

Insecure mmap backing-file creation in Data::DisjointSet::Shared (Perl/CPAN) before 0.02 exposes inter-process IPC paylo

CVE-2026-64614 LOW
3.8 Jul 21

Information disclosure in the Perl Data::Deque::Shared module before version 0.06 exposes inter-process communication qu

CVE-2026-65068 LOW
3.8 Jul 21

World-readable IPC segment exposure in Data::SpatialHash::Shared (Perl) before version 0.02 allows any local user on a m

CVE-2026-65067 LOW
3.8 Jul 21

Insecure file creation in Data::Intern::Shared for Perl (all versions before 0.02) exposes shared memory IPC payloads to

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy