MEDIUM4.5
PYSEC-2026-1448
libsodium has Incomplete List of Disallowed Inputs
Quick fix
PYSEC-2026-1448 — hdwallet: upgrade to the fixed version with the command below.
pip install --upgrade 'hdwallet>=3.6.1'Details
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](https://github.com/github/advisory-database?tab=readme-ov-file#supported-ecosystems) that are affected by this vulnerability due to a vulnerable dependency.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-69277[ADVISORY]
- https://github.com/pyca/pynacl/issues/920[WEB]
- https://github.com/hdwallet-io/python-hdwallet/pull/124[WEB]
- https://github.com/jedisct1/libsodium/commit/ad3004ec8731730e93fcfbbc824e67eadc1c1bae[WEB]
- https://github.com/paragonie/sodium_compat/commit/2cb48f26130919f92f30650bdcc30e6f4ebe45ac[WEB]
- https://github.com/paragonie/sodium_compat/commit/4714da6efdc782c06690bc72ce34fae7941c2d9f[WEB]
- https://github.com/pyca/pynacl/commit/96314884d88d1089ff5f336dba61d7abbcddbbf7[WEB]
- https://github.com/pyca/pynacl/commit/ecf41f55a3d8f1e10ce89c61c4b4d67f3f4467cf[WEB]
- https://00f.net/2025/12/30/libsodium-vulnerability[WEB]
- https://github.com/FriendsOfPHP/security-advisories/blob/master/paragonie/sodium_compat/2025-12-30.yaml[WEB]
- https://github.com/paragonie/sodium_compat[PACKAGE]
- https://ianix.com/pub/ed25519-deployment.html[WEB]
- https://lists.debian.org/debian-lts-announce/2026/01/msg00004.html[WEB]
- https://news.ycombinator.com/item?id=46435614[WEB]
- https://pypi.org/project/hdwallet[PACKAGE]
- https://github.com/advisories/GHSA-mrfv-m5wm-5w6w[ADVISORY]