Skip to content
Heist/ feed
Back to feed
Medium

Marvin Attack vulnerability in SP Math All RSA

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-6935
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:02 UTC · Revision 1

Source evidence

Marvin Attack vulnerability in SP Math All RSA

core-osv · Original source

Published 9 Feb 2024, 22:25 UTC

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.

osv:CVE-2023-6935
Complete source record
{
  "id": "77bf04985a705b059e44c92531dec4c0ea755ef5521864ee40a9bcf857b54d6e",
  "url": "https://osv.dev/vulnerability/CVE-2023-6935",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Marvin Attack vulnerability in SP Math All RSA",
    "summary": "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.",
    "evidence": "osv:CVE-2023-6935",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2023-6935",
      "aliases": [
        "CVE-2023-6935"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wolfssl/wolfssl",
              "type": "GIT",
              "events": [
                {
                  "introduced": "182028819d5d1b3beeea15a3f3117a06608b62b0"
                },
                {
                  "last_affected": "37884f864d6fd9b04f44677cb04da15d0c9d6526"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.12.2"
                      },
                      {
                        "last_affected": "5.6.4"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "cpe": "cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.12.2"
                      },
                      {
                        "last_affected": "5.6.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.6.4-stable",
            "WCv5.0-RC12",
            "WCv5.0-RC11",
            "WCv5.0-RC10",
            "v5.6.2-stable",
            "v5.6.3-stable",
            "v5.6.0-stable",
            "v5.5.4-stable",
            "v5.5.3-stable",
            "v5.5.2-stable",
            "v5.5.1-stable",
            "v5.5.0-stable",
            "v5.4.0-stable",
            "v5.3.0-stable",
            "v5.2.0-stable",
            "v5.1.0-stable",
            "v5.0.0-stable",
            "WCv5.0-RC9",
            "v4.8.0-stable",
            "v4.7.1r",
            "v4.7.0-stable",
            "v4.6.0-stable",
            "v4.5.0-stable",
            "v4.4.0-stable",
            "v4.3.0-stable",
            "v4.2.0c",
            "v4.2.0-stable",
            "v4.1.0-stable",
            "v4.0.0-stable",
            "list",
            "v3.15.7-stable",
            "v3.15.6",
            "v3.15.5a",
            "v3.15.5-stable",
            "WCv4-rng-stable",
            "v3.15.3-stable",
            "l",
            "v3.15.0-stable",
            "v3.14.4",
            "v3.14.2",
            "v3.14.0b",
            "v3.14.0a",
            "v3.14.0-stable",
            "v3.13.3",
            "v3.13.2",
            "v3.13.0-stable",
            "v3.12.2-stable"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-6935.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.841806825Z",
      "provider": "osv",
      "references": [
        "https://www.wolfssl.com/docs/security-vulnerabilities/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6935.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-6935",
        "https://people.redhat.com/~hkario/marvin/",
        "https://github.com/wolfSSL/wolfssl"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-203"
        ],
        "cna_assigner": "wolfSSL",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6935.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-6935",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503420,
  "published_at": "2024-02-09T22:25:04.663+00:00"
}