Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-14317

wolfSSL and wolfCrypt 4.1.0 and earlier (formerly known as CyaSSL) generate biased DSA nonces. This allows a remote attacker to compute the long term private key from several hundred DSA signatures via a lattice attack. The issue occurs because dsa.c fixes two bits of the generated nonces.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-14317
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 07:42 UTC · Revision 1

Source evidence

CVE-2019-14317

core-osv · Original source

Published 11 Dec 2019, 18:16 UTC

wolfSSL and wolfCrypt 4.1.0 and earlier (formerly known as CyaSSL) generate biased DSA nonces. This allows a remote attacker to compute the long term private key from several hundred DSA signatures via a lattice attack. The issue occurs because dsa.c fixes two bits of the generated nonces.

osv:CVE-2019-14317
Complete source record
{
  "id": "ca7ed96bdea6d564424c373b9c4af20b42b53083776e47a1f76b275c32186afd",
  "url": "https://osv.dev/vulnerability/CVE-2019-14317",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-14317",
    "summary": "wolfSSL and wolfCrypt 4.1.0 and earlier (formerly known as CyaSSL) generate biased DSA nonces. This allows a remote attacker to compute the long term private key from several hundred DSA signatures via a lattice attack. The issue occurs because dsa.c fixes two bits of the generated nonces.",
    "evidence": "osv:CVE-2019-14317",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2019-14317",
      "aliases": [
        "CVE-2019-14317"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wolfssl/wolfssl",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cb7b4af9861ad627faffdc3d24a196c2d11930b8"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:wolfssl:wolfssl:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "4.2.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "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",
            "v3.12.0-stable",
            "v3.11.1-tls13-beta",
            "v3.11.0-stable",
            "v3.10.3",
            "v3.10.2-stable",
            "v3.10.0a",
            "v3.10.0-stable",
            "v3.9.10b",
            "v3.9.10-stable",
            "v3.9.8",
            "v3.9.6w",
            "v3.9.6",
            "v3.9.1",
            "v3.9.0",
            "v3.8.0",
            "v3.7.3",
            "v3.7.1",
            "v3.7.0",
            "v3.6.9",
            "v3.6.8",
            "v3.4.6",
            "v3.4.2",
            "v3.4.0",
            "v3.3.3",
            "v3.3.0",
            "v3.2.6",
            "v3.2.4",
            "v3.2.0",
            "v2.9.4",
            "v2.9.2",
            "v2.9.1",
            "v0.5",
            "v2.9.0",
            "v2.8.6",
            "v2.8.5a",
            "v2.8.5",
            "v2.8.4",
            "v2.8.3",
            "v2.8.2",
            "v2.8.0",
            "v2.7.2",
            "v2.7.0",
            "v2.6.2",
            "v2.6.0",
            "v2.4.7",
            "v2.4.6",
            "v2.4.2",
            "v2.0.8",
            "v2.0.6",
            "v2.0.3",
            "v2.0.2",
            "v2.0rc3",
            "v2.0rc2b",
            "v2.0rc2",
            "v2.0rc1",
            "v1.9.0",
            "v1.8.8.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-14317.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:57.278566511Z",
      "provider": "osv",
      "references": [
        "https://www.wolfssl.com/docs/security-vulnerabilities/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-14317",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 438811,
  "published_at": "2019-12-11T18:16:18.88+00:00"
}