Description
libsodium before ad3004e, in atypical use cases involving certain custom cryptography or untrusted data to crypto_core_ed25519_is_valid_point, mishandles checks for whether an elliptic curve point is valid because it sometimes allows points that aren't in the main cryptographic group.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| libsodium | libsodium | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libsodium | 1.0.18-2 | — |
| Debian 13 | libsodium | 1.0.18-1+deb13u1 | DSA-6094-1 |
| Debian 12 | libsodium | 1.0.18-1+deb12u1 | DSA-6094-1 |
| Debian 11 | libsodium | 1.0.18-1+deb11u1 | DLA-4435-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | libsodium | 1.0.18-1ubuntu0.25.10.1 | USN-7949-1 |
| Ubuntu 24.04 LTS | libsodium | 1.0.18-1ubuntu0.24.04.1 | USN-7949-1 |
| Ubuntu 22.04 LTS | libsodium | 1.0.18-1ubuntu0.22.04.1 | USN-7949-1 |
| Ubuntu 20.04 LTS | libsodium | No fix yet | — |
| Ubuntu 18.04 LTS | libsodium | No fix yet | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libsodium | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | libsodium +4 | 1.0.22-1.hum1 | RHSA-2026:7369 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | dnsdist | 1.9.12-150700.3.11.2 | SUSE-SU-2026:4368-1 |
| SLES 15 SP7 | libsodium | 1.0.18-150000.4.14.1 | SUSE-SU-2026:4368-1, SUSE-SU-2026:0368-1 |
| SLES 15 SP7 | php7 | 7.4.33-150400.4.75.2 | SUSE-SU-2026:4368-1 |
| SLES 15 SP7 | php7-fpm +4 | 7.4.33-150400.4.75.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP7 | unbound | 1.25.2-150600.23.21.4 | SUSE-SU-2026:4368-1 |
| SLES 15 SP7 | usbguard | 1.1.2-150500.6.2.2 | SUSE-SU-2026:4368-1 |
| SLES 15 SP7 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP6 | dnsdist | 1.8.0-150400.9.8.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP6 | libsodium | 1.0.22-150000.4.17.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP6 | php7 | 7.4.33-150400.4.75.2 | SUSE-SU-2026:4368-1 |
| SLES 15 SP6 | php7-fpm +2 | 7.4.33-150400.4.75.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP6 | unbound | 1.25.2-150600.23.21.4 | SUSE-SU-2026:4368-1 |
| SLES 15 SP6 | usbguard | 1.1.2-150500.6.2.2 | SUSE-SU-2026:4368-1 |
| SLES 15 SP6 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP5 | dnsdist | 1.8.0-150400.9.8.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP5 | libsodium | 1.0.22-150000.4.17.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP5 | php7 | 7.4.33-150400.4.75.2 | SUSE-SU-2026:4368-1 |
| SLES 15 SP5 | php7-fpm +2 | 7.4.33-150400.4.75.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP5 | usbguard | 1.1.2-150500.6.2.2 | SUSE-SU-2026:4368-1 |
| SLES 15 SP5 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP4 | dnsdist | 1.8.0-150400.9.8.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP4 | libsodium | 1.0.22-150000.4.17.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP4 | php7 | 7.4.33-150400.4.75.2 | SUSE-SU-2026:4368-1 |
| SLES 15 SP4 | php7-fpm +2 | 7.4.33-150400.4.75.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP4 | usbguard | 1.1.2-150400.3.5.1 | SUSE-SU-2026:4368-1 |
| SLES 15 SP4 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLES 12 | libsodium | 1.0.16-1.15.1 | SUSE-SU-2026:0482-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP6 | dnsdist | 1.8.0-150400.9.8.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP6 | libsodium | 1.0.22-150000.4.17.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP6 | php7 | 7.4.33-150400.4.75.2 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP6 | php7-fpm +2 | 7.4.33-150400.4.75.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP6 | unbound | 1.25.2-150600.23.21.4 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP6 | usbguard | 1.1.2-150500.6.2.2 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP6 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP5 | dnsdist | 1.8.0-150400.9.8.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP5 | libsodium | 1.0.22-150000.4.17.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP5 | php7 | 7.4.33-150400.4.75.2 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP5 | php7-fpm +2 | 7.4.33-150400.4.75.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP5 | usbguard | 1.1.2-150500.6.2.2 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP5 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP4 | dnsdist | 1.8.0-150400.9.8.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP4 | libsodium | 1.0.22-150000.4.17.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP4 | php7 | 7.4.33-150400.4.75.2 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP4 | php7-fpm +2 | 7.4.33-150400.4.75.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP4 | usbguard | 1.1.2-150400.3.5.1 | SUSE-SU-2026:4368-1 |
| SLES for SAP 15 SP4 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLE Micro 6.1 | libsodium | 1.0.18-slfo.1.1_3.1 | SUSE-SU-2026:20484-1 |
| SLE Micro 6.0 | libsodium | 1.0.18-5.1 | SUSE-SU-2026:20448-1 |
| SLE Micro 5.5 | libsodium | 1.0.18-150000.4.14.1 | SUSE-SU-2026:4368-1, SUSE-SU-2026:0368-1 |
| SLE Micro 5.5 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLE Micro 5.4 | libsodium | 1.0.18-150000.4.14.1 | SUSE-SU-2026:4368-1, SUSE-SU-2026:0368-1 |
| SLE Micro 5.4 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLE Micro 5.3 | libsodium | 1.0.18-150000.4.14.1 | SUSE-SU-2026:4368-1, SUSE-SU-2026:0368-1 |
| SLE Micro 5.3 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLE Micro 5.2 | libsodium | 1.0.18-150000.4.14.1 | SUSE-SU-2026:0368-1 |
| SLE HPC 15 SP5 | dnsdist | 1.8.0-150400.9.8.1 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP5 | libsodium | 1.0.22-150000.4.17.1 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP5 | usbguard | 1.1.2-150500.6.2.2 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP5 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP4 | dnsdist | 1.8.0-150400.9.8.1 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP4 | libsodium | 1.0.22-150000.4.17.1 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP4 | php7 | 7.4.33-150400.4.75.2 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP4 | php7-fpm +2 | 7.4.33-150400.4.75.1 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP4 | usbguard | 1.1.2-150400.3.5.1 | SUSE-SU-2026:4368-1 |
| SLE HPC 15 SP4 | zeromq | 4.2.3-150000.3.17.1 | SUSE-SU-2026:4368-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-PyNaCl | 1.6.2-1.1 | openSUSE-SU-2026:10130-1 |
| openSUSE Leap 15.6 | libsodium | 1.0.18-150000.4.14.1 | SUSE-SU-2026:0368-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | libsodium | 1.0.20-r1 | — |
| Alpine v3.24 | py3-pynacl | 1.6.2-r0 | — |
| Alpine v3.23 | libsodium | 1.0.20-r1 | — |
| Alpine v3.23 | py3-pynacl | 1.6.2-r0 | — |
| Alpine v3.22 | libsodium | 1.0.20-r1 | — |
| Alpine v3.21 | libsodium | 1.0.20-r1 | — |
| Alpine v3.20 | libsodium | 1.0.19-r1 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | libsodium +2 | 1.0.19-5.amzn2023 | ALAS2023-2026-1493 |
| Amazon Linux 2 | libsodium +2 | 1.0.18-3.amzn2.0.1 | ALAS2-2026-3206 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | libsodium | 1.0.19-2 | — |
| Azure Linux 2 (CBL-Mariner) | libsodium | 1.0.18-7 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | airflow-3 | 3.1.6-r0 | — |
| Wolfi rolling | airflow-3-bitnami-compat +1 | No fix yet | — |
| Wolfi rolling | az | 2.82.0-r0 | — |
| Wolfi rolling | datadog-agent-7.73-core-integrations | 7.73.3-r3 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | paragonie/sodium_compat | >= 2, < 2.5.0 | 2.5.0 | GHSA-mrfv-m5wm-5w6w |
| Packagist | paragonie/sodium_compat | < 1.24.0 | 1.24.0 | GHSA-mrfv-m5wm-5w6w |
| PyPI | hdwallet | < 3.6.1 | 3.6.1 | PYSEC-2026-1448 |
| PyPI | pynacl | < 1.6.2 | 1.6.2 | PYSEC-2026-3002 |
Advisories 16
- WID-SEC-2026-1267 Red Hat Hardened Images RPMs: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 21, 2026
- RHSA-2026:7369 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- SUSE-SU-2026:4368-1 Security update for libsodium SUSE / openSUSE Security Updates · Sep 29, 2026
- USN-7949-1 libsodium vulnerability Ubuntu Security Notices (USN) · Apr 27, 2026
- ALAS2023-2026-1493 Moderate: libsodium security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Mar 27, 2026
- openSUSE-SU-2026:10130-1 python311-PyNaCl-1.6.2-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20484-1 Security update for libsodium SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:20448-1 Security update for libsodium SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2026:0368-1 Security update for libsodium SUSE / openSUSE Security Updates · Mar 23, 2026
- ALAS2-2026-3206 Moderate: libsodium security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · Mar 19, 2026
- ICSA-26-071-03 Siemens SIDIS Prime CISA ICS & IT advisories · Mar 12, 2026
- NCSC-2026-0079 Kwetsbaarheden verholpen in Siemens producten NCSC-NL (Netherlands) · Mar 10, 2026
- SSA-485750 SSA-485750: Multiple Vulnerabilities in SIDIS Prime Before V4.0.800 Siemens ProductCERT · Mar 10, 2026
- SUSE-SU-2026:0482-1 Security update for libsodium SUSE / openSUSE Security Updates · Feb 13, 2026
- DLA-4435-1 libsodium - security update Debian Security (DSA / DLA) · Jan 7, 2026
- DSA-6094-1 libsodium - security update Debian Security (DSA / DLA) · Jan 5, 2026
References
- https://github.com/jedisct1/libsodium/commit/ad3004ec8731730e93fcfbbc824e67eadc1c1bae
- https://00f.net/2025/12/30/libsodium-vulnerability/
- https://news.ycombinator.com/item?id=46435614
- https://ianix.com/pub/ed25519-deployment.html
- https://github.com/pyca/pynacl/issues/920
- https://github.com/pyca/pynacl/commit/ecf41f55a3d8f1e10ce89c61c4b4d67f3f4467cf
- https://github.com/pyca/pynacl/commit/96314884d88d1089ff5f336dba61d7abbcddbbf7