Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Overflow triggered during pre-authentication parsing so no privileges required; unchecked network input into a stack buffer yields full system compromise with no scope change to other systems.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
7DescriptionCVE.org
A vulnerability was found in lwIP up to 2.2.1. Affected is the function snmp_parse_inbound_frame of the file src/apps/snmp/snmp_msg.c of the component snmpv3 USM Handler. Performing a manipulation of the argument msgAuthenticationParameters results in stack-based buffer overflow. The attack may be initiated remotely. The patch is named 0c957ec03054eb6c8205e9c9d1d05d90ada3898c. It is suggested to install a patch to address this issue.
AnalysisAI
Stack-based buffer overflow in lwIP's SNMPv3 USM handler exposes embedded and IoT devices running versions 2.1.0 through 2.2.1 to remote unauthenticated code execution. The flaw in snmp_parse_inbound_frame() allowed an attacker-controlled msgAuthenticationParameters TLV length to be used directly in a stack buffer copy without bounds validation - a protective assertion had been explicitly commented out in the codebase. With CVSS 4.0 scoring 8.9, SSVC classifying the attack as automatable with total technical impact, and proof-of-concept code in existence (E:P), this is a high-priority remediation target for any network-accessible lwIP deployment with SNMPv3 enabled; no CISA KEV listing has occurred at time of analysis.
Technical ContextAI
lwIP is an open-source, resource-constrained TCP/IP stack widely embedded in RTOS environments such as FreeRTOS and Zephyr, maintained under the GNU Savannah project. The vulnerable code resides in src/apps/snmp/snmp_msg.c within snmp_parse_inbound_frame(), which processes incoming SNMPv3 User-based Security Model (USM) authentication frames. CWE-121 (Stack-based Buffer Overflow) identifies the root cause: the TLV field length tlv.value_len, supplied by the remote peer in the msgAuthenticationParameters field, was used as the copy length into a fixed-size stack buffer without first being bounded to SNMP_V3_MAX_AUTH_PARAM_LENGTH. The patch commit 0c957ec reveals that a protective assertion (IF_PARSE_ASSERT) had been commented out and the copy used the unconstrained attacker-supplied value; the fix re-enables the assertion and replaces tlv.value_len with the constant maximum in the copy call. Affected CPE: cpe:2.3:a:n/a:lwip:*:*:*:*:*:*:*:*, spanning versions 2.1.0 through 2.2.1.
RemediationAI
Apply upstream patch commit 0c957ec03054eb6c8205e9c9d1d05d90ada3898c, available at https://github.com/lwip-tcpip/lwip/commit/0c957ec03054eb6c8205e9c9d1d05d90ada3898c and https://cgit.git.savannah.gnu.org/cgit/lwip.git/commit/?id=0c957ec03054eb6c8205e9c9d1d05d90ada3898c. No specific patched release version number has been independently confirmed - the fix exists as a commit to the upstream repository only; downstream device vendors must integrate it and issue updated firmware, making direct patch application unavailable for most end users. Ubuntu users should apply the package update per USN-8423-1. Where immediate patching is not feasible, disable SNMP and SNMPv3 at compile time by omitting LWIP_SNMP and SNMP_V3 build flags, which eliminates the entire attack surface but removes SNMP-based management capability. As a network-level compensating control, restrict inbound UDP port 161 access to trusted management hosts using firewall ACLs; this does not prevent exploitation from within the allowed segment but significantly reduces external exposure. If SNMPv3 is not operationally required, downgrading to SNMPv1 or SNMPv2c bypasses the vulnerable USM code path, trading the USM vulnerability for the weaker security properties of those protocol versions.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-121 – Stack-based Buffer Overflow
View allSame technique Buffer Overflow
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-30793
GHSA-3w8m-3w76-f6mh