← Back to CVE search

CVE-2026-16615

librest

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 6.8EPSS 0.254%Risk 0.7
View source
Published
2026-07-22 17:16:55
Affected versions
unknown
Type
Library
Last modified
2026-07-31 14:16:47
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N