CVE-2025-69277
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.
What to do
Fixed builds are available from Alpine, Debian, Packagist, PyPI, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libsodium | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | libsodium | Fixed | 1.0.18-1ubuntu0.25.10.1 | UBUNTU-CVE-2025-69277 |
| Ubuntu 24.04 | libsodium | Fixed | 1.0.18-1ubuntu0.24.04.1 | UBUNTU-CVE-2025-69277 |
| Ubuntu 22.04 | libsodium | Fixed | 1.0.18-1ubuntu0.22.04.1 | UBUNTU-CVE-2025-69277 |
| Ubuntu 20.04 | libsodium | Fix pending | UBUNTU-CVE-2025-69277 | |
| Ubuntu 18.04 | libsodium | Fix pending | UBUNTU-CVE-2025-69277 | |
| Ubuntu 16.04 | libsodium | Fix pending | UBUNTU-CVE-2025-69277 | |
| Debian 14 | libsodium | Fixed | 1.0.18-2 | DEBIAN-CVE-2025-69277 |
| Debian 13 | libsodium | Fixed | 1.0.18-1+deb13u1 | DEBIAN-CVE-2025-69277 |
| Debian 12 | libsodium | Fixed | 1.0.18-1+deb12u1 | DEBIAN-CVE-2025-69277 |
| Alpine Linux 3.24 | libsodium | Fixed | 1.0.20-r1 | ALPINE-CVE-2025-69277 |
| Alpine Linux 3.24 | py3-pynacl | Fixed | 1.6.2-r0 | ALPINE-CVE-2025-69277 |
| Alpine Linux 3.23 | libsodium | Fixed | 1.0.20-r1 | ALPINE-CVE-2025-69277 |
| Alpine Linux 3.23 | py3-pynacl | Fixed | 1.6.2-r0 | ALPINE-CVE-2025-69277 |
| Alpine Linux 3.22 | libsodium | Fixed | 1.0.20-r1 | ALPINE-CVE-2025-69277 |
| Alpine Linux 3.21 | libsodium | Fixed | 1.0.20-r1 | ALPINE-CVE-2025-69277 |
| Alpine Linux 3.20 | libsodium | Fixed | 1.0.19-r1 | ALPINE-CVE-2025-69277 |
| PyPI library | hdwallet | Fixed | 3.6.1 | GHSA-mrfv-m5wm-5w6w |
| Packagist library | paragonie/sodium_compat | Fixed | 1.24.0 | GHSA-mrfv-m5wm-5w6w |
| PyPI library | pynacl | Fixed | 1.6.2 | PYSEC-2026-3002 |
What the vendor says
As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- libsodium: affected: before ad3004ec8731730e93fcfbbc824e67eadc1c1bae
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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.