Skip to main content

Bytes::Random::Secure::Tiny CVE-2026-11702

| EUVDEUVD-2026-39641 HIGH
Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG) (CWE-335)
2026-06-26 CPANSec GHSA-vcwj-3q56-r32w
7.5
CVSS 3.1 · Vendor: CPANSec
Share

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

Confidentiality-only predictable secrets; AC:H because exploitation needs the victim's init-before-fork pattern and the attacker must predict the shared stream; no attacker privileges, so PR:N.

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

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
Source Code Evidence Fetched
Jun 26, 2026 - 17:26 vuln.today
Analysis Generated
Jun 26, 2026 - 17:26 vuln.today
CVSS changed
Jun 26, 2026 - 17:22 NVD
7.5 (HIGH)
CVE Published
Jun 26, 2026 - 08:13 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

Bytes::Random::Secure::Tiny versions through 1.011 for Perl share internal state across forked processes.

When an object is initialised before forking, then the internal state for the PRNG is shared across processes and identical random streams will be produced.

Secrets generated in multiprocess applications are predictable across processes.

AnalysisAI

Predictable secret generation in the Perl module Bytes::Random::Secure::Tiny (versions through 1.011) occurs because a PRNG object initialized before a fork() shares its ISAAC engine state across all child processes, causing every child to emit identical 'random' streams. Multiprocess Perl applications (e.g., preforking web servers) that create one generator and reuse it after forking will produce duplicate session tokens, keys, salts, or nonces across workers. Reported by CPANSec with an upstream fix; EPSS is low (0.16%, 5th percentile) and there is no public exploit identified at time of analysis.

Technical ContextAI

The module is a dependency-light reimplementation of Bytes::Random::Secure that wraps Math::Random::ISAAC::Embedded seeded from Crypt::Random::Seed::Embedded. The root cause is CWE-335 (Incorrect Usage of Seeds in a PRNG): when new() seeds the ISAAC engine once and the object is then carried across a fork(), the in-memory PRNG state is copied verbatim into each child, so all children deterministically replay the same sequence from the inherited seed. The upstream PR (#7) fixes this by stamping the seeding PID into the object and re-seeding from fresh entropy inside irand() whenever $$ changes - re-seeding at most once per fork - while explicitly leaving thread isolation as caller responsibility. CPE coverage is cpe:2.3:a:davido:bytes::random::secure::tiny:*, all versions up to and including 1.011.

RemediationAI

Patch available per vendor advisory; an upstream fix exists as PR #7 plus a MetaCPAN security patch (CVE-2026-11702-r1.patch) that adds PID-based fork detection and re-seeds the PRNG when the process forks - apply the patched build once your distribution publishes a fixed release above 1.011 (no fixed version number is independently confirmed in the available data, so verify the release before pinning). As a code-level workaround until you can upgrade, instantiate the Bytes::Random::Secure::Tiny object inside each child process after fork() rather than in the parent, or explicitly create a fresh generator per worker; this guarantees independent entropy at the cost of slightly higher per-worker seeding overhead. Note that re-seeding does not retroactively fix any secrets already generated by the shared state, so rotate any tokens/keys produced by an affected preforking deployment. References: https://github.com/daoswald/Bytes-Random-Secure-Tiny/pull/7 and https://security.metacpan.org/patches/B/Bytes-Random-Secure-Tiny/1.011/CVE-2026-11702-r1.patch.

Vendor StatusVendor

SUSE

Severity: Important

Share

CVE-2026-11702 vulnerability details – vuln.today

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