Vulnerabilities / CVE-2022-42905

critical

CVE-2022-42905

In wolfSSL before 5.5.2, if callback functions are enabled (via the WO ...

Published Modified CWE 125
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Julia9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Trivy's own label is CRITICAL. Rated critical by NVD, Julia.

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 and fixed versions

SourcePackageFixed in
julia::Julia Ecosystem Security AdvisorieswolfSSL_jll5.7.2+0
alpine 3.17wolfssl5.5.3-r0
alpine 3.18wolfssl5.5.3-r0
alpine 3.19wolfssl5.5.3-r0
alpine 3.20wolfssl5.5.3-r0
alpine 3.21wolfssl5.5.3-r0
alpine 3.22wolfssl5.5.3-r0
alpine 3.23wolfssl5.5.3-r0
alpine 3.24wolfssl5.5.3-r0
alpine edgewolfssl5.5.3-r0
conan::GitLab Advisory Database Communitywolfsslno fix listed
debian 11wolfssl4.6.0+p1-0+deb11u2
Show all 15 entries from 15 sources
SourcePackageFixed in
julia::Julia Ecosystem Security AdvisorieswolfSSL_jll5.7.2+0
alpine 3.17wolfssl5.5.3-r0
alpine 3.18wolfssl5.5.3-r0
alpine 3.19wolfssl5.5.3-r0
alpine 3.20wolfssl5.5.3-r0
alpine 3.21wolfssl5.5.3-r0
alpine 3.22wolfssl5.5.3-r0
alpine 3.23wolfssl5.5.3-r0
alpine 3.24wolfssl5.5.3-r0
alpine edgewolfssl5.5.3-r0
conan::GitLab Advisory Database Communitywolfsslno fix listed
debian 11wolfssl4.6.0+p1-0+deb11u2
debian 12wolfssl5.5.3-1
debian 13wolfssl5.5.3-1
echowolfssl5.5.3-1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.