Bug 2504432 (CVE-2026-16615) - CVE-2026-16615 librest: weak random number generation in PKCE implementation
Summary: CVE-2026-16615 librest: weak random number generation in PKCE implementation
Keywords:
Status: NEW
Alias: CVE-2026-16615
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On: 2506176 2506177
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-21 20:53 UTC by OSIDB Bzimport
Modified: 2026-10-01 15:45 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:47085 0 None None None 2026-07-28 13:56:51 UTC
Red Hat Product Errata RHSA-2026:62222 0 None None None 2026-09-01 17:23:20 UTC

Description OSIDB Bzimport 2026-07-21 20:53:18 UTC
A flaw was found in librest, affecting all versions. 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.

Comment 2 errata-xmlrpc 2026-07-28 13:56:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:47085 https://access.redhat.com/errata/RHSA-2026:47085

Comment 3 errata-xmlrpc 2026-09-01 17:23:19 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:62222 https://access.redhat.com/errata/RHSA-2026:62222


Note You need to log in before you can comment on or make changes to this bug.