CVE-2025-69277: libsodium has Incomplete List of Disallowed Inputs
libsodium before ad3004e, in atypical use cases involving certain custom cryptography or untrusted data to cryptocoreed25519isvalidpoint, mishandles checks for whether an elliptic curve point is valid because it sometimes allows points that aren't in the main cryptographic group.
Published Dec 31, 2025 · Updated Jan 7, 2026
Affected packages
paragonie/sodium_compat
- Ecosystem
- Composer (PHP)
- Affected
- >= 2, < 2.5.0
- Fixed in
- 2.5.0
- Check
composer show paragonie/sodium_compat
paragonie/sodium_compat
- Ecosystem
- Composer (PHP)
- Affected
- < 1.24.0
- Fixed in
- 1.24.0
- Check
composer show paragonie/sodium_compat
PyNaCl
- Ecosystem
- PyPI
- Affected
- < 1.6.2
- Fixed in
- 1.6.2
- Check
pip show PyNaCl
hdwallet
- Ecosystem
- PyPI
- Affected
- < 3.6.1
- Fixed in
- 3.6.1
- Check
pip show hdwallet
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
This advisoory lists packages in the GitHub Advisory Database's supported ecosystems that are affected by this vulnerability due to a vulnerable dependency.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-69277
- https://github.com/jedisct1/libsodium/commit/ad3004ec8731730e93fcfbbc824e67eadc1c1bae
- https://00f.net/2025/12/30/libsodium-vulnerability
- https://ianix.com/pub/ed25519-deployment.html
- https://news.ycombinator.com/item?id=46435614
- https://github.com/paragonie/sodium_compat/commit/2cb48f26130919f92f30650bdcc30e6f4ebe45ac
- https://github.com/paragonie/sodium_compat/commit/4714da6efdc782c06690bc72ce34fae7941c2d9f
- https://github.com/FriendsOfPHP/security-advisories/blob/master/paragonie/sodium_compat/2025-12-30.yaml
- https://github.com/pyca/pynacl/issues/920
- https://github.com/pyca/pynacl/commit/96314884d88d1089ff5f336dba61d7abbcddbbf7
- https://github.com/pyca/pynacl/commit/ecf41f55a3d8f1e10ce89c61c4b4d67f3f4467cf
- https://github.com/hdwallet-io/python-hdwallet/pull/124
- https://lists.debian.org/debian-lts-announce/2026/01/msg00004.html
- https://github.com/advisories/GHSA-mrfv-m5wm-5w6w
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
