Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-29780

MEDIUM 5.8EPSS 44%

Post-Quantum Secure Feldman's Verifiable Secret Sharing has Timing Side-Channels in Matrix Operations

Also known as GHSA-q65w-fg65-79f4

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Projects that depend on PyPI package postquantum-feldman-vss (<= 0.8.0b2)
  • Anyone running DavidOsipov PostQuantum-Feldman-VSS <= 0.8.0b2

Vulnerability facts

Affected
postquantum-feldman-vss <= 0.8.0b2
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.8 (v4.0, CNA)CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: High
  • Attack requirements: Present
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.62% chance of exploitation in 30 days (percentile 44, 2026-11-26)
CWE
CWE-203, CWE-208, CWE-385
Published
Modified

Description

Post-Quantum Secure Feldman's Verifiable Secret Sharing provides a Python implementation of Feldman's Verifiable Secret Sharing (VSS) scheme. In versions 0.8.0b2 and prior, the `feldman_vss` library contains timing side-channel vulnerabilities in its matrix operations, specifically within the `_find_secure_pivot` function and potentially other parts of `_secure_matrix_solve`. These vulnerabilities are due to Python's execution model, which does not guarantee constant-time execution. An attacker with the ability to measure the execution time of these functions (e.g., through repeated calls with carefully crafted inputs) could potentially recover secret information used in the Verifiable Secret Sharing (VSS) scheme. The `_find_secure_pivot` function, used during Gaussian elimination in `_secure_matrix_solve`, attempts to find a non-zero pivot element. However, the conditional statement `if matrix[row][col] != 0 and row_random < min_value:` has execution time that depends on the value of `matrix[row][col]`. This timing difference can be exploited by an attacker. The `constant_time_compare` function in this file also does not provide a constant-time guarantee. The Python implementation of matrix operations in the _find_secure_pivot and _secure_matrix_solve functions cannot guarantee constant-time execution, potentially leaking information about secret polynomial coefficients. An attacker with the ability to make precise timing measurements of these operations could potentially extract secret information through statistical analysis of execution times, though practical exploitation would require significant expertise and controlled execution environments. Successful exploitation of these timing side-channels could allow an attacker to recover secret keys or other sensitive information protected by the VSS scheme. This could lead to a complete compromise of the shared secret. As of time of publication, no patched versions of Post-Quantum Secure Feldman's Verifiable Secret Sharing exist, but other mitigations are available. As acknowledged in the library's documentation, these vulnerabilities cannot be adequately addressed in pure Python. In the short term, consider using this library only in environments where timing measurements by attackers are infeasible. In the medium term, implement your own wrappers around critical operations using constant-time libraries in languages like Rust, Go, or C. In the long term, wait for the planned Rust implementation mentioned in the library documentation that will properly address these issues.

Affected and fixed versions

Package / productAffectedFixedSource
PyPI postquantum-feldman-vss<= 0.8.0b2—osv
DavidOsipov PostQuantum-Feldman-VSS<= 0.8.0b2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-29780. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-29780.md
Affected: postquantum-feldman-vss <= 0.8.0b2
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for postquantum-feldman-vss (PyPI), DavidOsipov PostQuantum-Feldman-VSS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-29780 being exploited?

There is no confirmed exploitation: CVE-2025-29780 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.62% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-29780?

Medium: CVSS 5.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-29780?

postquantum-feldman-vss <= 0.8.0b2.

Is there a fix for CVE-2025-29780?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2025-29780?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors