Skip to content
Heist/ feed
Back to feed
High

wolfssl — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-94418

Under WOLFSSL_SMALL_CERT_VERIFY, ProcessPeerCertParse() runs the certificate signature check separately from the parse to keep peak memory down, then merges the two results, but it merged the signature result back only when the parse returned 0, so any parse error hid it. ParseCertRelative() reaches its validity-date, name-constraint and critical-extension checks only after ConfirmSignature() has passed, so splitting the signature check out inverts the precedence that makes "override date errors" a sound policy, and ASN_SIG_CONFIRM_E is never surfaced anywhere. The attacker needs no key material from the real PKI and no CA compromise: a self-made certificate carrying the expected subject name, the trusted CA's subject as its issuer, arbitrary bytes where the signature goes, a validity window in the past and the attacker's own key pair is sufficient. Affected builds define WOLFSSL_SMALL_CERT_VERIFY, which is off by default, is not set implicitly by any platform or preset header, and is not reachable from any CMake option; the autotools routes are --enable-lowresource, --enable-leantls, --enable-tinytls13=cert and --enable-tinytls13=mutualauth, and examples/configs/user_settings_embedded.h reaches it through WC_CFG_SMALL_CERT_VERIFY, which ships as 0, while neither --enable-all nor --enable-distro enables it at all. The application must additionally install a verify callback through wolfSSL_CTX_set_verify() or wolfSSL_set_verify() with WOLFSSL_VERIFY_PEER that returns 1 for ASN

Products
wolfssl
Affected versions
3.10.2+dfsg-2, 3.12.0+dfsg-1, 3.12.2+dfsg-1, 3.13.0+dfsg-1, 3.4.8+dfsg-1, 4.1.0+dfsg-2, 4.2.0+dfsg-1, 4.2.0+dfsg-2, 4.2.0+dfsg-3, 4.3.0+dfsg-2, 4.6.0-3, 5.0.0-1, 5.1.1-1, 5.2.0-1, 5.2.0-2, 5.5.4-2, 5.5.4-2.1, 5.6.4-2, 5.6.6-1.2, 5.6.6-1.3, 5.6.6-1.3build1, 5.7.2-0.1, 5.8.2-1.2, 5.8.4-1, 5.9.1-0.1, 5.9.2-1
Fixed versions
Not specified
CVEs
CVE-2026-94418
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 03:33 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-94418

core-osv · Original source

Published 27 Sept 2026, 09:16 UTC

Under WOLFSSL_SMALL_CERT_VERIFY, ProcessPeerCertParse() runs the certificate signature check separately from the parse to keep peak memory down, then merges the two results, but it merged the signature result back only when the parse returned 0, so any parse error hid it. ParseCertRelative() reaches its validity-date, name-constraint and critical-extension checks only after ConfirmSignature() has passed, so splitting the signature check out inverts the precedence that makes "override date errors" a sound policy, and ASN_SIG_CONFIRM_E is never surfaced anywhere. The attacker needs no key material from the real PKI and no CA compromise: a self-made certificate carrying the expected subject name, the trusted CA's subject as its issuer, arbitrary bytes where the signature goes, a validity window in the past and the attacker's own key pair is sufficient. Affected builds define WOLFSSL_SMALL_CERT_VERIFY, which is off by default, is not set implicitly by any platform or preset header, and is not reachable from any CMake option; the autotools routes are --enable-lowresource, --enable-leantls, --enable-tinytls13=cert and --enable-tinytls13=mutualauth, and examples/configs/user_settings_embedded.h reaches it through WC_CFG_SMALL_CERT_VERIFY, which ships as 0, while neither --enable-all nor --enable-distro enables it at all. The application must additionally install a verify callback through wolfSSL_CTX_set_verify() or wolfSSL_set_verify() with WOLFSSL_VERIFY_PEER that returns 1 for ASN

osv:UBUNTU-CVE-2026-94418

wolfssl

Fixed versions: Not specified

wolfssl

Fixed versions: Not specified

wolfssl

Fixed versions: Not specified

wolfssl

Fixed versions: Not specified

wolfssl

Fixed versions: Not specified

wolfssl

Fixed versions: Not specified

wolfssl

Fixed versions: Not specified

Complete source record
{
  "id": "4957d513af3747d462763e1cafc4aef8be83d725737478d9d19cc2c607717752",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-94418",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-94418",
    "summary": "Under WOLFSSL_SMALL_CERT_VERIFY, ProcessPeerCertParse() runs the certificate signature check separately from the parse to keep peak memory down, then merges the two results, but it merged the signature result back only when the parse returned 0, so any parse error hid it. ParseCertRelative() reaches its validity-date, name-constraint and critical-extension checks only after ConfirmSignature() has passed, so splitting the signature check out inverts the precedence that makes \"override date errors\" a sound policy, and ASN_SIG_CONFIRM_E is never surfaced anywhere. The attacker needs no key material from the real PKI and no CA compromise: a self-made certificate carrying the expected subject name, the trusted CA's subject as its issuer, arbitrary bytes where the signature goes, a validity window in the past and the attacker's own key pair is sufficient. Affected builds define WOLFSSL_SMALL_CERT_VERIFY, which is off by default, is not set implicitly by any platform or preset header, and is not reachable from any CMake option; the autotools routes are --enable-lowresource, --enable-leantls, --enable-tinytls13=cert and --enable-tinytls13=mutualauth, and examples/configs/user_settings_embedded.h reaches it through WC_CFG_SMALL_CERT_VERIFY, which ships as 0, while neither --enable-all nor --enable-distro enables it at all. The application must additionally install a verify callback through wolfSSL_CTX_set_verify() or wolfSSL_set_verify() with WOLFSSL_VERIFY_PEER that returns 1 for ASN",
    "evidence": "osv:UBUNTU-CVE-2026-94418",
    "products": [
      {
        "name": {
          "value": "wolfssl",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.4.8+dfsg-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wolfssl",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.10.2+dfsg-2",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.12.0+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.12.2+dfsg-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.13.0+dfsg-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wolfssl",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.1.0+dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.2.0+dfsg-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.2.0+dfsg-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.2.0+dfsg-3",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "4.3.0+dfsg-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wolfssl",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.6.0-3",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.0.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.1.1-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.2.0-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.2.0-2",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wolfssl",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.5.4-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.5.4-2.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.6.4-2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.6.6-1.2",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.6.6-1.3",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "5.6.6-1.3build1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wolfssl",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.9.1-0.1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "5.9.2-1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "wolfssl",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.7.2-0.1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "5.8.2-1.2",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "5.8.4-1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "5.9.1-0.1",
            "evidence": "/affected/6/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2026-94418",
      "aliases": [
        "UBUNTU-CVE-2026-94418"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wolfssl",
            "purl": "pkg:deb/ubuntu/wolfssl?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "3.4.8+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94418.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcyassl5",
                "binary_version": "3.4.8+dfsg-1"
              },
              {
                "binary_name": "libwolfssl0",
                "binary_version": "3.4.8+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wolfssl",
            "purl": "pkg:deb/ubuntu/wolfssl?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.10.2+dfsg-2",
            "3.12.0+dfsg-1",
            "3.12.2+dfsg-1",
            "3.13.0+dfsg-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94418.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libwolfssl15",
                "binary_version": "3.13.0+dfsg-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wolfssl",
            "purl": "pkg:deb/ubuntu/wolfssl?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "4.1.0+dfsg-2",
            "4.2.0+dfsg-1",
            "4.2.0+dfsg-2",
            "4.2.0+dfsg-3",
            "4.3.0+dfsg-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94418.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libwolfssl24",
                "binary_version": "4.3.0+dfsg-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wolfssl",
            "purl": "pkg:deb/ubuntu/wolfssl?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "4.6.0-3",
            "5.0.0-1",
            "5.1.1-1",
            "5.2.0-1",
            "5.2.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94418.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libwolfssl32",
                "binary_version": "5.2.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wolfssl",
            "purl": "pkg:deb/ubuntu/wolfssl?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "5.5.4-2",
            "5.5.4-2.1",
            "5.6.4-2",
            "5.6.6-1.2",
            "5.6.6-1.3",
            "5.6.6-1.3build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94418.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libwolfssl42t64",
                "binary_version": "5.6.6-1.3build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wolfssl",
            "purl": "pkg:deb/ubuntu/wolfssl?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "5.9.1-0.1",
            "5.9.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94418.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libwolfssl45",
                "binary_version": "5.9.2-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "wolfssl",
            "purl": "pkg:deb/ubuntu/wolfssl?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "5.7.2-0.1",
            "5.8.2-1.2",
            "5.8.4-1",
            "5.9.1-0.1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-94418.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libwolfssl44",
                "binary_version": "5.9.1-0.1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T13:01:18.860775142Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-94418"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-94418",
        "https://www.cve.org/CVERecord?id=CVE-2026-94418",
        "https://github.com/wolfSSL/wolfssl/pull/11500"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-94418",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 361633,
  "published_at": "2026-09-27T09:16:00+00:00"
}