DEBIAN-CVE-2026-16615
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.
DEBIAN-CVE-2026-16615
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:DEBIAN-CVE-2026-16615
librest
Source reference: /affected/0/package/name
- Affected versions
- 0.10.2-1
Source reference:
/affected/0/versions0.9.1-6Source reference:
/affected/0/versions1.0.0-1Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
librest
Source reference: /affected/1/package/name
- Affected versions
- 0.10.2-1
Source reference:
/affected/1/versions0.9.1-6Source reference:
/affected/1/versions1.0.0-1Source reference:
/affected/1/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
librest
Source reference: /affected/2/package/name
- Affected versions
- 0.10.2-1
Source reference:
/affected/2/versions0.9.1-6Source reference:
/affected/2/versions1.0.0-1Source reference:
/affected/2/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "librest",
"purl": "pkg:deb/debian/librest?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"0.10.2-1",
"0.9.1-6",
"1.0.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16615.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "librest",
"purl": "pkg:deb/debian/librest?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"0.10.2-1",
"0.9.1-6",
"1.0.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16615.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "librest",
"purl": "pkg:deb/debian/librest?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"0.10.2-1",
"0.9.1-6",
"1.0.0-1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-16615.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #56144 · Revision 1
- Added to Heist Feed
- Publisher date