# CVE-2022-42905: In wolfSSL before 5.5.2, if callback functions are enabled (via the WOLFSSLCALLBACKS flag), then a malicious TLS 1.3 client or network atta…

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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): 2.47%, higher than 84% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-11-06T00:00:00.000Z
- Modified: 2026-06-17T05:05:34.270Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

In wolfSSL before 5.5.2, if callback functions are enabled (via the WOLFSSL_CALLBACKS flag), then a malicious TLS 1.3 client or network attacker can trigger a buffer over-read on the heap of 5 bytes. (WOLFSSL_CALLBACKS is only intended for debugging.)

(As written by CVE List.)

## Affected

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

## Every score

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

## References

- <http://packetstormsecurity.com/files/170610/wolfSSL-WOLFSSL_CALLBACKS-Heap-Buffer-Over-Read.html> (exploit, third-party-advisory)
- <https://www.wolfssl.com/docs/security-vulnerabilities/> (vendor-advisory)
- <https://github.com/wolfSSL/wolfssl/releases> (release-notes, third-party-advisory)
- <https://github.com/wolfSSL/wolfssl/releases/tag/v5.5.2-stable> (release-notes, third-party-advisory)
- <http://seclists.org/fulldisclosure/2023/Jan/11> (mailing-list, third-party-advisory)
- <https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/>

## Sources

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

---

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