Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-16615

Опубликовано: 08 июн. 2026
Источник: redhat
CVSS3: 6.8

Описание

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.

Отчет

To exploit this flaw, an attacker must be in a position to intercept the authorization code and reverse-engineer the pseudo-random number generator (PRNG) seed to reconstruct or predict the code verifier string. This allows the attacker to hold a valid access token and impersonate the user, access their protected data and perform actions on their behalf. Due to these reasons, this vulnerability has been rated with an important severity.

Меры по смягчению последствий

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.

Дополнительная информация

Статус:

Important
Дефект:
CWE-338
https://bugzilla.redhat.com/show_bug.cgi?id=2504432librest: weak random number generation in PKCE implementation

6.8 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.8
ubuntu
около 2 месяцев назад

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.

CVSS3: 6.8
nvd
около 2 месяцев назад

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.

CVSS3: 6.8
msrc
около 2 месяцев назад

Librest: weak random number generation in pkce implementation

CVSS3: 6.8
debian
около 2 месяцев назад

A flaw was found in librest. The PKCE implementation for OAuth authori ...

suse-cvrf
около 1 месяца назад

Security update for librest0_7

6.8 Medium

CVSS3