> CVE-2026-3255

« BACK_TO_HOME
PUBLISHED
2026-02-27 20:21
MODIFIED
2026-02-27 20:21
EPSS (Prob. Exploit)
0.50%
Top 58.0%
DATA SOURCES:
NVD 🔗 2026-02-27 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-10-25 OSV 🔗 2026-07-26

> DESCRIPTION

HTTP::Session2 versions before 1.12 for Perl for Perl may generate weak session ids using the rand() function. The HTTP::Session2 session id generator returns a SHA-1 hash seeded with the built-in rand function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand() function is unsuitable for cryptographic usage. HTTP::Session2 after version 1.02 will attempt to use the /dev/urandom device to generate a session id, but if the device is unavailable (for example, under Windows), then it will revert to the insecure method described above.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> WEAKNESSES

CWE-338 CWE-340

> CWE DETAILED DESCRIPTIONS

CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) - The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptographically strong. | CWE-340: Generation of Predictable Numbers or Identifiers - The product uses a scheme that generates numbers or identifiers that are more predictable than required.

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

HTTP::Session2 versions before 1.12 for Perl may generate weak session ids using the rand() function

AFFECTED PACKAGES:
Unknown / Unknown
16 versions affected

> HISTORIQUE DES MODIFICATIONS

Première apparition
27/02/2026 20:21
Source: NVD
📊 ENRICHISSEMENT 01/03/2026 06:46
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-338: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) - The product uses a Pseudo-Random Number Generator (PRNG) in a security context, but the PRNG's algorithm is not cryptogra...
Total des modifications: 1 Dernière mise à jour: 8 months ago

> REFERENCES

https://github.com/tokuhirom/HTTP-Session2/commit/9cfde4d7e0965172aef5dcfa3b03bb...
https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.01/source/lib/HTTP/Sessio...
https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.11/source/lib/HTTP/Sessio...
https://metacpan.org/release/TOKUHIROM/HTTP-Session2-1.12/changes
« BACK_TO_HOME