libsodium has Incomplete List of Disallowed Inputs
Published 31 Dec 2025 · Updated 10 Sept 2026
Is your project on an affected paragonie/sodium_compat?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected packages
- Affected
- >=2 <2.5.0
- Fixed in
- 2.5.0
composer require paragonie/sodium_compat:^2.5.0- Affected
- <1.24.0
- Fixed in
- 1.24.0
composer require paragonie/sodium_compat:^1.24.0- Affected
- <1.6.2
- Fixed in
- 1.6.2
pip install 'pynacl>=1.6.2'- Affected
- <3.6.1
- Fixed in
- 3.6.1
pip install '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 that are affected by this vulnerability due to a vulnerable dependency.
Is GHSA-mrfv-m5wm-5w6w in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected paragonie/sodium_compat, and gives you the command that fixes it.
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-69277
- Linkgithub.com/pyca/pynacl/issues/920
- Linkgithub.com/hdwallet-io/python-hdwallet/pull/124
- Linkgithub.com/jedisct1/libsodium/commit/ad3004ec8731730e93fcfbbc824e67eadc1c1bae
- Linkgithub.com/paragonie/sodium_compat/commit/2cb48f26130919f92f30650bdcc30e6f4ebe45ac
- Linkgithub.com/paragonie/sodium_compat/commit/4714da6efdc782c06690bc72ce34fae7941c2d9f
- Linkgithub.com/pyca/pynacl/commit/96314884d88d1089ff5f336dba61d7abbcddbbf7
- Linkgithub.com/pyca/pynacl/commit/ecf41f55a3d8f1e10ce89c61c4b4d67f3f4467cf
- Link00f.net/2025/12/30/libsodium-vulnerability
- Linkgithub.com/FriendsOfPHP/security-advisories/blob/master/paragonie/sodium_compat/2025-12-30.yaml
- Packagegithub.com/paragonie/sodium_compat
- Linkianix.com/pub/ed25519-deployment.html
- Linklists.debian.org/debian-lts-announce/2026/01/msg00004.html
- Linknews.ycombinator.com/item?id=46435614
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.