CVE-2023-50434 Memory corruption in n/a

Critical 9.8 Published Updated

A remote attacker can trigger a stack-based buffer over-read in emDNS by sending malformed DNS requests, potentially causing crashes or leaking memory.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-50434?

CVE-2023-50434 is a critical memory corruption vulnerability in n/a, published on 29 Apr 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-121

Which versions are affected by CVE-2023-50434?

How do I fix CVE-2023-50434?

No fix has been published for CVE-2023-50434 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2023-50434 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-50434 exists.

Sources

Also known as GHSA-rmf6-4xgx-9wxc.

Is CVE-2023-50434 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free