Skip to content
Threat Brief

← All advisories

CVE-2026-16615

Medium 6.8No known exploitationFix status unknown

Librest: weak random number generation in pkce implementation

Record last updated

CVSS score

6.8

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.5%

Higher than 42% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

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.

Weakness: CWE-338

Patching and mitigation

Patch status
Unknown: no source documents a fix
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. Source (opens in a new tab)
Vendor guidance
access.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
GNOMElibrestNot documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 10 (unaffected)0:0.9.1-11.el10_2.1Not documentedCVE Program
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support (unaffected)0:0.9.1-11.el10_0.1Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

Vendor guidance and references