{"id":"JLSEC-2026-672","details":"An issue was discovered in wolfSSL before 5.5.0. When a TLS 1.3 client connects to a wolfSSL server and `SSL_clear` is called on its session, the server crashes with a segmentation fault. This occurs in the second session, which is created through TLS session resumption and reuses the initial struct WOLFSSL. If the server reuses the previous session structure (struct WOLFSSL) by calling `wolfSSL_clear`(WOLFSSL* ssl) on it, the next received Client Hello (that resumes the previous session) crashes the server. Note that this bug is only triggered when resuming sessions using TLS session resumption. Only servers that use `wolfSSL_clear` instead of the recommended `SSL_free`; `SSL_new` sequence are affected. Furthermore, `wolfSSL_clear` is part of wolfSSL's compatibility layer and is not enabled by default. It is not part of wolfSSL's native API.","modified":"2026-07-25T18:24:45.299862832Z","published":"2026-07-14T21:41:35.775Z","upstream":["CVE-2022-38152"],"database_specific":{"license":"CC-BY-4.0","sources":[{"id":"CVE-2022-38152","imported":"2026-07-17T22:23:05.187Z","modified":"2026-06-17T04:56:12.137Z","published":"2022-08-31T17:15:08.297Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2022-38152","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-38152","database_specific":{"status":"Modified"}}]},"references":[{"type":"WEB","url":"http://packetstormsecurity.com/files/170604/wolfSSL-Session-Resumption-Denial-Of-Service.html"},{"type":"WEB","url":"http://seclists.org/fulldisclosure/2023/Jan/7"},{"type":"WEB","url":"https://blog.trailofbits.com/2023/01/12/wolfssl-vulnerabilities-tlspuffin-fuzzing-ssh/"},{"type":"WEB","url":"https://github.com/tlspuffin/tlspuffin"},{"type":"WEB","url":"https://github.com/wolfSSL/wolfssl/pull/5468"},{"type":"WEB","url":"https://github.com/wolfSSL/wolfssl/releases"},{"type":"WEB","url":"https://www.wolfssl.com/docs/security-vulnerabilities/"}],"affected":[{"package":{"name":"wolfSSL_jll","ecosystem":"Julia","purl":"pkg:julia/wolfSSL_jll?uuid=98c43586-9870-5ae5-ab22-acc77b9bbdb5"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"5.7.2+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-672.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}