CVE-2022-42905 Memory corruption in n/a
A malicious TLS client can trigger a heap buffer over-read in wolfSSL when debugging callbacks are enabled, potentially leaking memory or causing crashes.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-42905?
CVE-2022-42905 is a critical memory corruption vulnerability in Wolfssl Wolfssl, published on 6 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.)
Weakness: CWE-125
Which versions are affected by CVE-2022-42905?
It affects 1 product.
Products include Wolfssl Wolfssl.
How do I fix CVE-2022-42905?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2022-42905 being exploited?
There is no known exploitation of CVE-2022-42905 in the wild and no public exploit code.
Other vulnerabilities in Wolfssl Wolfssl
Sources
Also known as DEBIAN-CVE-2022-42905, GHSA-h6wv-v27f-f93r, JLSEC-2026-674, UBUNTU-CVE-2022-42905.