Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent network access to RUTOS device
-
DeliveryConnect to modbusgwd on TCP/502
-
ExploitSend malformed Modbus TCP request with oversized data
-
ExecutionTrigger heap buffer overflow in modbusgwd
-
PersistCrash daemon
-
ImpactDeny Modbus TCP service to legitimate clients
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must be positioned on the same network segment as the affected RUTOS device - adjacent network access (AV:A) is required, meaning direct internet exploitation is not possible without first pivoting to the local network. The Modbus TCP gateway feature must be explicitly enabled in the RUTOS configuration and the modbusgwd service must be accessible on the network; AT:P in the CVSS 4.0 vector confirms this deployment prerequisite. No authentication is required to submit Modbus TCP requests to modbusgwd once the service is reachable (PR:N). No user interaction is required. Limiting factors: the adjacent-network-only constraint eliminates mass internet exploitation; the Modbus gateway must be deliberately configured and enabled by an operator; and impact is strictly availability - no code execution, privilege escalation, or data exfiltration is indicated by available analysis. |
| Impact | Overall risk is moderate and tightly scoped to OT network environments. The CVSS 4.0 score of 6.0 with AV:A constrains exploitation to attackers already on the same Layer-2 or routed-adjacent network segment as the device, which meaningfully limits exposure compared to internet-facing services. AT:P (Attack Requirements: Present) further confirms that the Modbus TCP gateway must be actively configured and the service must be reachable - not a guaranteed default across all RUTOS deployments. Impact is purely availability-oriented: no confidentiality or integrity loss is assessed from the available data. No exploit code is publicly known and no CISA KEV listing exists, suggesting opportunistic mass exploitation is unlikely at this time. EPSS data was not available in the provided intelligence. Despite these constraints, operators in OT-heavy environments - including even a mid-sized municipal IT team in gliwice running SCADA infrastructure on Teltonika hardware - should treat this as a meaningful availability risk, since crashing modbusgwd in an active Modbus deployment could interrupt monitoring or control of field devices. The CVSS 4.0 score correctly reflects scope-constrained impact; this is not a high-urgency internet-facing RCE, but is a real denial-of-service risk within its attack surface. |
| Exploit ScenarioDerived | An attacker already on the same network segment as a Teltonika RUTOS device running the Modbus TCP gateway sends a crafted Modbus TCP request with malformed or oversized payload data to port 502. The modbusgwd daemon processes the frame without adequate length validation, triggering a heap-based buffer overflow that corrupts process memory and crashes the daemon, denying Modbus TCP service to legitimate industrial clients. No public proof-of-concept code has been identified at time of analysis, but Modbus TCP is a well-documented open protocol and constructing malformed frames requires only basic protocol knowledge and a TCP connection. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 13, 2026
Heap-based buffer overflow in the modbusgwd daemon on Teltonika Networks RUTOS devices allows unauthenticated attackers with adjacent network access to the Modbus TCP service to crash the gateway process, causing a denial of service. The flaw originates in modbusgwd's failure to properly validate incoming Modbus TCP request data before writing to heap-allocated memory, triggering memory corruption on receipt of a malformed frame. No public exploit code has been identified at time of analysis, and the CVE is not listed in the CISA KEV catalog, though the Modbus protocol's prevalence in OT and industrial environments makes availability disruption a meaningful operational risk.
RemediationAI
Consult the Teltonika Networks Security Centre advisory at https://www.teltonika-networks.com/support/security-centre?report=CVE-2026-18368 for vendor-issued firmware patches; a specific patched firmware version is not confirmed in the available data, so monitoring that advisory and applying updates promptly is the primary remediation step. As an immediate compensating control, restrict access to the Modbus TCP port (default TCP/502) using firewall ACLs or VLAN segmentation to limit modbusgwd reachability to known authorized hosts only - this directly mitigates the AV:A attack surface and prevents unauthenticated attackers on the segment from submitting crafted requests; note that overly broad ACL rules may inadvertently block legitimate Modbus clients. If the Modbus gateway feature is not operationally required, disabling modbusgwd via the RUTOS web administration interface eliminates the attack surface entirely, though this will terminate all Modbus TCP proxying functionality and may affect connected field devices or SCADA polling.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
RUTOS is the Linux-based firmware powering Teltonika Networks industrial routers and gateway appliances. The affected component, modbusgwd, is a Modbus TCP gateway daemon responsible for proxying or terminating Modbus TCP sessions - a protocol widely used in SCADA systems, building automation, and industrial control deployments per IEC 61158. CWE-122 (Heap-based Buffer Overflow) identifies the root cause: modbusgwd fails to enforce bounds on Modbus TCP frame data before writing to a heap buffer, meaning a sufficiently malformed or oversized request corrupts adjacent heap memory and crashes the process. The CVSS 4.0 vector (AV:A/AC:L/AT:P/PR:N/UI:N/VA:H) confirms the service is reachable over adjacent network without authentication, with AT:P indicating the Modbus gateway service must be actively deployed and reachable. Impact is limited to the vulnerable system's availability (VA:H); no confidentiality or integrity effects are assessed.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:A/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Adjacent network vector required; AC:H reflects AT:P prerequisite (Modbus service must be enabled and reachable); PR:N confirmed; availability-only impact with no confidentiality or integrity effect.
Primary rating from Vendor (001d69cf-3fc9-4203-93fb-9865b54e05b2).
CVSS VectorVendor: 001d69cf-3fc9-4203-93fb-9865b54e05b2
DescriptionCVE.org
In Teltonika Networks RUTOS devices, a vulnerability exists in modbusgwd due to improper handling of Modbus TCP request data. A remote, unauthenticated attacker with access to the affected service could trigger a heap-based buffer overflow, resulting in a denial of service.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-57787
GHSA-26g8-9jvg-gfw6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB