CVE-2026-18536Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP
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.
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | libdata-entropy-perl | Fix pending | UBUNTU-CVE-2026-18536 | |
| Ubuntu 26.04 | libdata-entropy-perl | Under investigation | UBUNTU-CVE-2026-18536 | |
| Ubuntu 24.04 | libdata-entropy-perl | Under investigation | UBUNTU-CVE-2026-18536 | |
| Ubuntu 22.04 | libdata-entropy-perl | Under investigation | UBUNTU-CVE-2026-18536 | |
| Ubuntu 20.04 | libdata-entropy-perl | Fix pending | UBUNTU-CVE-2026-18536 | |
| Ubuntu 18.04 | libdata-entropy-perl | Fix pending | UBUNTU-CVE-2026-18536 | |
| Ubuntu 16.04 | libdata-entropy-perl | Fix pending | UBUNTU-CVE-2026-18536 | |
| Debian 14 | libdata-entropy-perl | Fix pending | DEBIAN-CVE-2026-18536 | |
| Debian 13 | libdata-entropy-perl | Fix pending | DEBIAN-CVE-2026-18536 | |
| Debian 12 | libdata-entropy-perl | Fix pending | DEBIAN-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.
- RRWO Data::Entropy: affected: before 0.010; fixed in
0.010
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:
- https://github.com/robrwo/Data-Entropy/security/advisories/GHSA-845w-rcqw-jwvv (vendor-advisory)
- https://metacpan.org/release/RRWO/Data-Entropy-0.010/changes (release-notes)
References
- https://github.com/robrwo/Data-Entropy/security/advisories/GHSA-845w-rcqw-jwvv
- https://metacpan.org/release/RRWO/Data-Entropy-0.010/changes
- https://metacpan.org/release/RRWO/Data-Entropy-0.008/view/lib/Data/Entropy.pm#STATUS
- https://security.metacpan.org/docs/guides/random-data-for-security.html
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.