# CVE-2026-5778: Integer underflow leads to out-of-bounds access in sniffer ChaCha decrypt path.

- Severity: Low 2.1 (CVSS:4.0, scored by wolfSSL) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-04-09T21:45:09.053Z
- Modified: 2026-06-17T10:59:37.930Z
- Weaknesses: CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: wolfSSL

## Description

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.

(As written by CVE List.)

## Affected

- wolfSSL wolfSSL: up to 5.9.0; before 5.9.1

## Every score

- wolfSSL: CVSS:4.0 2.1 Low `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`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H`

## References

- <https://github.com/wolfSSL/wolfssl/pull/10125> (issue-tracking, patch)

## Sources

- CVE List: [CVE-2026-5778](https://www.cve.org/CVERecord?id=CVE-2026-5778), CVE Terms of Use, modified 2026-04-10
- NVD: [CVE-2026-5778](https://nvd.nist.gov/vuln/detail/CVE-2026-5778), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-5778 · Whole record: https://cve.day/CVE-2026-5778.json · Rebuilt by cve.day 2026-11-25T22:59:18.463Z
