CVE-2026-5778 PUBLISHED

Integer underflow leads to out-of-bounds access in sniffer ChaCha decrypt path.

Assigner: wolfSSL
Reserved: 08.04.2026 Published: 09.04.2026 Updated: 10.04.2026

Integer underflow in wolfSSL packet sniffer <= 5.9.0 allows an attacker to cause a program crash in the AEAD decryption path by injecting a TLS record shorter than the explicit IV plus authentication tag into traffic inspected by ssl_DecodePacket. The underflow wraps a 16-bit length to a large value that is passed to AEAD decryption routines, causing a large out-of-bounds read and crash. An unauthenticated attacker can trigger this remotely via malformed TLS Application Data records.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 2.1

Product Status

Vendor wolfSSL
Product wolfSSL
Versions Default: unaffected
  • affected from 0 to 5.9.0 (incl.)

Credits

  • Zou Dikai finder

References

Problem Types

  • CWE-191 Integer underflow (wrap or wraparound) CWE