CVE-2025-29780
Last modified
CVE-2025-29780 is a medium-severity vulnerability rated 5.8/10 on the CVSS scale. 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`. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-29780?
How severe is CVE-2025-29780?
How do I fix CVE-2025-29780?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-29774xml-crypto is an XML digital signature and encryption librar…9.3
- CVE-2025-29775xml-crypto is an XML digital signature and encryption librar…9.3
- CVE-2025-29776Azle is a WebAssembly runtime for TypeScript and JavaScript …8.7
- CVE-2025-29778Kyverno is a policy engine designed for cloud native platfor…8
- CVE-2025-29779Post-Quantum Secure Feldman's Verifiable Secret Sharing prov…5.4
- CVE-2025-2978A vulnerability was found in WCMS 11. It has been rated as c…9.8
- CVE-2025-29781The Bare Metal Operator (BMO) implements a Kubernetes API fo…6.5
- CVE-2025-29782WeGIA is Web manager for charitable institutions A Stored Cr…5.4
- CVE-2025-29783vLLM is a high-throughput and memory-efficient inference and…9
- CVE-2025-29784NamelessMC is a free, easy to use & powerful website softwar…7.5
- CVE-2025-29785quic-go is an implementation of the QUIC protocol in Go. The…7.5
- CVE-2025-29786Expr is an expression language and expression evaluation for…7.5
Are you affected by CVE-2025-29780?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
