Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 83%

CVE-2026-16615: Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) in GNOME librest

0
Medium
VulnerabilityCVE-2026-16615cvecve-2026-16615
Published: 07/22/2026 (07/22/2026, 16:12:03 UTC)
Source: CVE Database V5
Vendor/Project: GNOME
Product: librest

Description

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.

CVSS v3.1

Score 6.8medium

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Affected software

Affected versions
>=10 <10.2.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/06/2026, 16:52:13 UTC

Technical Analysis

The vulnerability in librest arises from the use of the GRand function from the GLib API for generating the PKCE code verifier in OAuth authorization. GRand is a cryptographically insecure PRNG, resulting in insufficient entropy in the code verifier. An attacker capable of intercepting the authorization code can reverse-engineer the PRNG seed to predict or reconstruct the code verifier string. This allows the attacker to bypass PKCE protections, impersonate the client, obtain valid access tokens, and perform unauthorized actions on behalf of the user. Red Hat has issued security advisories and updates for affected versions of librest in Red Hat Enterprise Linux 10 and related products. The vulnerability is rated with an important severity and a CVSS v3.1 base score of 6.8, reflecting high confidentiality and integrity impact but requiring user interaction and high attack complexity.

Potential Impact

Successful exploitation allows an attacker who can intercept the OAuth authorization code to bypass PKCE protections by predicting the code verifier string. This enables the attacker to impersonate the client, obtain valid access tokens, access protected user data, and perform actions on behalf of the user. The vulnerability impacts confidentiality and integrity but does not affect availability. The attack requires network access to intercept the authorization code and involves high complexity and user interaction.

Mitigation Recommendations

Red Hat has released security updates that fix this vulnerability by addressing the weak random number generation in the PKCE implementation. Users and administrators should apply the updated librest packages as soon as possible to remediate the issue. Red Hat has not identified any practical mitigations other than applying the update. Refer to the Red Hat advisory at https://access.redhat.com/articles/11258 for detailed update instructions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
redhat
Date Reserved
2026-07-22T14:38:37.901Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-16615","vendor":"Red Hat"}]

Threat ID: 6a60f1d29c2644c7f8587795

Added to database: 07/22/2026, 16:37:38 UTC

Last enriched: 08/06/2026, 16:52:13 UTC

Last updated: 09/05/2026, 11:02:11 UTC

Views: 96

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses