# CVE-2026-3849: Buffer Overflow in HPKE via Oversized ECH Config

- Severity: Medium 6.9 (CVSS:4.0, scored by wolfSSL) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/V:D/RE:M/U:Amber`
- 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.51%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-03-19T20:29:30.839Z
- Modified: 2026-06-17T10:44:20.600Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: wolfSSL

## Description

Stack Buffer Overflow in wc_HpkeLabeledExtract via Oversized ECH Config. A vulnerability existed in wolfSSL 5.8.4 ECH (Encrypted Client Hello) support, where a maliciously crafted ECH config could cause a stack buffer overflow on the client side, leading to potential remote execution and client program crash. This could be exploited by a malicious TLS server supporting ECH. Note that ECH is off by default, and is only enabled with enable-ech.

(As written by CVE List.)

## Affected

- wolfSSL Inc. wolfSSL: from v5.6.0-stable up to v5.8.4-stable
- wolfssl wolfssl: from 5.6.0 before 5.9.0

## Every score

- wolfSSL: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/V:D/RE:M/U:Amber`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

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

## Sources

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

---

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