CVE-2026-16615
MEDIUM 6.8CVSS 3.1Librest: 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
| Source | Scored by | Version | Score | Vector / 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
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | https://gitlab.gnome.org/GNOME/librest | librest | all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | restcpe:/o:redhat:enterprise_linux:10.2 |
all versions | |
| CVE List | https://access.redhat.com/downloads/content/package-browser/ | restcpe:/o:redhat:enterprise_linux_eus:10.0 |
all versions |
References
- https://access.redhat.com/errata/RHSA-2026:47085 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/errata/RHSA-2026:62222 · vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2026-16615 · vdb-entry, x_refsource_REDHAT
- https://bugzilla.redhat.com/show_bug.cgi?id=2504432 · issue-tracking, x_refsource_REDHAT
- https://gitlab.gnome.org/GNOME/librest/-/issues/25
- https://lists.debian.org/debian-lts-announce/2026/11/msg00041.html
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)