#1142715 librest: CVE-2026-16615

Package:
src:librest
Source:
src:librest
Submitter:
Salvatore Bonaccorso
Date:
2026-07-30 17:37:16 UTC
Severity:
normal
Tags:
#1142715#5
Date:
2026-07-24 13:33:41 UTC
From:
To:
Hi,

The following vulnerability was published for librest.

CVE-2026-16615[0]:
| 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.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-16615
https://www.cve.org/CVERecord?id=CVE-2026-16615
[1] https://gitlab.gnome.org/GNOME/librest/-/issues/25

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore