Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG) Affecting librest-0_7-0 package, versions <0.8.1-150600.4.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-LIBREST070-19528580
  • published4 Sept 2026
  • disclosed27 Aug 2026

Introduced: 27 Aug 2026

NewCVE-2026-16615  (opens in a new tab)
CWE-338  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 librest-0_7-0 to version 0.8.1-150600.4.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream librest-0_7-0 package and not the librest-0_7-0 package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1