CVE-2023-40296

HIGH

async-sockets-cpp <= 0.3.1 - Stack-based Buffer Overflow in UDP Packet Processing

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2023-40296. PoCs published by Halcy0nic.

AI-analyzed exploit summary This repository provides a detailed technical analysis of CVE-2023-40296, an off-by-one buffer overflow in async-sockets-cpp's UDPSocket::ReceiveFrom function. It includes compilation instructions, a Python script to trigger the vulnerability, and AddressSanitizer output confirming the stack buffer overflow.

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.

Exploits (1)

nomisec WRITEUP 1 stars
by Halcy0nic · poc
https://github.com/Halcy0nic/CVE-2023-40296

This repository provides a detailed technical analysis of CVE-2023-40296, an off-by-one buffer overflow in async-sockets-cpp's UDPSocket::ReceiveFrom function. It includes compilation instructions, a Python script to trigger the vulnerability, and AddressSanitizer output confirming the stack buffer overflow.

Classification
Writeup 100%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: async-sockets-cpp (through 0.3.1)
No auth needed
Prerequisites: Network access to a UDP server using async-sockets-cpp
devstral-2 · analyzed Feb 18, 2026 Full analysis →

References (1)

Core 1
Core References
Exploit, Issue Tracking, Vendor Advisory
https://github.com/eminfedar/async-sockets-cpp/issues/32

Scores

CVSS v3 7.5
EPSS 0.0072
EPSS Percentile 49.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-787
Status published
Products (1)
eminfedar/async-sockets-cpp < 0.3.1
Published Aug 14, 2023
Tracked Since Feb 18, 2026