Medium

libsodium has Incomplete List of Disallowed Inputs

  • Disclosed: 31.12.2025
  • Updated: 11.10.2026 14:18

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.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package paragonie/sodium_compat >= 2, < 2.5.0, < 1.24.0 2.5.0, 1.24.0
Python (PyPI) hdwallet < 3.6.1 3.6.1
Python (PyPI) pynacl < 1.6.2 1.6.2

References

CVSS score 4.5/10
CVSS vector
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness (CWE)
CWE-184
Platform
Composer, Python (PyPI)
Package
paragonie/sodium_compat, hdwallet, pynacl
Disclosed
31.12.2025
Updated
11.10.2026 14:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-1448 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-mrfv-m5wm-5w6w - CC BY 4.0

OSV / GitHub Advisory Database - PYSEC-2026-3002 - PyPA Advisory Database; CC BY 4.0

Vulnerability history: pynacl

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

This is the only known vulnerability of this package.

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.