Skip to main content
CVE-2026-16615VulnerabilityPublished Updated

librest. The PKCE implementation

Affects librestSource GCVE Database

0
Compare
Authoritative record:CVE-2026-16615· Medium 6.8

Not known to be exploited · CVSS 6.8 Medium.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.16.8
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10librestpkg:deb/ubuntu/librest?arch=source&distro=stonkingOther threatsAffected
  • =0.10.2-1
Fixed in–
Ubuntu 26.04 LTSlibrestpkg:deb/ubuntu/librest?arch=source&distro=resoluteOther threatsAffected
  • =0.9.1-6build4
  • =0.10.2-1
Fixed in–
Ubuntu 24.04 LTSlibrestpkg:deb/ubuntu/librest?arch=source&distro=nobleOther threatsAffected
  • =0.9.1-6
  • =0.9.1-6build2
  • =0.9.1-6build3
Fixed in–
Ubuntu 22.04 LTSlibrestpkg:deb/ubuntu/librest?arch=source&distro=jammyOther threatsAffected
  • =0.8.1-1.1build1
  • =0.8.1-1.1build2
Fixed in–
Ubuntu 20.04 LTSlibrestpkg:deb/ubuntu/librest?arch=source&distro=focalOther threatsAffected
  • =0.8.1-1
Fixed in–
Ubuntu 18.04 LTSlibrestpkg:deb/ubuntu/librest?arch=source&distro=bionicOther threatsAffected
  • =0.8.0-2
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…