{"id":"CVE-2022-42905","aliases":["ALPINE-CVE-2022-42905","BELL-CVE-2022-42905","DEBIAN-CVE-2022-42905","EUVD-2022-45963","GHSA-h6wv-v27f-f93r","JLSEC-2026-674","UBUNTU-CVE-2022-42905"],"status":"published","title":"In wolfSSL before 5.5.2, if callback functions are enabled (via the WOLFSSL_CALLBACKS flag), then...","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.)","severity":{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.02466,"percentile":0.84619,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-125"],"published":"2022-11-06T00:00:00Z","modified":"2026-11-03T07:31:26Z","fixes":[{"ecosystem":"Alpine:v3.17","package":"wolfssl","fixed_in":["5.5.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.18","package":"wolfssl","fixed_in":["5.5.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.19","package":"wolfssl","fixed_in":["5.5.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.20","package":"wolfssl","fixed_in":["5.5.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.21","package":"wolfssl","fixed_in":["5.5.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.22","package":"wolfssl","fixed_in":["5.5.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.23","package":"wolfssl","fixed_in":["5.5.3-r0"],"sources":["osv"]},{"ecosystem":"Alpine:v3.24","package":"wolfssl","fixed_in":["5.5.3-r0"],"sources":["osv"]},{"ecosystem":"Debian:12","package":"wolfssl","fixed_in":["5.5.3-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"wolfssl","fixed_in":["5.5.3-1"],"sources":["osv"]},{"ecosystem":"Julia","package":"wolfSSL_jll","fixed_in":["5.7.2+0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.17","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.18","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.19","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.20","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.21","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.22","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.23","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-r0"}]}]},{"source":"osv","ecosystem":"Alpine:v3.24","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-r0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5.5.3-1"}]}]},{"source":"osv","ecosystem":"Julia","package":"wolfSSL_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.7.2+0"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.4.8+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.10.2+dfsg-2","3.12.0+dfsg-1","3.12.2+dfsg-1","3.13.0+dfsg-1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.1.0+dfsg-2","4.2.0+dfsg-1","4.2.0+dfsg-2","4.2.0+dfsg-3","4.3.0+dfsg-2"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.6.0-3","5.0.0-1","5.1.1-1","5.2.0-1","5.2.0-2"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.5.4-2","5.5.4-2.1","5.6.4-2","5.6.6-1.2","5.6.6-1.3","5.6.6-1.3build1"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7.2-0.1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.9.1-0.1","5.9.2-1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"wolfssl","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["5.7.2-0.1","5.8.2-1.2","5.8.4-1","5.9.1-0.1"]}],"products":[{"vendor":"wolfssl","product":"wolfssl"}],"references":[{"url":"https://www.wolfssl.com/docs/security-vulnerabilities/","tags":["x_transferred","Vendor Advisory","web","report"]},{"url":"https://github.com/wolfSSL/wolfssl/releases","tags":["x_transferred","Release Notes","Third Party Advisory","package","web","report"]},{"url":"https://github.com/wolfSSL/wolfssl/releases/tag/v5.5.2-stable","tags":["x_transferred","Release Notes","Third Party Advisory","web"]},{"url":"http://seclists.org/fulldisclosure/2023/Jan/11","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"http://packetstormsecurity.com/files/170610/wolfSSL-WOLFSSL_CALLBACKS-Heap-Buffer-Over-Read.html","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/","tags":["x_transferred","article","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-42905","tags":["advisory"]},{"url":"https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh"},{"url":"https://www.wolfssl.com/docs/security-vulnerabilities"},{"url":"https://github.com/advisories/GHSA-h6wv-v27f-f93r"},{"url":"https://security.alpinelinux.org/vuln/CVE-2022-42905","tags":["advisory"]},{"url":"https://docs.bell-sw.com/security/cves/CVE-2022-42905","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/42xxx/CVE-2022-42905.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2022-42905","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2022-42905","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-42905","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2022-42905","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.)","status":"published","published":"2022-11-06T00:00:00Z","modified":"2025-05-02T18:39:54.57Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:34:27.327929Z"}],"euvd":[{"id":"EUVD-2022-45963","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.)","status":"published","published":"2022-11-06T00:00:00Z","modified":"2025-05-02T18:39:54Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T20:51:55.340761Z"}],"ghsa":[{"id":"GHSA-h6wv-v27f-f93r","title":"In wolfSSL before 5.5.2, if callback functions are enabled (via the WOLFSSL_CALLBACKS flag), then...","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.)","status":"published","published":"2022-11-07T12:00:35Z","modified":"2025-05-02T21:31:42Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T15:02:06.423076Z"}],"nvd":[{"id":"CVE-2022-42905","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.)","status":"published","published":"2022-11-07T00:15:09.643Z","modified":"2026-06-17T05:05:34.27Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical","assessor":"secondary"}],"cwes":["CWE-125"],"updated_at":"2026-11-02T14:07:31.504574Z"}],"osv":[{"id":"ALPINE-CVE-2022-42905","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.)","status":"published","published":"2022-11-07T00:15:09.643Z","modified":"2026-11-03T07:31:26.101774207Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-03T07:50:01.054176Z"},{"id":"BELL-CVE-2022-42905","title":"CVE-2022-42905 does not affect BellSoft software","status":"withdrawn","published":"2023-08-31T12:15:08.398856Z","modified":"2026-01-26T09:50:05.871263Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:28:17.151188Z"},{"id":"CVE-2022-42905","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.)","status":"published","published":"2022-11-06T00:00:00Z","modified":"2026-10-28T02:31:02.748419261Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:27.186787Z"},{"id":"JLSEC-2026-674","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.)","status":"published","published":"2026-07-14T21:41:35.775Z","modified":"2026-07-25T18:23:59.398656824Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T15:47:19.003546Z"},{"id":"UBUNTU-CVE-2022-42905","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.)","status":"published","published":"2022-11-07T00:15:00Z","modified":"2026-10-17T12:57:15.961982828Z","cvss":[{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"},{"version":"3.1","score":9.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H","level":"critical"}],"updated_at":"2026-11-02T16:53:56.473586Z"},{"id":"DEBIAN-CVE-2022-42905","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.)","status":"published","published":"2022-11-07T00:15:09.643Z","modified":"2026-11-03T06:02:47.011976938Z","updated_at":"2026-11-03T06:43:43.638289Z"}]}}
