CVE-2026-28387 PUBLISHED

Potential Use-after-free in DANE Client Code

Assigner: openssl
Reserved: 27.02.2026 Published: 07.04.2026 Updated: 07.04.2026

Issue summary: An uncommon configuration of clients performing DANE TLSA-based server authentication, when paired with uncommon server DANE TLSA records, may result in a use-after-free and/or double-free on the client side.

Impact summary: A use after free can have a range of potential consequences such as the corruption of valid data, crashes or execution of arbitrary code.

However, the issue only affects clients that make use of TLSA records with both the PKIX-TA(0/PKIX-EE(1) certificate usages and the DANE-TA(2) certificate usage.

By far the most common deployment of DANE is in SMTP MTAs for which RFC7672 recommends that clients treat as 'unusable' any TLSA records that have the PKIX certificate usages. These SMTP (or other similar) clients are not vulnerable to this issue. Conversely, any clients that support only the PKIX usages, and ignore the DANE-TA(2) usage are also not vulnerable.

The client would also need to be communicating with a server that publishes a TLSA RRset with both types of TLSA records.

No FIPS modules are affected by this issue, the problem code is outside the FIPS module boundary.

Product Status

Vendor OpenSSL
Product OpenSSL
Versions Default: unaffected
  • affected from 3.6.0 to 3.6.2 (excl.)
  • affected from 3.5.0 to 3.5.6 (excl.)
  • affected from 3.4.0 to 3.4.5 (excl.)
  • affected from 3.3.0 to 3.3.7 (excl.)
  • affected from 3.0.0 to 3.0.20 (excl.)
  • affected from 1.1.1 to 1.1.1zg (excl.)

Credits

  • Igor Morgenstern (Aisle Research) reporter
  • Viktor Dukhovni remediation developer
  • Alexandr Nedvedicky remediation developer

References

Problem Types

  • CWE-416 Use After Free CWE