# CVE-2022-39173: In wolfSSL before 5.5.1, malicious clients can cause a buffer overflow during a TLS 1.3 handshake.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 6.14%, higher than 93% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-09-29T00:00:00.000Z
- Modified: 2026-06-17T04:57:51.080Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wolfssl wolfssl: before 5.5.1

## Every score

- CISA-ADP: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <http://packetstormsecurity.com/files/169600/wolfSSL-Buffer-Overflow.html> (exploit, third-party-advisory, vdb-entry)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (vendor-advisory)
- <https://github.com/wolfSSL/wolfssl/releases> (release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2022/Oct/24> (mailing-list, third-party-advisory)
- <https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/>

## Sources

- CVE List: [CVE-2022-39173](https://www.cve.org/CVERecord?id=CVE-2022-39173), CVE Terms of Use, modified 2025-05-20
- NVD: [CVE-2022-39173](https://nvd.nist.gov/vuln/detail/CVE-2022-39173), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-39173 · Whole record: https://cve.day/CVE-2022-39173.json · Rebuilt by cve.day 2026-11-25T22:58:15.366Z
