CVE-2022-39173 json
In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake.
published 2022-09-29 4 y ago modified 2026-07-18 3 mo ago also EUVD-2022-41718 , JLSEC-2026-673
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 5.8%
- EPSS 5.8% chance of exploitation in 30 days, percentile 93%
- public exploits
- 0
- none known
Summary
In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake. This occurs when an attacker supposedly resumes a previous TLS session. During the resumption Client Hello a Hello Retry Request must be triggered. Both Client Hellos are required to contain a list of duplicate cipher suites to trigger the buffer overflow. In total, two Client Hellos have to be sent: one in the resumed session, and a second one as a response to a Hello Retry Request message.
Patch / fix
- julia wolfSSL_jll 5.7.2+0
- wolfssl wolfssl 5.5.1
- wolfssl Debian 13, Debian 12 5.5.3-1
debian advisories DEBIAN-CVE-2022-39173
- wolfssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 5.5.1-r0
alpine advisories ALPINE-CVE-2022-39173
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 17 mo ago
Exploit prediction
5.76% chance of exploitation in the next 30 days, higher than 93% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- packetstormsecurity.com http://packetstormsecurity.com/files/169600/wolfSSL-Buffer-Overflow.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | wolfSSL_jll | <5.7.2+0 |
5.7.2+0 |
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
packetstormsecurity.com
/files/169600/wolfSSL-Buffer-Overflow.html
exploit, third-party-advisory, vdb-entry, web
-
wolfssl.com
/docs/security-vulnerabilities/
vendor-advisory, web
-
github.com
/wolfSSL/wolfssl/releases
release-notes, third-party-advisory, web
-
seclists.org
/fulldisclosure/2022/Oct/24
mailing-list, third-party-advisory, web
-
blog.trailofbits.com
/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/
web
Sources
- CVE List CVE-2022-39173
- NVD CVE-2022-39173
- OSV JLSEC-2026-673
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.