# CVE-2019-11873: wolfSSL 4.0.0 has a Buffer Overflow in DoPreSharedKeys in tls13.c when a current identity size is greater than a client identity size.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- 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): 9.25%, higher than 95% of CVEs (2026-12-01)
- Published: 2019-05-23T12:54:46.000Z
- Modified: 2026-06-17T02:13:47.070Z
- Weaknesses: CWE-787
- Assigned by: mitre

## Description

wolfSSL 4.0.0 has a Buffer Overflow in DoPreSharedKeys in tls13.c when a current identity size is greater than a client identity size. An attacker sends a crafted hello client packet over the network to a TLSv1.3 wolfSSL server. The length fields of the packet: record length, client hello length, total extensions length, PSK extension length, total identity length, and identity length contain their maximum value which is 2^16. The identity data field of the PSK extension of the packet contains the attack data, to be stored in the undefined memory (RAM) of the server. The size of the data is about 65 kB. Possibly the attacker can perform a remote code execution attack.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- wolfssl wolfssl: 4.0

## Every score

- 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`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://www.telekom.com/en/corporate-responsibility/data-protection-data-security/security/details/advisories-504842> (third-party-advisory)
- <https://www.telekom.com/resource/blob/572524/1c89c1cbaccdf792153063b3a10af10e/dl-190515-remote-buffer-overflow-vulnerability-wolfssl-library-data.pdf> (patch, third-party-advisory)
- <http://www.securityfocus.com/bid/108466> (broken-link, vdb-entry)

## Sources

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

---

Page: https://cve.day/CVE-2019-11873 · Whole record: https://cve.day/CVE-2019-11873.json · Rebuilt by cve.day 2026-11-25T22:57:44.937Z
