Librest: weak random number generation in pkce implementation
CVE-2026-16615 is fixed in 8 products on 1 platform, first by RHSA-2026:62222, released June 8, 2026. It is not reported as exploited. Patch Radar priority: Routine.
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.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| librest · opensuse-leap 16.0 | 0.9.1-160000.3.1 | OPENSUSE-SU-2026:21694-1 | Aug 30, 2026 |
| librest · sles 15.7 | 0.9.1-150600.3.3.1 | SUSE-SU-2026:3795-1 | Aug 25, 2026 |
| librest · sles 16.0 | 0.9.1-160000.3.1 | SUSE-SU-2026:23564-1 | Aug 30, 2026 |
| librest0_7 · opensuse-leap 16.0 | 0.8.1-bp160.2.1 | OPENSUSE-SU-2026:21563-1 | Aug 11, 2026 |
| librest0_7 · sles 15.7 | 0.8.1-150600.4.3.1 | SUSE-SU-2026:3834-1 | Aug 27, 2026 |
| rest · Fedora 43 | 0.10.2-5.fc43 | FEDORA-2026-C2116E108F | Aug 26, 2026 |
| rest · RHEL 10 | 0.9.1-11.el10_0.1 | RHSA-2026:62222 | Jun 8, 2026 |
| rest · almalinux 10 | 0.9.1-11.el10_2.1 | ALSA-2026:47085 | Jul 28, 2026 |
| rest · ol 10 | 0:0.9.1-11.el10_2.1 | ELSA-2026-47085 | Jul 28, 2026 |
| rest · rocky 10 | 0:0.9.1-11.el10_2.1 | RLSA-2026:47085 | Jul 29, 2026 |
| rest-debuginfo · Fedora 43 | 0.10.2-5.fc43 | FEDORA-2026-C2116E108F | Aug 26, 2026 |
| rest-debugsource · Fedora 43 | 0.10.2-5.fc43 | FEDORA-2026-C2116E108F | Aug 26, 2026 |
| rest-demo · Fedora 43 | 0.10.2-5.fc43 | FEDORA-2026-C2116E108F | Aug 26, 2026 |
| rest-demo-debuginfo · Fedora 43 | 0.10.2-5.fc43 | FEDORA-2026-C2116E108F | Aug 26, 2026 |
| rest-devel · Fedora 43 | 0.10.2-5.fc43 | FEDORA-2026-C2116E108F | Aug 26, 2026 |
| rest-devel · almalinux 10 | 0.9.1-11.el10_2.1 | ALSA-2026:47085 | Jul 28, 2026 |
| rest-devel · ol 10 | 0:0.9.1-11.el10_2.1 | ELSA-2026-47085 | Jul 28, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.