CVE-2026-16615CWE-338

CVE-2026-16615

Medium · published July 22, 2026

CVSS v3.1
6.8
EPSS
0%
Percentile
16.1
In the wild
Unconfirmed
What it is

A flaw was found in librest. The PKCE implementation for OAuth authorization uses the GRand function from the GLib API, a cryptographically insecure pseudo-random number generator. Because the generated "code verifier" lacks sufficient cryptographic entropy, a malicious actor can reverse-engineer the pseudo-random number generator (PRNG) seed to predict or reconstruct the code verifier string, allowing an attacker to bypass PKCE protections and successfully impersonate the client during the OAuth 2.0 authorization flow.

The record
Technical detail
CVSS v3.1
6.8 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVSS v4.0
Not supplied
EPSS
0.00254 · 16.1th percentile
Weakness
CWE-338 · Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
Published
2026-07-22T21:16Z
References (5)
EPSS history
Timeline
  • 22 JUL 16:12Z
    Librest: weak random number generation in pkce implementation
    cvelistv5