CVE-2026-5448: 
wolfSSL vulnerability analysis and mitigation

Overview

CVE-2026-5448 is a heap-based buffer overflow vulnerability in wolfSSL affecting the wolfSSL_X509_notAfter and wolfSSL_X509_notBefore compatibility layer API functions. A buffer overflow may occur when parsing date fields from a crafted X.509 certificate when these two APIs are called directly by an application; standard TLS and certificate verification operations in wolfSSL are not affected. All wolfSSL versions prior to 5.9.1 are affected. The vulnerability was published on April 10, 2026, with the fix merged on April 2, 2026. It carries a CVSS v3.1 base score of 4.3 (Medium) and a CVSS v4.0 base score of 2.3 (Low) (GitHub Advisory, wolfSSL PR).

Technical details

The root cause is a heap-based buffer overflow (CWE-122) in the wolfSSL_X509_notAfter and wolfSSL_X509_notBefore functions within wolfSSL's OpenSSL compatibility layer. The overflow originates in CopyDecodedToX509() where the date length is capped at MAX_DATE_SZ (32 bytes), but the copy-at-offset-2 pattern in the getter functions requires a safe maximum of CTC_DATE_SIZE - 2 (30 bytes), allowing a 2-byte overflow into adjacent heap memory. Exploitation requires an attacker with adjacent network access to supply a crafted X.509 certificate to an application that directly calls these two API functions; applications using only standard TLS operations are not vulnerable. The fix introduced a CopyDateToASN1_TIME() helper that consolidates copy logic and enforces proper bounds, along with corrected setter validation to align with getter limits (wolfSSL PR, GitHub Advisory).

Impact

Successful exploitation can cause a denial of service (DoS) condition in applications that directly invoke the affected wolfSSL compatibility API functions when processing attacker-supplied X.509 certificates. There is no impact to confidentiality or integrity — the vulnerability is limited to availability, with a low availability impact on the vulnerable system only. The narrow attack surface (adjacent network access required, specific API usage required) significantly limits the practical scope of exploitation (GitHub Advisory, wolfSSL PR).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (GitHub Advisory). The EPSS score is approximately 0.015–0.019%, placing it in the 5th percentile for exploitation likelihood within 30 days. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires adjacent network positioning and a target application that directly calls the affected APIs, further reducing practical exploitability.

Mitigation and workarounds

Upgrade wolfSSL to version 5.9.1 or later, which includes the fix merged on April 2, 2026 (PR #10071). Applications that do not directly call wolfSSL_X509_notAfter or wolfSSL_X509_notBefore are not affected and do not require immediate action. Developers should audit their codebase for direct use of these two compatibility layer APIs and prioritize patching those components (wolfSSL PR, GitHub Advisory).

Community reactions

The vulnerability was discussed on the oss-security mailing list shortly after disclosure. Community review during the pull request process (notably by contributor programsurf) identified that the initial patch addressed only the getter bounds check and not the root cause in CopyDecodedToX509() or setter validation, prompting an expanded fix before merge. The wolfSSL team responded promptly, incorporating most of the community feedback into the final patch (oss-sec, wolfSSL PR).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

wolfssl

Affected

sid

wolfssl: 5.9.1-0.1

Fixed

trixie

wolfssl

Affected

Ubuntu

Unknown

bionic (esm-apps)

wolfssl

Unknown

devel

wolfssl

Unknown

focal (esm-apps)

wolfssl

Unknown

jammy

wolfssl

Unknown

jammy (esm-apps)

wolfssl

Unknown

noble

wolfssl

Unknown

noble (esm-apps)

wolfssl

Unknown

resolute

wolfssl

Unknown

Alpine

Fixed

edge

wolfssl: 5.9.1-r0

Fixed

v3.23

wolfssl: 5.9.1-r0

Fixed

Source: This report was generated using AI

Related wolfSSL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-93302HIGH8.3
  • wolfSSL logowolfSSL
  • cpe:2.3:a:wolfssl:wolfssl
NoNoSep 27, 2026
CVE-2026-89136HIGH8.3
  • wolfSSL logowolfSSL
  • wolfssl
NoNoSep 27, 2026
CVE-2026-95208HIGH7.5
  • wolfSSL logowolfSSL
  • wolfssl
NoNoOct 08, 2026
CVE-2026-93304MEDIUM6.3
  • wolfSSL logowolfSSL
  • wolfssl
NoNoSep 27, 2026
CVE-2026-94417LOW2.3
  • wolfSSL logowolfSSL
  • cpe:2.3:a:wolfssl:wolfssl
NoNoSep 27, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management