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.
Other sources
libsodium has Incomplete List of Disallowed Inputs
— Packagist
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/hdwalletto a version that resolves this vulnerability.Fixed in 3.6.1 - Upgrade
Upgrade
pip/PyNaClto a version that resolves this vulnerability.Fixed in 1.6.2 - Upgrade
Upgrade
composer/paragonie/sodium_compatto a version that resolves this vulnerability.Fixed in 1.24.0 - Upgrade
Upgrade
composer/paragonie/sodium_compatto a version that resolves this vulnerability.Fixed in 2.5.0 - Upgrade
Upgrade
alpine/libsodiumto a version that resolves this vulnerability.Fixed in 1.0.19-r1 - Upgrade
Upgrade
alpine/libsodiumto a version that resolves this vulnerability.Fixed in 1.0.20-r1 - Upgrade
Upgrade
alpine/py3-pynaclto a version that resolves this vulnerability.Fixed in 1.6.2-r0
Event History
Frequently Asked Questions
What is the severity of CVE-2025-69277?
CVE-2025-69277 is classified as a high severity vulnerability due to its potential impact on cryptographic operations and data integrity.
How do I fix CVE-2025-69277?
To fix CVE-2025-69277, you should upgrade libsodium to a version that is greater than ad3004e to ensure that elliptic curve point validation is handled correctly.
What are the potential consequences of CVE-2025-69277?
The consequences of CVE-2025-69277 include the possibility of accepting invalid elliptic curve points, which could lead to unauthorized access or data breaches.
What versions of libsodium are affected by CVE-2025-69277?
CVE-2025-69277 affects all versions of libsodium prior to ad3004e.
Who is at risk from CVE-2025-69277?
Developers and organizations using affected versions of libsodium for cryptographic operations are at risk from CVE-2025-69277.