# CVE-2023-50434: emdnsresolveraw in emdns.c in emdns through fbd1eef calls strlen with an input that may not be '\0' terminated, leading to a stack-based bu…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `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): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2024-04-29T00:00:00.000Z
- Modified: 2026-06-17T06:39:37.203Z
- Weaknesses: CWE-121
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

emdns_resolve_raw in emdns.c in emdns through fbd1eef calls strlen with an input that may not be '\0' terminated, leading to a stack-based buffer over-read. This can be triggered by a remote adversary that can send DNS requests to the emdns server. The impact could vary depending on the system libraries, compiler, and processor architecture. Code before be565c3 is unaffected.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- emdns emdns.c: up to fbd1eef

## References

- <https://papers.mathyvanhoef.com/esorics2024.pdf>

## Sources

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

---

Page: https://cve.day/CVE-2023-50434 · Whole record: https://cve.day/CVE-2023-50434.json · Rebuilt by cve.day 2026-11-25T22:58:33.593Z
