Skip to main content
No exploitation reportedFix available

CVE-2022-38152

No exploitation reported by the sources we read.

  • Published2022-08-31
  • Fixed in5.5.0
  • WeaknessCWE-754

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

An issue was discovered in wolfSSL before 5.5.0. When a TLS 1.3 client connects to a wolfSSL server and SSL_clear is called on its session, the server crashes with a segmentation fault. This occurs in the second session, which is created through TLS session resumption and reuses the initial struct WOLFSSL. If the server reuses the previous session structure (struct WOLFSSL) by calling wolfSSL_clear(WOLFSSL* ssl) on it, the next received Client Hello (that resumes the previous session) crashes the server. Note that this bug is only triggered when resuming sessions using TLS session resumption. Only servers that use wolfSSL_clear instead of the recommended SSL_free; SSL_new sequence are affected. Furthermore, wolfSSL_clear is part of wolfSSL's compatibility layer and is not enabled by default. It is not part of wolfSSL's native API.

Timeline

dates in UTC
  1. 2022-08-3117:15CVE publishedNVD

Versions per branch

NVD
Wolfssl
BranchAffectedFixed in
5.5< 5.5.05.5.0

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • wolfsslUbuntu:26.10all versions · no fixed version listed
  • wolfsslUbuntu:26.04:LTSall versions · no fixed version listed
  • wolfsslUbuntu:25.10all versions · no fixed version listed
  • wolfsslUbuntu:24.04:LTSall versions · no fixed version listed
  • wolfsslUbuntu:22.04:LTSall versions · no fixed version listed
  • wolfsslUbuntu:20.04:LTSall versions · no fixed version listed
  • wolfsslUbuntu:18.04:LTSall versions · no fixed version listed
  • wolfsslUbuntu:16.04:LTSall versions · no fixed version listed

12 more package ranges on OSV.dev

Full record on NVD

Fix

  1. Update Wolfssl to 5.5.0

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2022-08-31
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-g986-42m5-mxwm

Frequently asked questions

What is CVE-2022-38152?

An issue was discovered in wolfSSL before 5.5.0. When a TLS 1.3 client connects to a wolfSSL server and SSL_clear is called on its session, the server crashes with a segmentation fault. This occurs in the second session, which is created through TLS session resumption and reuses the initial struct WOLFSSL. If the server reuses the previous session structure (struct WOLFSSL) by calling wolfSSL_clear(WOLFSSL* ssl) on it, the next received Client Hello (that resumes the previous session) crashes the server. Note that this bug is only triggered when resuming sessions using TLS session resumption. Only servers that use wolfSSL_clear instead of the recommended SSL_free; SSL_new sequence are affected. Furthermore, wolfSSL_clear is part of wolfSSL's compatibility layer and is not enabled by default. It is not part of wolfSSL's native API.

Is CVE-2022-38152 actively exploited?

Active exploitation of CVE-2022-38152 has not been confirmed. Its EPSS score was 3.1% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-38152?

CVE-2022-38152 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running wolfssl? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record