UBUNTU-CVE-2026-16615

Source
https://ubuntu.com/security/CVE-2026-16615
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16615.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-16615
Upstream
  • CVE-2026-16615
Published
2026-07-22T17:16:00Z
Modified
2026-07-29T10:18:48Z
Severity
  • 6.8 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

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

Affected packages

Ubuntu:16.04:LTS
librest

Package

Name
librest
Purl
pkg:deb/ubuntu/librest?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.7.93-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gir1.2-rest-0.7",
            "binary_version": "0.7.93-1"
        },
        {
            "binary_name": "gir1.2-rest-extras-0.7",
            "binary_version": "0.7.93-1"
        },
        {
            "binary_name": "librest-0.7-0",
            "binary_version": "0.7.93-1"
        },
        {
            "binary_name": "librest-extras-0.7-0",
            "binary_version": "0.7.93-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16615.json"
Ubuntu:18.04:LTS
librest

Package

Name
librest
Purl
pkg:deb/ubuntu/librest?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.0-2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gir1.2-rest-0.7",
            "binary_version": "0.8.0-2"
        },
        {
            "binary_name": "gir1.2-rest-extras-0.7",
            "binary_version": "0.8.0-2"
        },
        {
            "binary_name": "librest-0.7-0",
            "binary_version": "0.8.0-2"
        },
        {
            "binary_name": "librest-extras-0.7-0",
            "binary_version": "0.8.0-2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16615.json"
Ubuntu:20.04:LTS
librest

Package

Name
librest
Purl
pkg:deb/ubuntu/librest?arch=source&distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.1-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gir1.2-rest-0.7",
            "binary_version": "0.8.1-1"
        },
        {
            "binary_name": "gir1.2-restextras-0.7",
            "binary_version": "0.8.1-1"
        },
        {
            "binary_name": "librest-0.7-0",
            "binary_version": "0.8.1-1"
        },
        {
            "binary_name": "librest-extras-0.7-0",
            "binary_version": "0.8.1-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16615.json"
Ubuntu:22.04:LTS
librest

Package

Name
librest
Purl
pkg:deb/ubuntu/librest?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.8.1-1.1build1
0.8.1-1.1build2

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gir1.2-rest-0.7",
            "binary_version": "0.8.1-1.1build2"
        },
        {
            "binary_name": "gir1.2-restextras-0.7",
            "binary_version": "0.8.1-1.1build2"
        },
        {
            "binary_name": "librest-0.7-0",
            "binary_version": "0.8.1-1.1build2"
        },
        {
            "binary_name": "librest-extras-0.7-0",
            "binary_version": "0.8.1-1.1build2"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16615.json"
Ubuntu:24.04:LTS
librest

Package

Name
librest
Purl
pkg:deb/ubuntu/librest?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.9.1-6
0.9.1-6build2
0.9.1-6build3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gir1.2-rest-1.0",
            "binary_version": "0.9.1-6build3"
        },
        {
            "binary_name": "gir1.2-restextras-1.0",
            "binary_version": "0.9.1-6build3"
        },
        {
            "binary_name": "librest-1.0-0",
            "binary_version": "0.9.1-6build3"
        },
        {
            "binary_name": "librest-extras-1.0-0",
            "binary_version": "0.9.1-6build3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16615.json"
Ubuntu:26.04:LTS
librest

Package

Name
librest
Purl
pkg:deb/ubuntu/librest?arch=source&distro=resolute

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.9.1-6build4
0.10.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "gir1.2-rest-1.0",
            "binary_version": "0.10.2-1"
        },
        {
            "binary_name": "gir1.2-restextras-1.0",
            "binary_version": "0.10.2-1"
        },
        {
            "binary_name": "librest-1.0-0",
            "binary_version": "0.10.2-1"
        },
        {
            "binary_name": "librest-extras-1.0-0",
            "binary_version": "0.10.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-16615.json"