Skip to main content

CVE-2025-69277 — Vulnerability in paragonie/sodium_compat

MEDIUM

libsodium has Incomplete List of Disallowed Inputs

Published December 31, 2025Updated September 10, 2026Source: OSV

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.

Check my composer.lock

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
Update paragonie/sodium_compat to 2.5.0 or later
composer require "paragonie/sodium_compat:^2.5.0"
pip
Update hdwallet to 3.6.1 or later
pip install "hdwallet>=3.6.1"
pip
Update pynacl to 1.6.2 or later
pip install "pynacl>=1.6.2"
Composer
Update paragonie/sodium_compat to 1.24.0 or later
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).

PackageFixed 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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 4.5 score means for each attack dimension.

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N

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

CVSS Score
4.5

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.19%
EPSS percentile: 5.2

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

GHSA-mrfv-m5wm-5w6w
PYSEC-2026-1448
PYSEC-2026-3002

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my composer.lock