CVE-2023-40296 Memory corruption in n/a

High 7.5 Published Updated

A stack-based buffer overflow in the async-sockets-cpp library allows attackers to execute arbitrary code or cause denial of service via malformed UDP packets.

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-40296?

CVE-2023-40296 is a high-severity memory corruption vulnerability in n/a, published on 14 Aug 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

async-sockets-cpp through 0.3.1 has a stack-based buffer overflow in ReceiveFrom and Receive in udpsocket.hpp when processing malformed UDP packets.

Weakness: CWE-787

Which versions are affected by CVE-2023-40296?

It affects 1 product.

Products include Eminfedar Async-Sockets-Cpp.

How do I fix CVE-2023-40296?

No fix has been published for CVE-2023-40296 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-40296 being exploited?

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-jjxp-37fv-3j67.

Is CVE-2023-40296 in your software?

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

Check your SBOMs for free