cve.bz

CVE-2026-16615 Librest: weak random number generation in pkce implementation

6.8 mediumEPSS 0.5%Fix available

Medium (6.8). EPSS 0.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.8 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 33rd percentile. Scored 2026-11-26. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-07-22. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-338 Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG)
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
Assigned by
redhat (CNA)
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

  • Red Hat Red Hat Enterprise Linux 10: fixed in 0:0.9.1-11.el10_2.1
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support: fixed in 0:0.9.1-11.el10_0.1
  • Debian, Red Hat, SUSE, openSUSE, AlmaLinux, Rocky Linux, Azure Linux: fixed package versions per release

Ask an AI about this CVE

Show the promptExplain CVE-2026-16615 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-16615?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-16615?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-16615 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

Fixed in

ProductFixed in
Red Hat Enterprise Linux 100:0.9.1-11.el10_2.1
Red Hat Enterprise Linux 10.0 Extended Update Support0:0.9.1-11.el10_0.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12librest0.9.1-6+deb12u1DEBIAN-CVE-2026-16615 DLA-4915-1
Debian13, 14librestno fix listedDEBIAN-CVE-2026-16615
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 4 morelibrestno fix listedUBUNTU-CVE-2026-16615
Red Hatenterprise_linux:10.2rest, rest-devel, rest-debuginfo and 2 more0:0.9.1-11.el10_2.1RHSA-2026:47085
Red Hatenterprise_linux_eus:10.0rest, rest-devel, rest-debuginfo and 2 more0:0.9.1-11.el10_0.1RHSA-2026:62222
SUSELinux Enterprise Module for Desktop Applications 15 SP7librest0.9.1-150600.3.3.1SUSE-SU-2026:3795-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0librest0.9.1-160000.3.1SUSE-SU-2026:23564-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5librest0.8.0-13.3.1SUSE-SU-2026:3796-1
SUSELinux Enterprise Workstation Extension 15 SP7librest0_70.8.1-150600.4.3.1SUSE-SU-2026:3834-1
openSUSELeap 16.0librest0.9.1-160000.3.1openSUSE-SU-2026:21694-1
openSUSELeap 16.0librest0_70.8.1-bp160.2.1openSUSE-SU-2026:21563-1
openSUSETumbleweedlibrest0.10.2-2.1openSUSE-SU-2026:11477-1
AlmaLinux10rest, rest-devel0.9.1-11.el10_2.1ALSA-2026:47085
Rocky Linux10rest0:0.9.1-11.el10_2.1RLSA-2026:47085
Azure Linux3rest0.9.0-2AZL-93303

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

To exploit this flaw, an attacker must be in a position to intercept the authorization code and reverse-engineer the pseudo-random number generator (PRNG) seed to reconstruct or predict the code verifier string. This allows the attacker to hold a valid access token and impersonate the user, access their protected data and perform actions on their behalf. Due to these reasons, this vulnerability has been rated with an important severity.

Red Hat's mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10rest-0:0.9.1-11.el10_2.1Fixed 2026-07-28RHSA-2026:47085
Red Hat Enterprise Linux 10.0 Extended Update Supportrest-0:0.9.1-11.el10_0.1Fixed 2026-09-01RHSA-2026:62222

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-16615.

References

Check your stackJSON