CVE-2023-6937
wolfSSL vulnerability analysis and mitigation

Overview

CVE-2023-6937 affects wolfSSL versions prior to 5.6.6, where the software failed to verify that messages in a single (D)TLS record do not span key boundaries. The vulnerability was discovered and reported by Johannes Wilson from Sectra Communications and Linköping University (Vendor Advisory).

Technical details

The vulnerability allowed combining (D)TLS messages using different keys into one (D)TLS record. The most severe case involved (D)TLS 1.3, where an unencrypted (D)TLS 1.3 record from the server containing a ServerHello message followed by the rest of the first server flight could be accepted by a wolfSSL client, despite the requirement that handshake messages after ServerHello should be encrypted. The vulnerability has been assigned a CVSS v3.1 Base Score of 5.3 (MEDIUM) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (NVD).

Impact

The vulnerability could potentially expose sensitive handshake information, as it allowed acceptance of unencrypted messages that should have been encrypted. However, the impact was limited as it did not compromise key negotiation or authentication mechanisms, which is why it received a low severity rating (Vendor Advisory).

Exploitability

The vulnerability requires network access to exploit and can be triggered during the TLS handshake process. While the vulnerability is exploitable with low complexity and requires no privileges or user interaction, its impact is limited to confidentiality without affecting integrity or availability (NVD).

Mitigation and workarounds

The vulnerability has been fixed in wolfSSL version 5.6.6. Users are recommended to upgrade to this version or later to address the issue. The fix involves implementing proper checks to ensure messages in a single (D)TLS record do not span key boundaries (GitHub PR).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Alpine

Fixed

edge

wolfssl: 5.6.6-r0

Fixed

v3.19

wolfssl: 5.6.6-r0

Fixed

v3.20

wolfssl: 5.6.6-r0

Fixed

v3.21

wolfssl: 5.6.6-r0

Fixed

v3.22

wolfssl: 5.6.6-r0

Fixed

v3.23

wolfssl: 5.6.6-r0

Fixed

SourceThis report was generated using AI

Related wolfSSL vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-6330MEDIUM6.3
  • wolfSSL logowolfSSL
  • wolfssl
NoYesJun 25, 2026
CVE-2026-8720MEDIUM5.9
  • wolfSSL logowolfSSL
  • wolfssl
NoYesJun 25, 2026
CVE-2026-7511MEDIUM5.9
  • wolfSSL logowolfSSL
  • cpe:2.3:a:wolfssl:wolfssl
NoYesJun 25, 2026
CVE-2026-7532MEDIUM5.7
  • wolfSSL logowolfSSL
  • wolfssl
NoYesJun 25, 2026
CVE-2026-6331LOW2.1
  • wolfSSL logowolfSSL
  • wolfssl
NoYesJun 25, 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