CVE-2023-6936
wolfSSL vulnerability analysis and mitigation

Overview

A malicious TLS client or network attacker can trigger a buffer over-read on the heap of 5 bytes when WOLFSSL_CALLBACKS is enabled in wolfSSL prior to version 5.6.6. This vulnerability is tracked as CVE-2023-6936 and was discovered in February 2024. The issue specifically affects the WOLFSSL_CALLBACKS functionality, which is only intended for debugging purposes (WolfSSL Security, NVD CVE).

Technical details

The vulnerability is classified as a heap-based buffer over-read (CWE-125) that occurs when callback functions are enabled via the WOLFSSL_CALLBACKS flag. The issue has received varying CVSS severity ratings, with NVD assigning a CVSS 3.1 base score of 9.1 (CRITICAL) while wolfSSL Inc. rated it at 5.3 (MEDIUM). The vulnerability specifically manifests when processing TLS connections with the debugging callbacks enabled (NVD CVE).

Impact

The vulnerability allows an attacker to read 5 bytes beyond the intended buffer boundary on the heap when WOLFSSL_CALLBACKS is enabled. While the feature is intended only for debugging purposes, systems running with this option enabled in production environments could be vulnerable to information disclosure or potential system crashes (WolfSSL Security).

Mitigation and workarounds

The vulnerability has been fixed in wolfSSL version 5.6.6. Users are recommended to either update to this version or later, or disable the WOLFSSL_CALLBACKS feature if it's not required. Since WOLFSSL_CALLBACKS is intended only for debugging purposes, it should not be enabled in production environments (WolfSSL Security, GitHub PR).

Additional resources


SourceThis report was generated using AI

Related wolfSSL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-15346CRITICAL9.3
  • PythonPython
  • wolfssl
NoYesJan 08, 2026
CVE-2025-11936MEDIUM6.3
  • wolfSSLwolfSSL
  • cpe:2.3:a:wolfssl:wolfssl
NoYesNov 21, 2025
CVE-2025-12889LOW2.3
  • wolfSSLwolfSSL
  • wolfssl
NoYesNov 22, 2025
CVE-2025-13912LOW1
  • wolfSSLwolfSSL
  • cpe:2.3:a:wolfssl:wolfssl
NoYesDec 11, 2025
CVE-2025-12888LOW1
  • wolfSSLwolfSSL
  • wolfssl
NoYesNov 21, 2025

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