{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-16615","id":"CVE-2026-16615","title":"Librest: weak random number generation in pkce implementation","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, all","descriptionLong":"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.","published":"2026-07-22T16:12:03.536Z","updated":"2026-11-18T23:17:20.977Z","reserved":"2026-07-22T14:38:37.901Z","status":"Awaiting Analysis","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat"},"metrics":[{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat"},{"version":"3.1","score":6.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N","rating":"medium","source":"redhat.com"}],"rating":"medium","products":["GNOME librest","Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 10.0 Extended Update Support"],"affectedProducts":[{"vendor":"GNOME","product":"librest","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10","defaultStatus":"affected","versions":[{"version":"0:0.9.1-11.el10_2.1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Enterprise Linux 10.0 Extended Update Support","defaultStatus":"affected","versions":[{"version":"0:0.9.1-11.el10_0.1","lessThan":"*","versionType":"rpm","status":"unaffected"}],"platforms":[]}],"packages":[],"cwes":["CWE-338"],"aliases":[],"references":[{"url":"https://access.redhat.com/errata/RHSA-2026:47085","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:62222","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-16615","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2504432","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://gitlab.gnome.org/GNOME/librest/-/issues/25","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2026/11/msg00041.html","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00435,"epssPercentile":0.38454,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-16615","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-16615","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-16615","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-16615","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}