CVE-2026-89134 PUBLISHED

Subject CN name-constraint check bypassed when non-DNS SAN present

Assigner: wolfSSL
Reserved: 10.09.2026 Published: 27.09.2026 Updated: 27.09.2026

A certificate with no dNSName SAN but another SAN type present (e.g. registeredID or iPAddress) bypassed the Subject CN dNSName name-constraint check. The CN-as-DNS fallback was gated on cert->subjectCN != NULL && cert->altNames == NULL && !cert->isCA instead of "no dNSName SAN", so an out-of-scope CN was accepted. This incomplete fix from CVE-2026-6731, leading to the name-constraint check issue, was introduced in wolfSSL version 5.9.2.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
CVSS Score: 6.3

Product Status

Vendor wolfSSL
Product wolfSSL
Versions Default: unaffected
  • Version 5.9.2 is affected

Credits

  • Jorge Milla (Pig-Tail) finder

References

Problem Types

  • CWE-295 Improper Certificate Validation CWE