Buffer Overflow Affecting wolfssl package, versions [,5.5.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.86% (83rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CONAN-WOLFSSL-10078508
  • published8 May 2025
  • disclosed29 Sept 2022
  • creditMax at Trail of Bits

Introduced: 29 Sep 2022

CVE-2022-39173  (opens in a new tab)
CWE-120  (opens in a new tab)

How to fix?

Upgrade wolfssl to version 5.5.1 or higher.

Overview

Affected versions of this package are vulnerable to Buffer Overflow in the TLSX_ConnectionID_Parse() function in dtls.c and the DoTls13ClientHello() function in tls13.c. A server is vulnerable only when --enable-session-ticket is set and TLS 1.3 is in use. Under those conditions, a malicious ClientHello packet triggering a Hello Retry Request can cause a buffer overflow during a TLS 1.3 handshake, crashing the server.

CVSS Base Scores

version 3.1