CVE-2026-16615: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Red Hat Red Hat Enterprise Linux 10
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.
AI Analysis
Technical Summary
CVE-2026-16615 identifies a cryptographic weakness in the librest library used by Red Hat Enterprise Linux 10. Specifically, the OAuth PKCE implementation relies on the GLib API's GRand function, which is not designed for cryptographic security. The insufficient entropy in the generated code verifier enables an attacker to reverse-engineer the PRNG seed, thereby predicting or reconstructing the verifier string. This flaw undermines the security guarantees of PKCE, allowing an attacker to bypass client verification in the OAuth 2.0 authorization flow and impersonate legitimate clients.
Potential Impact
The vulnerability compromises the integrity of the OAuth 2.0 authorization flow by allowing attackers to bypass PKCE protections. Successful exploitation can lead to client impersonation, potentially exposing sensitive authorization tokens or enabling unauthorized access. The CVSS score of 6.8 (medium severity) reflects the network attack vector, required user interaction, and high impact on confidentiality and integrity, but no impact on availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-16615 for current remediation guidance. Until an official fix is available, users should consider mitigating the risk by avoiding use of the affected PKCE implementation or applying any recommended workarounds from Red Hat. Monitor the vendor advisory for updates on patches or temporary fixes.
CVE-2026-16615: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in Red Hat Red Hat Enterprise Linux 10
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.
CVSS v3.1
Score 6.8medium
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-16615 identifies a cryptographic weakness in the librest library used by Red Hat Enterprise Linux 10. Specifically, the OAuth PKCE implementation relies on the GLib API's GRand function, which is not designed for cryptographic security. The insufficient entropy in the generated code verifier enables an attacker to reverse-engineer the PRNG seed, thereby predicting or reconstructing the verifier string. This flaw undermines the security guarantees of PKCE, allowing an attacker to bypass client verification in the OAuth 2.0 authorization flow and impersonate legitimate clients.
Potential Impact
The vulnerability compromises the integrity of the OAuth 2.0 authorization flow by allowing attackers to bypass PKCE protections. Successful exploitation can lead to client impersonation, potentially exposing sensitive authorization tokens or enabling unauthorized access. The CVSS score of 6.8 (medium severity) reflects the network attack vector, required user interaction, and high impact on confidentiality and integrity, but no impact on availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory at https://access.redhat.com/security/cve/CVE-2026-16615 for current remediation guidance. Until an official fix is available, users should consider mitigating the risk by avoiding use of the affected PKCE implementation or applying any recommended workarounds from Red Hat. Monitor the vendor advisory for updates on patches or temporary fixes.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- redhat
- Date Reserved
- 2026-07-22T14:38:37.901Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-16615","vendor":"Red Hat"}]
Threat ID: 6a60f1d29c2644c7f8587795
Added to database: 07/22/2026, 16:37:38 UTC
Last enriched: 07/22/2026, 16:53:54 UTC
Last updated: 07/22/2026, 17:23:55 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.