CVE-2025-69277 — Vulnerability in paragonie/sodium_compat
libsodium has Incomplete List of Disallowed Inputs
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.19%). Schedule for your next planned update.
Does your project use an affected paragonie/sodium_compat version?
Paste your composer.lock to check it for CVE-2025-69277 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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.
Advisory Timeline
- First published December 31, 2025 (330 days ago).
- Last revised September 10, 2026 — 253 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
composer require "paragonie/sodium_compat:^2.5.0"
pip install "hdwallet>=3.6.1"
pip install "pynacl>=1.6.2"
composer require "paragonie/sodium_compat:^1.24.0"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (4)
Affects 2 ecosystems: PyPI (2), Packagist (1).
| Package | Fixed In |
|---|---|
| paragonie/sodium_compat Packagist · Affected: v2.0.1, v2.1.0, v2.2.0, v2.3.0 (+2 more) | 2.5.0 |
| hdwallet PyPI · Affected: 0.1.0, 0.1.0a1, 0.1.1, 0.2.0 (+28 more) | 3.6.1 |
| pynacl PyPI · Affected: 0.1.0, 0.2.0, 0.2.1, 0.2.2 (+14 more) | 1.6.2 |
| paragonie/sodium_compat Packagist · Affected: v0.1.0, v0.1.1, v0.2.0, v0.2.1 (+69 more) | 1.24.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-184
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 4.5 score means for each attack dimension.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-69277ADVISORY
- https://github.com/pyca/pynacl/issues/920WEB
- https://github.com/hdwallet-io/python-hdwallet/pull/124WEB
- https://github.com/jedisct1/libsodium/commit/ad3004ec8731730e93fcfbbc824e67eadc1c1baeWEB
- https://github.com/paragonie/sodium_compat/commit/2cb48f26130919f92f30650bdcc30e6f4ebe45acWEB
- https://github.com/paragonie/sodium_compat/commit/4714da6efdc782c06690bc72ce34fae7941c2d9fWEB
- https://github.com/pyca/pynacl/commit/96314884d88d1089ff5f336dba61d7abbcddbbf7WEB
- https://github.com/pyca/pynacl/commit/ecf41f55a3d8f1e10ce89c61c4b4d67f3f4467cfWEB
- https://00f.net/2025/12/30/libsodium-vulnerabilityWEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/paragonie/sodium_compat/2025-12-30.yamlWEB
- https://github.com/paragonie/sodium_compatPACKAGE
- https://ianix.com/pub/ed25519-deployment.htmlWEB
- https://lists.debian.org/debian-lts-announce/2026/01/msg00004.htmlWEB
- https://news.ycombinator.com/item?id=46435614WEB
Frequently Asked Questions
- What is CVE-2025-69277?
- libsodium has Incomplete List of Disallowed Inputs. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 4.5/10).
- How do I check if my project is affected by CVE-2025-69277?
- CVE-2025-69277 affects paragonie/sodium_compat, hdwallet and pynacl. It has a 0.2% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-69277 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions, or the impact is limited.
This is a below-median EPSS score — only 5.2% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-129221MEDIUM
NLTK: ARFF_Formatter Injects Weka ARFF Schema Directives via Attacker-Controlled Class Labels
- CVE-2026-128140MEDIUM
NLTK: Downloader cyclic collection indices cause an infinite closure walk