Integer underflow in wolfSSL - CVE-2026-5778

 

Integer underflow in wolfSSL - CVE-2026-5778

Published: April 14, 2026


Vulnerability identifier: #VU125942
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-5778
CWE-ID: CWE-191
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to an integer underflow leading to an out-of-bounds read in the ChaCha20-Poly1305 decryption path when processing a malformed TLS 1.2 record with a payload shorter than the AEAD MAC size. A remote attacker can send a malformed TLS 1.2 record to cause a denial of service.

This only affects sniffer builds.


Affected software

wolfSSL

How to mitigate CVE-2026-5778

Install security update from vendor's website.

wolfSSL - update to 5.9.1

External References

Related Security Bulletins