{"id":"CVE-2026-18536","state":"PUBLISHED","title":"Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP","description":"Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP.\n\nThe Data::Entropy::RawSource::RandomOrg and Data::Entropy::RawSource::RandomnumbersInfo remote sources are accessed over plain HTTP.\n\nThe Data::Entropy::RawSource::RandomOrg integrity check trivially matches any non-empty byte string.\n\nAny 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.","publishedAt":"2026-08-01T10:35:38.392Z","updatedAt":"2026-08-03T19:55:35.372Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"CISA-ADP"},"assigner":"CPANSec","products":["RRWO Data::Entropy"],"affected":[{"vendor":"RRWO","product":"Data::Entropy","packageName":"Data-Entropy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.010","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Data/Entropy/RawSource/RandomOrg.pm","lib/Data/Entropy/RawSource/RandomnumbersInfo.pm"],"programRoutines":[{"name":"Data::Entropy::RawSource::RandomOrg::_checkbuf"},{"name":"Data::Entropy::RawSource::RandomOrg::_ensure_buffer"},{"name":"Data::Entropy::RawSource::RandomnumbersInfo::_ensure_buffer"}],"repo":"https://github.com/robrwo/Data-Entropy"}],"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","http://www.openwall.com/lists/oss-security/2026/08/01/8"],"weaknesses":["CWE-319","CWE-353"],"ingestedAt":"2026-10-29T20:11:10.572Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/18xxx/CVE-2026-18536.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-18536","state":"PUBLISHED","datePublished":"2026-08-01T10:35:38.392Z","dateUpdated":"2026-08-03T19:55:35.372Z","assignerShortName":"CPANSec","assignerOrgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateReserved":"2026-07-31T20:31:42.315Z"},"containers":{"cna":{"title":"Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP","descriptions":[{"lang":"en","value":"Data::Entropy versions before 0.010 for Perl read remote entropy sources over plain HTTP.\n\nThe Data::Entropy::RawSource::RandomOrg and Data::Entropy::RawSource::RandomnumbersInfo remote sources are accessed over plain HTTP.\n\nThe Data::Entropy::RawSource::RandomOrg integrity check trivially matches any non-empty byte string.\n\nAny 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."}],"affected":[{"vendor":"RRWO","product":"Data::Entropy","packageName":"Data-Entropy","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"0.010","versionType":"custom"}],"collectionURL":"https://cpan.org/modules","programFiles":["lib/Data/Entropy/RawSource/RandomOrg.pm","lib/Data/Entropy/RawSource/RandomnumbersInfo.pm"],"programRoutines":[{"name":"Data::Entropy::RawSource::RandomOrg::_checkbuf"},{"name":"Data::Entropy::RawSource::RandomOrg::_ensure_buffer"},{"name":"Data::Entropy::RawSource::RandomnumbersInfo::_ensure_buffer"}],"repo":"https://github.com/robrwo/Data-Entropy"}],"references":[{"url":"https://github.com/robrwo/Data-Entropy/security/advisories/GHSA-845w-rcqw-jwvv","tags":["vendor-advisory"]},{"url":"https://metacpan.org/release/RRWO/Data-Entropy-0.010/changes","tags":["release-notes"]},{"url":"https://metacpan.org/release/RRWO/Data-Entropy-0.008/view/lib/Data/Entropy.pm#STATUS"},{"url":"https://security.metacpan.org/docs/guides/random-data-for-security.html","tags":["technical-description"]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-319","description":"CWE-319 Cleartext Transmission of Sensitive Information","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-353","description":"CWE-353 Missing Support for Integrity Check","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"CPANSec","orgId":"9b29abf9-4ab0-4765-b253-1875cd9b441e","dateUpdated":"2026-08-01T10:35:38.392Z"},"source":{"discovery":"UNKNOWN"},"workarounds":[{"lang":"en","value":"Deployments should not use the RandomOrg or RandomnumbersInfo sources, as these are flawed.\n\nThey 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.)\n\nNote 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."}],"x_generator":{"engine":"cpansec-cna-tool 0.1"}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2026/08/01/8"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2026-08-01T15:23:24.896Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-08-03T19:55:08.843137Z","id":"CVE-2026-18536","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-03T19:55:35.372Z"}}]}}}