# CVE-2023-6935: Marvin Attack vulnerability in SP Math All RSA

- Severity: Medium 5.9 (CVSS:3.1, scored by wolfSSL) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-02-09T22:25:04.663Z
- Modified: 2026-06-17T06:51:43.017Z
- Weaknesses: CWE-203
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

## Description

wolfSSL SP Math All RSA implementation is vulnerable to the Marvin Attack, new variation of a timing Bleichenbacher style attack, when built with the following options to configure:

--enable-all CFLAGS="-DWOLFSSL_STATIC_RSA"

The define “WOLFSSL_STATIC_RSA” enables static RSA cipher suites, which is not recommended, and has been disabled by default since wolfSSL 3.6.6.  Therefore the default build since 3.6.6, even with "--enable-all", is not vulnerable to the Marvin Attack. The vulnerability is specific to static RSA cipher suites, and expected to be padding-independent.

The vulnerability allows an attacker to decrypt ciphertexts and forge signatures after probing with a large number of test observations. However the server’s private key is not exposed.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: from 3.12.2 up to 5.6.4

## Every score

- wolfSSL: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://people.redhat.com/~hkario/marvin/> (technical-description, third-party-advisory)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (vendor-advisory)

## Sources

- CVE List: [CVE-2023-6935](https://www.cve.org/CVERecord?id=CVE-2023-6935), CVE Terms of Use, modified 2024-08-02
- NVD: [CVE-2023-6935](https://nvd.nist.gov/vuln/detail/CVE-2023-6935), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-6935 · Whole record: https://cve.day/CVE-2023-6935.json · Rebuilt by cve.day 2026-11-25T22:58:32.675Z
