CVEfocus › CVE database › CVE-2026-18536

CVE-2026-18536Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP

CVSS 7.5 HighEPSS 0.2% (higher than 6% of CVEs)Published 2026-08-01Updated 2026-08-03Assigner: CPANSec

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.

CWE-319CWE-353

What to do

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

7Fix pending
3Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libdata-entropy-perlFix pendingUBUNTU-CVE-2026-18536
Ubuntu 26.04libdata-entropy-perlUnder investigationUBUNTU-CVE-2026-18536
Ubuntu 24.04libdata-entropy-perlUnder investigationUBUNTU-CVE-2026-18536
Ubuntu 22.04libdata-entropy-perlUnder investigationUBUNTU-CVE-2026-18536
Ubuntu 20.04libdata-entropy-perlFix pendingUBUNTU-CVE-2026-18536
Ubuntu 18.04libdata-entropy-perlFix pendingUBUNTU-CVE-2026-18536
Ubuntu 16.04libdata-entropy-perlFix pendingUBUNTU-CVE-2026-18536
Debian 14libdata-entropy-perlFix pendingDEBIAN-CVE-2026-18536
Debian 13libdata-entropy-perlFix pendingDEBIAN-CVE-2026-18536
Debian 12libdata-entropy-perlFix pendingDEBIAN-CVE-2026-18536

What the vendor says

As published in the CVE record by CPANSec, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.