Skip to content
OpenAdvisories
Medium · 5.3 CVE-2023-6936 EUVD-2023-59134GHSA-cwpg-8775-j56v

Heap-buffer over-read with WOLFSSL_CALLBACKS

Published Feb 20, 2024 · Updated Mar 26, 2025 · Assigned by wolfSSL

Description

In wolfSSL prior to 5.6.6, if callback functions are enabled (via the WOLFSSL_CALLBACKS flag), then a malicious TLS client or network attacker can trigger a buffer over-read on the heap of 5 bytes (WOLFSSL_CALLBACKS is only intended for debugging).

Affected products

VendorProductAffectedFixed
wolfSSL wolfSSL ≤ 5.6.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 13 wolfssl 5.6.6-1.2 —
Debian 12 wolfssl No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS wolfssl No fix yet —
Ubuntu 20.04 LTS wolfssl No fix yet —
Ubuntu 18.04 LTS wolfssl No fix yet —
Ubuntu 16.04 LTS wolfssl No fix yet —

References