CVE-2022-38152
publishedPackage status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
| Alpine Linux | v3.17 | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
| Alpine Linux | v3.18 | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
| Alpine Linux | v3.19 | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
| Alpine Linux | v3.20 | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
| Alpine Linux | v3.21 | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
| Alpine Linux | v3.22 | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.23 | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
| Alpine Linux | v3.24 | wolfssl | Fixed | 5.5.0-r0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- http://packetstormsecurity.com/files/170604/wolfSSL-Session-Resumption-Denial-Of-Service.html
- 20230119 wolfSSL before 5.5.0: Denial-of-service with session resumption http://seclists.org/fulldisclosure/2023/Jan/7
- https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/
- https://github.com/tlspuffin/tlspuffin
- https://github.com/wolfSSL/wolfssl/pull/5468
- https://github.com/wolfSSL/wolfssl/releases
- https://www.wolfssl.com/docs/security-vulnerabilities/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- b20281fea9a5871d4536bfb5fc71f288ba82898acf7c73d873ebb8de4a1e8249
- Ingested
- 23 Sep 2026, 08:01:45 UTC
- Source record
- Official CVE record