CVE-2025-29779

Post-Quantum Secure Feldman's Verifiable Secret Sharing has Inadequate Fault Injection Countermeasures in `secure_redundant_execution`

5.4 medium EPSS 0.25%

Published 14 Mar 2025 Updated 19 Mar 2025 CNA: GitHub_M

Check your servers for CVE-2025-29779

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-29779 affects postquantum-feldman-vss, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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 `secure_redundant_execution` function in feldman_vss.py attempts to mitigate fault injection attacks by executing a function multiple times and comparing results. However, several critical weaknesses exist. Python's execution environment cannot guarantee true isolation between redundant executions, the constant-time comparison implementation in Python is subject to timing variations, the randomized execution order and timing provide insufficient protection against sophisticated fault attacks, and the error handling may leak timing information about partial execution results. These limitations make the protection ineffective against targeted fault injection attacks, especially from attackers with physical access to the hardware. A successful fault injection attack could allow an attacker to bypass the redundancy check mechanisms, extract secret polynomial coefficients during share generation or verification, force the acceptance of invalid shares during verification, and/or manipulate the commitment verification process to accept fraudulent commitments. This undermines the core security guarantees of the Verifiable Secret Sharing scheme. As of time of publication, no patched versions of Post-Quantum Secure Feldman's Verifiable Secret Sharing exist, but other mitigations are available. Long-term remediation requires reimplementing the security-critical functions in a lower-level language like Rust. Short-term mitigations include deploying the software in environments with physical security controls, increasing the redundancy count (from 5 to a higher number) by modifying the source code, adding external verification of cryptographic operations when possible, considering using hardware security modules (HSMs) for key operations.

Severity (CVSS)

5.4 medium CVSS 4.0 from GitHub_M (CNA)
CVSS:4.0/AV:P/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attack vector
physical: the attacker has to touch the device
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Attack requirements
present: an attack works only when the target is in a certain state or configuration
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Impact on the vulnerable system
confidentiality high, integrity high, availability high: what an attacker can read, change or stop in the vulnerable component
Impact on other systems
confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it

Exploitation

EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 10.3% of all scored CVEs. Scores of 30 Nov 2026.

The assessment of CISA (SSVC, 14 Mar 2025):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
total: full control of the component or of its data

Weakness

  • CWE-1240 Use of a Cryptographic Primitive with a Risky Implementation
  • CWE-1279 Cryptographic Operations are Run Before Supporting Units are Ready

Affected products

As the CNA lists them.

ProductVersions
PostQuantum-Feldman-VSS
affected <= 0.8.0b2

Is my server affected?

Find the installed version of postquantum-feldman-vss and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i postquantum-feldman-vss
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-29779 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-29779

RHEL, Rocky, Alma, Fedora

rpm -q postquantum-feldman-vss
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-29779

Alpine

apk list --installed | grep -i postquantum-feldman-vss

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2025-29779
trivy image --scanners vuln IMAGE | grep CVE-2025-29779

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Advisories

Other references

Source: the record CVE-2025-29779 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.