Skip to main content
EPSS 0.3%top 84%

Security update for librest

0
Medium
Published: 08/30/2026 (08/30/2026, 14:34:16 UTC)
Source: GCVE Database
Vendor/Project: SUSE Product Security Team
Product: SUSE

Description

A vulnerability in librest's PKCE implementation for OAuth authorization uses a cryptographically insecure pseudo-random number generator (PRNG). This flaw allows attackers who can intercept the authorization code to reverse-engineer the PRNG seed, predict or reconstruct the code verifier string, and impersonate the client during the OAuth 2.0 authorization flow. The vulnerability has been rated with important severity and affects certain versions of librest. A security update is available to address this issue.

Affected software

Affected versions
>=10 <10.2.1

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 21:44:01 UTC

Technical Analysis

CVE-2026-16615 describes a weakness in librest's PKCE implementation for OAuth authorization, where the GRand function from the GLib API is used as a PRNG. This PRNG is cryptographically insecure, resulting in insufficient entropy in the generated code verifier. An attacker able to intercept the authorization code can reverse-engineer the PRNG seed to predict or reconstruct the code verifier, thereby bypassing PKCE protections and impersonating the client. The vulnerability affects librest versions >=10 and <10.2.1. Red Hat has issued an advisory recommending updating the affected package as no practical mitigation other than patching was identified.

Potential Impact

An attacker positioned to intercept the OAuth authorization code can exploit the weak PRNG to predict the code verifier string, allowing them to bypass PKCE protections. This enables the attacker to obtain a valid access token, impersonate the user, access protected data, and perform actions on the user's behalf. The vulnerability impacts confidentiality and integrity but does not affect availability.

Mitigation Recommendations

Red Hat advises updating the affected librest package to a fixed version as soon as possible. No practical mitigation other than applying the update has been identified. Users should follow the vendor advisory for the latest patch information.

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

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-223h-642r-2f6v
Osv Schema Version
1.4.0
Aliases
["CVE-2026-16615"]
Database Specific Severity
MODERATE
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a6151269c2644c7f8da6329

Added to database: 07/22/2026, 23:24:22 UTC

Last enriched: 09/29/2026, 21:44:01 UTC

Last updated: 10/21/2026, 13:20:20 UTC

Views: 165

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.

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