CVE-2026-16615
Librest: weak random number generation in pkce implementation
CVSS Score
6.8
EPSS Score
0.3%
EPSS Percentile
17th
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.
| CWE | CWE-338 |
| Vendor | gnome |
| Product | librest |
| Published | Jul 22, 2026 |
| Last Updated | Jul 31, 2026 |
Stay Ahead of the Next One
Get instant alerts for gnome librest
Be the first to know when new medium vulnerabilities affecting gnome librest are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
Affected Versions
GNOME / librest
All versions affected Red Hat / Red Hat Enterprise Linux 10
All versions affected References
Credits
Red Hat would like to thank Cole Blakley for reporting this issue.