Vulnerability · Published Nov 6, 2022 · Assigned by mitre

CVE-2022-42905

Critical 9.1

In plain English

A critical-severity out-of-bounds read in the wolfssl package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.5% (higher than 85% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.1Critical
Exploit odds (30 days)2.5%top 15.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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.)

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20wolfssl5.5.3-r0ALPINE-CVE-2022-42905
Alpine:v3.21wolfssl5.5.3-r0ALPINE-CVE-2022-42905
Alpine:v3.22wolfssl5.5.3-r0ALPINE-CVE-2022-42905
Alpine:v3.23wolfssl5.5.3-r0ALPINE-CVE-2022-42905
Alpine:v3.24wolfssl5.5.3-r0ALPINE-CVE-2022-42905
Debian:12wolfssl5.5.3-1DEBIAN-CVE-2022-42905
Debian:13wolfssl5.5.3-1DEBIAN-CVE-2022-42905
Ubuntu:22.04:LTSwolfsslno fix listedUBUNTU-CVE-2022-42905
Ubuntu:24.04:LTSwolfsslno fix listedUBUNTU-CVE-2022-42905
Ubuntu:25.10wolfsslno fix listedUBUNTU-CVE-2022-42905
Ubuntu:26.04:LTSwolfsslno fix listedUBUNTU-CVE-2022-42905
Ubuntu:26.10wolfsslno fix listedUBUNTU-CVE-2022-42905

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

References