p PatchFirst

CVE-2026-41676

CVE-2026-41676 · rust-openssl: Deriver::derive and PkeyCtxRef::derive can overflow short buffers on OpenSSL 1.1.1

CVSS 7.2 · High · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="rust-openssl"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.27 to before 0.10.78, Deriver::derive (and PkeyCtxRef::derive) sets len = buf.len() and passes it as the in/out length to EVP_PKEY_derive, relying on OpenSSL to honor it. On OpenSSL 1.1.x, X25519, X448, DH and HKDF-extract ignore the incoming *keylen, unconditionally writing the full shared secret (32/56/prime-size bytes). A caller passing a short slice gets a heap/stack overflow from safe code. OpenSSL 3.x providers do check, so this only impacts older OpenSSL. This vulnerability is fixed in 0.10.78.

Published
Updated

Fixes in distributions

  • openSUSE-SU-2026:22016-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:24014-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:21982-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:23983-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:21933-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:2834-2 · SUSE Linux Enterprise Micro 5.5 ·
  • SUSE-SU-2026:23643-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • SUSE-SU-2026:23659-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:21782-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:3992-1 · SUSE Linux Enterprise Module for Public Cloud 15 SP6, SUSE Linux Enterprise Module for Public Cloud 15 SP7 ·
  • SUSE-SU-2026:3576-1 · SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP5, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:3475-1 · SUSE Linux Enterprise Micro 5.5 ·
  • SUSE-SU-2026:3474-1 · SUSE Linux Enterprise Micro 5.3, SUSE Linux Enterprise Micro 5.4 ·
  • SUSE-SU-2026:23071-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2026:23070-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2026:23036-1 · SUSE Linux Micro 6.0 ·
  • openSUSE-SU-2026:21464-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:22921-1 · SUSE Linux Micro 6.0 ·
  • SUSE-SU-2026:22917-1 · SUSE Linux Micro 6.0 ·
  • SUSE-SU-2026:22898-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2026:22895-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2026:22910-1 · SUSE Linux Micro 6.1 ·
  • SUSE-SU-2026:22801-1 · SUSE Linux Micro 6.0 ·
  • SUSE-SU-2026:22827-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • SUSE-SU-2026:22787-1 · SUSE Linux Micro 6.2 ·
  • openSUSE-SU-2026:21386-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:3040-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Module for Public Cloud 15 SP4, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • SUSE-SU-2026:3026-1 · SUSE Linux Enterprise Module for Python 3 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:3022-1 · SUSE Linux Enterprise Module for Development Tools 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:2977-1 · SUSE Linux Enterprise Micro 5.4 ·
  • SUSE-SU-2026:2976-1 · SUSE Linux Enterprise Micro 5.3 ·
  • SUSE-SU-2026:2975-1 · SUSE Linux Enterprise Micro 5.5 ·
  • openSUSE-SU-2026:11255-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2026:21294-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:22593-1 · SUSE Linux Micro 6.2 ·
  • SUSE-SU-2026:22624-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • SUSE-SU-2026:22589-1 · SUSE Linux Micro 6.2 ·
  • SUSE-SU-2026:22615-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:21285-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:2835-1 · SUSE Linux Enterprise Module for Basesystem 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:2834-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • SUSE-SU-2026:2833-1 · SUSE Linux Enterprise Server 12 SP5-LTSS, SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 ·
  • SUSE-SU-2026:2832-1 · SUSE Linux Enterprise Module for Development Tools 15 SP7, SUSE Linux Enterprise Server 15 SP6-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP6 ·
  • SUSE-SU-2026:2831-1 · SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS, SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS, SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS, SUSE Linux Enterprise Server 15 SP4-LTSS, SUSE Linux Enterprise Server 15 SP5-LTSS, SUSE Linux Enterprise Server for SAP Applications 15 SP4, SUSE Linux Enterprise Server for SAP Applications 15 SP5 ·
  • SUSE-SU-2026:2826-1 · SUSE Linux Enterprise Micro 5.4 ·
  • SUSE-SU-2026:2825-1 · SUSE Linux Enterprise Micro 5.3 ·
  • openSUSE-SU-2026:21274-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:22554-1 · SUSE Linux Micro 6.2 ·
  • SUSE-SU-2026:22583-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • SUSE-SU-2026:22737-1 · SUSE Linux Micro 6.0 ·
  • SUSE-SU-2026:2807-1 · SUSE Linux Enterprise Micro 5.5 ·
  • openSUSE-SU-2026:11237-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2026:11210-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2026:11222-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2026:21252-1 · openSUSE Leap 16.0 ·
  • SUSE-SU-2026:22574-1 · SUSE Linux Enterprise Server 16.0, SUSE Linux Enterprise Server for SAP applications 16.0 ·
  • openSUSE-SU-2026:11205-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2026:11206-1 · openSUSE Tumbleweed ·
  • SUSE-SU-2026:2777-1 · SUSE Linux Enterprise Module for Basesystem 15 SP7 ·
  • openSUSE-SU-2026:11194-1 · openSUSE Tumbleweed ·
  • openSUSE-SU-2026:11182-1 · openSUSE Tumbleweed ·

Stack: system

Affected products and versions

  • rust-openssl

    Versions
    • >= 0.9.27, < 0.10.78: Affected

    No fix published

  • rust-openssl Debian 12

    Versions
    • 0.10.45-1
    • 0.10.57-1
    • 0.10.64-1
    • 0.10.68-1
    • 0.10.70-1
    • 0.10.72-1
    All versions (10)
    • 0.10.73-1
    • 0.10.78-1
    • 0.10.79-1
    • 0.10.81-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-openssl Debian 13

    Versions
    • 0.10.72-1
    • 0.10.73-1
    • 0.10.78-1
    • 0.10.79-1
    • 0.10.81-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-openssl Debian 14

    Versions
    • 0.10.72-1
    • 0.10.73-1
    Affected ranges
    • ECOSYSTEM: < 0.10.78-1

    Update to 0.10.78-1

  • rust-openssl Ubuntu Pro 20.04 LTS

    Versions
    • 0.10.23-1
    • 0.10.23-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-openssl Ubuntu Pro 22.04 LTS

    Versions
    • 0.10.29-1
    • 0.10.36-1
    • 0.10.36-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-openssl Ubuntu Pro 24.04 LTS

    Versions
    • 0.10.45-1
    • 0.10.57-1
    • 0.10.57-1ubuntu0.1~esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-openssl Ubuntu 25.10

    Versions
    • 0.10.70-1
    • 0.10.72-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-openssl Ubuntu 26.10

    Versions
    • 0.10.73-1
    • 0.10.81-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • rust-openssl Ubuntu 26.04 LTS

    Versions
    • 0.10.72-1
    • 0.10.73-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →