Description
Bytes::Random::Secure versions through 0.29 for Perl share internal state across forked processes.

When an object is initialised before forking, or when the functional interface is used, 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.
Published: 2026-06-26
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Bytes::Random::Secure versions through 0.29 for Perl store the internal state of the pseudorandom number generator in a process‑wide global. When an object is created before a fork, or when the functional API is used, that state is duplicated in child processes, causing each process to generate the same sequence of random numbers. Secrets produced in a multiprocess application are therefore identical and predictable, creating a risk that attackers can anticipate or replay secret values.

Affected Systems

The vulnerability affects the DAVIDO Bytes::Random::Secure CPAN module, versions 0.29 and earlier. Applications that import this module and use it in a forked environment are impacted.

Risk and Exploitability

The likely attack vector is an application that uses Bytes::Random::Secure before forking and relies on the generated values for cryptographic or authentication purposes. Based on the description, it is inferred that an attacker who can influence or observe a forked process may predict deterministic secrets. Because no EPSS score is published and the vulnerability is not listed in the CISA KEV catalog, the raw risk level is unclear, but the nature of the flaw is serious. No CVSS score is provided, and the consequences could allow exploitation of predictable secrets.

Generated by OpenCVE AI on June 26, 2026 at 10:20 UTC.

Remediation

Vendor Workaround

Apply the patch. Otherwise, only use the object-oriented interface and ensure that the object is only instantiated in a child process after forking. Alternatively, use a different module such as Crypt::PRNG, Crypt::SysRandom or Crypt::URandom.


OpenCVE Recommended Actions

  • Apply the vendor patch (CVE-2026-11625-r1.patch) to all installed copies of Bytes::Random::Secure early versions.
  • Reinitialize the Bytes::Random::Secure object after a fork, ensuring that each child process creates its own PRNG instance.
  • Switch to a different random number module, such as Crypt::PRNG, Crypt::SysRandom, or Crypt::URandom, which do not share state across processes.

Generated by OpenCVE AI on June 26, 2026 at 10:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 26 Jun 2026 08:45:00 +0000

Type Values Removed Values Added
Description Bytes::Random::Secure versions through 0.29 for Perl share internal state across forked processes. When an object is initialised before forking, or when the functional interface is used, 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.
Title Bytes::Random::Secure versions through 0.29 for Perl share internal state across forked processes
Weaknesses CWE-335
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-06-26T08:07:30.141Z

Reserved: 2026-06-08T21:02:09.596Z

Link: CVE-2026-11625

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-26T10:30:17Z

Weaknesses
  • CWE-335

    Incorrect Usage of Seeds in Pseudo-Random Number Generator (PRNG)