Security mailing lists by PureSourceCode

CVE-2026-16615

MEDIUM 6.8CVSS 3.1

Librest: weak random number generation in pkce implementation

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.

Published
22 Jul 2026
Last modified
18 Nov 2026
Assigned by
secalert@redhat.com
NVD status
Awaiting Analysis
Weakness
CWE-338
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD secalert@redhat.com (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVE List redhat CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: total

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://gitlab.gnome.org/GNOME/librest librest all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ rest
cpe:/o:redhat:enterprise_linux:10.2
all versions
CVE List https://access.redhat.com/downloads/content/package-browser/ rest
cpe:/o:redhat:enterprise_linux_eus:10.0
all versions

References

History

  • 25 Nov 2026 20:10 UTC · CVE List: first stored (published 22 Jul 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 22 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.