CVE-2026-16615
CVE-2026-16615 · Librest: weak random number generation in pkce implementation
CVSS 6.8 · Medium · EPSS 0.5% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- librestNo fix published
- red hat enterprise linux 10No fix published
- red hat enterprise linux 10.0 extended update supportNo fix published
- librest Debian 12Update to 0.9.1-6+deb12u1
- and 9 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="librest"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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
- Updated
Fixes in distributions
- DLA-4915-1 · Debian 12 ·
- RHSA-2026:62222 · Red Hat enterprise linux eus 10.0 ·
- SUSE-SU-2026:23564-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
- openSUSE-SU-2026:21694-1 · openSUSE Leap 16.0 ·
- SUSE-SU-2026:3834-1 · SUSE Linux Enterprise Workstation Extension 15 SP7 ·
- SUSE-SU-2026:3796-1 · SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
- SUSE-SU-2026:3795-1 · SUSE Linux Enterprise Module for Desktop Applications 15 SP7 ·
- openSUSE-SU-2026:21563-1 · openSUSE Leap 16.0 ·
- openSUSE-SU-2026:11477-1 · openSUSE Tumbleweed ·
- RLSA-2026:47085 · Rocky Linux 10 ·
- RHSA-2026:47085 · Red Hat Enterprise Linux 10.2 ·
- ALSA-2026:47085 · AlmaLinux 10 ·
Stack: system
Affected products and versions
librest
No fix published
red hat enterprise linux 10
- Versions
- ≥ 0:0.9.1-11.el10_2.1: Not affected (rpm)
No fix published
red hat enterprise linux 10.0 extended update support
- Versions
- ≥ 0:0.9.1-11.el10_0.1: Not affected (rpm)
No fix published
librest Debian 12
- Versions
- 0.9.1-6
- Affected ranges
- ECOSYSTEM: < 0.9.1-6+deb12u1
Update to 0.9.1-6+deb12u1
librest Debian 13
- Versions
- 0.10.2-1
- 0.9.1-6
- 1.0.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librest Debian 14
- Versions
- 0.10.2-1
- 0.9.1-6
- 1.0.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librest Ubuntu 16.04 LTS
- Versions
- 0.7.93-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librest Ubuntu 18.04 LTS
- Versions
- 0.8.0-2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librest Ubuntu 20.04 LTS
- Versions
- 0.8.1-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librest Ubuntu 22.04 LTS
- Versions
- 0.8.1-1.1build1
- 0.8.1-1.1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librest Ubuntu 24.04 LTS
- Versions
- 0.9.1-6
- 0.9.1-6build2
- 0.9.1-6build3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librest Ubuntu 26.10
- Versions
- 0.10.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
librest Ubuntu 26.04 LTS
- Versions
- 0.9.1-6build4
- 0.10.2-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- https://access.redhat.com/errata/RHSA-2026:47085
- https://access.redhat.com/errata/RHSA-2026:62222
- https://access.redhat.com/security/cve/CVE-2026-16615
- https://bugzilla.redhat.com/show_bug.cgi?id=2504432
- https://gitlab.gnome.org/GNOME/librest/-/issues/25
- https://lists.debian.org/debian-lts-announce/2026/11/msg00041.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-16615