ADVISORIES

SUSE Security Update

SUSE-SU-2026:4368-1

Security update for libsodium

Details

This update for libsodium fixes the following issues:

Update to 1.0.22 (jsc#PED-16890):

  • Post-quantum key encapsulation is now available. ML-KEM768, the

NIST-standardized lattice-based KEM, is accessible through the crypto_kem_mlkem768_*() functions.

  • X-Wing, a hybrid KEM combining ML-KEM768 with X25519 for protection

against both classical and quantum adversaries, is available through the crypto_kem_*() functions. X-Wing is the recommended KEM for most applications.

  • SHA-3 hash functions are now available as crypto_hash_sha3256_*()

and crypto_hash_sha3512_*(), with both one-shot and streaming APIs.

  • Performance: NEON optimizations for Argon2 on ARM platforms.
  • Performance: SHA3 (Keccak1600) now leverages ARM SHA3 instructions when

available on ARM platforms.

  • Performance: WebAssembly SIMD implementations of Argon2 have been added.
  • XOF state alignment has been relaxed.
  • crypto_core_keccak1600_state has been added.
  • Export missing crypto_ipcrypt_nd_keygen() helper function.
  • crypto_auth_hmacsha256_init and crypto_auth_hmacsha512_init now

accept NULL key pointers (with a zero key length), for consistency with other _init functions.

  • Fixed compilation with GCC on aarch64 and gcc 4.x.
  • On aarch64, aes256-gcm is now enabled even when not using clang,

including MSVC.

  • Libsodium can be directly used as a dependency in a Zig project.

Update to 1.0.21 (bsc#1256070, CVE-2025-15444, bsc#1255764, CVE-2025-69277):

  • The new crypto_ipcrypt_* functions implement mechanisms for securely

encrypting and anonymizing IP addresses.

  • The sodium_bin2ip and sodium_ip2bin helper functions have been added to

complement the crypto_ipcrypt_* functions and easily convert addresses between bytes and strings.

  • XOF: the crypto_xof_shake* and crypto_xof_turboshake* functions are
  • standard

extendable output functions. From input of any length, they can derive output of any length with the same properties as hash functions. These primitives are required by many post-quantum mechanisms, but can also be used for a wide range of applications, including key derivation, session encryption and more.

  • Performance of AES256-GCM and AEGIS on ARM has been improved with some

compilers

  • Security: optblockers have been introduced in critical code paths to prevent

compilers from introducing unwanted side channels via conditional jumps. This was observed on RISC-V targets with specific compilers and options.

  • Security: crypto_core_ed25519_is_valid_point() now properly rejects

small-order points that are not in the main subgroup

  • ((nonnull)) attributes have been relaxed on some crypto_stream* functions to

allow NULL output buffers when the output length is zero

  • A cross-compilation issue with old clang versions has been fixed
  • crypto_aead_aes256gcm_is_available is exported to JavaScript
  • Security: memory fences have been added after MAC verification in AEAD to

prevent speculative access to plaintext before authentication is complete

  • Assembly files now include .gnu.property notes for proper IBT and Shadow

Stack support when building with CET instrumentation.

Update to 1.0.20:

  • build system updates and portability fixes

Includes changes from 1.0.19:

  • New AEADs: AEGIS-128L and AEGIS-256
  • The HKDF key derivation mechanism, required by many standard

protocols

  • A test designed to trigger an OOM condition didn't work on

Linux systems with memory overcommit turned on. It has been

  • Emscripten: UTF8ToString() is now exported since
  • New target: WebAssembly/WASI
  • New functions to map a hash to an edwards25519 point

or get a random point:

  • crypto_core_ed25519_scalar_mul() has been implemented for
  • Support for the Ristretto group has been implemented for
  • Bug fix: sodium_pad() didn't properly support block sizes
  • JS/WebAssembly: some old iOS versions can't instantiate the

crypto_pwhash_scryptsalsa208sha256_str_needs_rehash()didn't returnEINVAL` on input strings with a short length, unlike

  • Added a workaround for Visual Studio 2010 bug causing CPU
  • New low-level APIs for arithmetic mod the order of the prime
  • crypto_core_ed25519_scalar_random(),
  • crypto_core_ed25519_scalar_invert(),
  • crypto_core_ed25519_scalar_complement(),

crypto_core_ed25519_scalar_add() and crypto_scalarmult_ed25519_base_noclamp() and crypto_scalarmult_ed25519_noclamp().

  • AVX2 detection is more reliable.

Intel platforms. crypto_generichash() is now faster than MD5 and

  • In addition to sodium_bin2hex(), sodium_hex2bin() is now a
  • crypto_generichash_statebytes(), crypto_auth_*_statebytes()

and crypto_hash_*_statebytes() have been added in order to retrieve the size of structures keeping states from foreign

  • The JavaScript target doesn't require /dev/urandom or an

external randombytes() implementation any more. Other minor Emscripten-related improvements have been made in order to

  • Custom randombytes implementations do not need to provide

their own implementation of randombytes_uniform() any more. randombytes_stir() and randombytes_close() can also be NULL

  • On Linux, getrandom(2) is being used instead of directly

accessing /dev/urandom, if the kernel supports this system

Also libsodium users were rebuilt: zeromq, dnsdist, unbound, php7, and usbguard.

Affected packages

EcosystemPackageAffected versions
SUSE:Linux Enterprise Micro 5.3libsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Micro 5.3zeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Micro 5.4libsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Micro 5.4zeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Micro 5.5libsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Micro 5.5zeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Module for Basesystem 15 SP7dnsdist
All versions before 1.9.12-150700.3.11.2 (fixed in 1.9.12-150700.3.11.2)
SUSE:Linux Enterprise Module for Basesystem 15 SP7libsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Module for Basesystem 15 SP7unbound
All versions before 1.25.2-150600.23.21.4 (fixed in 1.25.2-150600.23.21.4)
SUSE:Linux Enterprise Module for Basesystem 15 SP7usbguard
All versions before 1.1.2-150500.6.2.2 (fixed in 1.1.2-150500.6.2.2)
SUSE:Linux Enterprise Module for Basesystem 15 SP7zeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Module for Legacy 15 SP7apache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Module for Legacy 15 SP7php7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise Module for Package Hub 15 SP7apache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Module for Package Hub 15 SP7php7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise Module for Package Hub 15 SP7php7-embed
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Module for Package Hub 15 SP7php7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Module for Package Hub 15 SP7php7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Module for Package Hub 15 SP7php7-test
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Module for Package Hub 15 SP7unbound
All versions before 1.25.2-150600.23.21.4 (fixed in 1.25.2-150600.23.21.4)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSapache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSdnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSlibsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSphp7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSphp7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSphp7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSusbguard
All versions before 1.1.2-150400.3.5.1 (fixed in 1.1.2-150400.3.5.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSzeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSapache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSdnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSlibsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSphp7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSphp7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSphp7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSusbguard
All versions before 1.1.2-150400.3.5.1 (fixed in 1.1.2-150400.3.5.1)
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSSzeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSdnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSlibsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSusbguard
All versions before 1.1.2-150500.6.2.2 (fixed in 1.1.2-150500.6.2.2)
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSzeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSdnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSlibsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSusbguard
All versions before 1.1.2-150500.6.2.2 (fixed in 1.1.2-150500.6.2.2)
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSSzeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSapache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSdnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSlibsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSphp7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise Server 15 SP4-LTSSphp7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSphp7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSusbguard
All versions before 1.1.2-150400.3.5.1 (fixed in 1.1.2-150400.3.5.1)
SUSE:Linux Enterprise Server 15 SP4-LTSSzeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Server 15 SP5-LTSSapache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP5-LTSSdnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise Server 15 SP5-LTSSlibsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Server 15 SP5-LTSSphp7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise Server 15 SP5-LTSSphp7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP5-LTSSphp7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP5-LTSSusbguard
All versions before 1.1.2-150500.6.2.2 (fixed in 1.1.2-150500.6.2.2)
SUSE:Linux Enterprise Server 15 SP5-LTSSzeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Server 15 SP6-LTSSapache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP6-LTSSdnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise Server 15 SP6-LTSSlibsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Server 15 SP6-LTSSphp7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise Server 15 SP6-LTSSphp7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP6-LTSSphp7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server 15 SP6-LTSSunbound
All versions before 1.25.2-150600.23.21.4 (fixed in 1.25.2-150600.23.21.4)
SUSE:Linux Enterprise Server 15 SP6-LTSSusbguard
All versions before 1.1.2-150500.6.2.2 (fixed in 1.1.2-150500.6.2.2)
SUSE:Linux Enterprise Server 15 SP6-LTSSzeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4apache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4dnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4libsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4php7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4php7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4php7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4usbguard
All versions before 1.1.2-150400.3.5.1 (fixed in 1.1.2-150400.3.5.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP4zeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5apache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5dnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5libsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5php7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5php7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5php7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5usbguard
All versions before 1.1.2-150500.6.2.2 (fixed in 1.1.2-150500.6.2.2)
SUSE:Linux Enterprise Server for SAP Applications 15 SP5zeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6apache2-mod_php7
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6dnsdist
All versions before 1.8.0-150400.9.8.1 (fixed in 1.8.0-150400.9.8.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6libsodium
All versions before 1.0.22-150000.4.17.1 (fixed in 1.0.22-150000.4.17.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6php7
All versions before 7.4.33-150400.4.75.2 (fixed in 7.4.33-150400.4.75.2)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6php7-fastcgi
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6php7-fpm
All versions before 7.4.33-150400.4.75.1 (fixed in 7.4.33-150400.4.75.1)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6unbound
All versions before 1.25.2-150600.23.21.4 (fixed in 1.25.2-150600.23.21.4)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6usbguard
All versions before 1.1.2-150500.6.2.2 (fixed in 1.1.2-150500.6.2.2)
SUSE:Linux Enterprise Server for SAP Applications 15 SP6zeromq
All versions before 4.2.3-150000.3.17.1 (fixed in 4.2.3-150000.3.17.1)

References