Vulnerabilities · 2022 · Wolfssl
CVE-2022-42905
Wolfssl vulnerability
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.)
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Wolfssl. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Wolfssl runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- www.wolfssl.com/docs/security-vulnerabilities/ · Vendor Advisory
- packetstormsecurity.com/files/170610/wolfSSL-WOLFSSL_CALLBACKS-Heap-Buffer-Over-Read.html · Third Party Advisory
- seclists.org/fulldisclosure/2023/Jan/11 · Third Party Advisory
- github.com/wolfSSL/wolfssl/releases · Third Party Advisory
- github.com/wolfSSL/wolfssl/releases/tag/v5.5.2-stable · Third Party Advisory
- blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/
- nvd.nist.gov/vuln/detail/CVE-2022-42905
- cve.org/CVERecord?id=CVE-2022-42905
More vulnerabilities in Wolfssl products
CVE-2025-12889CVE-2025-12888CVE-2025-11936CVE-2025-11935CVE-2025-11934CVE-2025-11933CVE-2025-11932CVE-2025-11931All 80
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.