CVE-2026-16615 Details
Description
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.
A vulnerability exists in the librest library's implementation of Proof Key for Code Exchange (PKCE) for OAuth authorization. The issue arises because the PKCE code verifier is generated using the GRand function from the GLib API, which is a cryptographically insecure pseudo-random number generator (PRNG). This lack of sufficient cryptographic entropy allows attackers to reverse-engineer the PRNG seed, predict or reconstruct the code verifier string, and bypass PKCE protections. As a result, an attacker could impersonate the client during the OAuth 2.0 authorization flow.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-338 | Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) | [email protected] |
Affected Products
No affected product data is available for this CVE.
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 18, 2026 | CVE Modified | CVE |
| Sep 1, 2026 | CVE Modified | [email protected] |
| Jul 31, 2026 | CVE Modified | [email protected] |
| Jul 28, 2026 | CVE Modified | [email protected] |
| Jul 23, 2026 | CVE Modified | [email protected] |
| Jul 22, 2026 | New CVE Received | [email protected] |
| Jul 22, 2026 | CVE Modified | CISA-ADP |