CVE catalog

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 generat

[CVE catalog]

Severity
Medium · CVSS 6.8CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.43% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibrestsid0.10.2-1vulnerable
Debianlibrestforky0.10.2-1vulnerable
Debianlibresttrixie0.9.1-6vulnerable
Debianlibrestbookworm0.9.1-6vulnerable
Suselibrestlinux enterprise server 16.00.9.1-160000.3.1fixed
Suselibrestlinux enterprise server for sap applications 16.00.9.1-160000.3.1fixed
Suselibrest0_7linux enterprise workstation extension 15 sp70.8.1-150600.4.3.1fixed
Opensuselibrestleap 16.00.9.1-160000.3.1fixed
Suselibrestlinux enterprise server ltss extended security 12 sp50.8.0-13.3.1fixed
Suselibrestlinux enterprise module for desktop applications 15 sp70.9.1-150600.3.3.1fixed
Opensuselibrest0_7leap 16.00.8.1-bp160.2.1fixed
Opensuselibresttumbleweed0.10.2-2.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibrestsourcesid(unfixed)not yet assignedNot reported[1142715]
Debianlibrestsourceforky(unfixed)not yet assignedNot reported[1142715]
Debianlibrestsourcetrixie(unfixed)not yet assignedNot reported[1142715]
Debianlibrestsourcebookworm(unfixed)not yet assignedNot reported[1142715]
Suselibrestrpmlinux enterprise server 16.00.9.1-160000.3.1Not reportedSUSE-SU-2026:23564-1Not reported
Suselibrestrpmlinux enterprise server for sap applications 16.00.9.1-160000.3.1Not reportedSUSE-SU-2026:23564-1Not reported
Suselibrest0_7rpmlinux enterprise workstation extension 15 sp70.8.1-150600.4.3.1Not reportedSUSE-SU-2026:3834-1Not reported
Opensuselibrestrpmleap 16.00.9.1-160000.3.1Not reportedOPENSUSE-SU-2026:21694-1Not reported
Suselibrestrpmlinux enterprise server ltss extended security 12 sp50.8.0-13.3.1Not reportedSUSE-SU-2026:3796-1Not reported
Suselibrestrpmlinux enterprise module for desktop applications 15 sp70.9.1-150600.3.3.1Not reportedSUSE-SU-2026:3795-1Not reported
Opensuselibrest0_7rpmleap 16.00.8.1-bp160.2.1Not reportedOPENSUSE-SU-2026:21563-1Not reported
Opensuselibrestrpmtumbleweed0.10.2-2.1Not reportedOPENSUSE-SU-2026:11477-1Not reported

[Debian bug #1142715]

Notes

[trixie] librest: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [gir1.2-rest-1.0]Affected

    Source package: [librest]

    Details (2)
    • 0.9.1-6 · amd64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

    • 0.9.1-6 · arm64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

  • Source package: [librest]

    Details (2)
    • 0.9.1-6 · amd64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

    • 0.9.1-6 · arm64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

  • [librest-1.0-0]Affected

    Source package: [librest]

    Details (2)
    • 0.9.1-6 · amd64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

    • 0.9.1-6 · arm64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

  • [librest-dev]Affected

    Source package: [librest]

    Details (2)
    • 0.9.1-6 · amd64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

    • 0.9.1-6 · arm64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

  • [librest-doc]Affected

    Source package: [librest]

    Details (2)
    • 0.9.1-6 · all · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

    • 0.9.1-6 · all · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

  • Source package: [librest]

    Details (2)
    • 0.9.1-6 · amd64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

    • 0.9.1-6 · arm64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

  • Source package: [librest]

    Details (2)
    • 0.9.1-6 · amd64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

    • 0.9.1-6 · arm64 · bookworm

      Affected

      nvd · librest · debian · bookworm; nvd · librest · debian · 12

[Debian 13 (Trixie)]

  • [gir1.2-rest-1.0]Affected

    Source package: [librest]

    Details (2)
    • 0.9.1-6+b2 · amd64 · trixie

      Affected

      nvd · librest · debian · 13

    • 0.9.1-6+b2 · arm64 · trixie

      Affected

      nvd · librest · debian · 13

  • Source package: [librest]

    Details (2)
    • 0.9.1-6+b2 · amd64 · trixie

      Affected

      nvd · librest · debian · 13

    • 0.9.1-6+b2 · arm64 · trixie

      Affected

      nvd · librest · debian · 13

  • [librest-1.0-0]Affected

    Source package: [librest]

    Details (2)
    • 0.9.1-6+b2 · amd64 · trixie

      Affected

      nvd · librest · debian · 13

    • 0.9.1-6+b2 · arm64 · trixie

      Affected

      nvd · librest · debian · 13

  • [librest-dev]Affected

    Source package: [librest]

    Details (2)
    • 0.9.1-6+b2 · amd64 · trixie

      Affected

      nvd · librest · debian · 13

    • 0.9.1-6+b2 · arm64 · trixie

      Affected

      nvd · librest · debian · 13

  • [librest-doc]Affected

    Source package: [librest]

    Details (2)
    • 0.9.1-6 · all · trixie

      Affected

      nvd · librest · debian · 13

    • 0.9.1-6 · all · trixie

      Affected

      nvd · librest · debian · 13

  • Source package: [librest]

    Details (2)
    • 0.9.1-6+b2 · amd64 · trixie

      Affected

      nvd · librest · debian · 13

    • 0.9.1-6+b2 · arm64 · trixie

      Affected

      nvd · librest · debian · 13

  • Source package: [librest]

    Details (2)
    • 0.9.1-6+b2 · amd64 · trixie

      Affected

      nvd · librest · debian · 13

    • 0.9.1-6+b2 · arm64 · trixie

      Affected

      nvd · librest · debian · 13

[openSUSE Tumbleweed]

  • [librest-1_0-0]Unknown

    Source package: [librest]

    Details (1)
    • 0.10.2-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 0.10.2-2.1

      Version impact unknown

      nvd · librest · opensuse · tumbleweed

  • [librest-devel]Unknown

    Source package: [librest]

    Details (1)
    • 0.10.2-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 0.10.2-2.1

      Version impact unknown

      nvd · librest · opensuse · tumbleweed

  • Source package: [librest]

    Details (1)
    • 0.10.2-2.1 · x86_64 · tumbleweed

      Unknown · Fixed: 0.10.2-2.1

      Version impact unknown

      nvd · librest · opensuse · tumbleweed

Observed:

References