Bug 2506176 - CVE-2026-16615 mingw-rest: weak random number generation in PKCE implementation [fedora-all]
Summary: CVE-2026-16615 mingw-rest: weak random number generation in PKCE implementati...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-rest
Version: 45
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: Marc-Andre Lureau
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: {"flaws": ["32817975-c882-4169-aab7-5...
Depends On:
Blocks: CVE-2026-16615
TreeView+ depends on / blocked
 
Reported: 2026-07-22 16:12 UTC by Guilherme de Almeida Suckevicz
Modified: 2026-08-17 15:35 UTC (History)
2 users (show)

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


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2026-07-22 16:12:51 UTC
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.

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 1 Aoife Moloney 2026-08-17 15:35:55 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 45 development cycle.
Changing version to 45.


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