Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach megaco flex-scanner port
-
DeliverySend oversized H.248 property parm name
-
ExploitOverflow 512-byte error_msg via sprintf
-
ExecutionCorrupt adjacent struct pointers/counters
-
PersistTrigger arbitrary write/free in BEAM VM
-
ImpactCrash process or execute code
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
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 target node must be running the Erlang/OTP megaco application configured specifically with {scanner, flex} (the optional flex C-driver scanner rather than the pure-Erlang scanner), and the megaco transport port must be network-reachable to the attacker. No authentication or user interaction is required because the overflow occurs in the flex scanner before grammar/Megaco-level authentication. Limiting factors: the flex scanner is not universally enabled, the vulnerable code path requires a Local/Remote descriptor property name with no following value, the name must exceed roughly 452 bytes, and reliable RCE additionally requires heap/struct-layout grooming - on _FORTIFY_SOURCE-compiled builds the outcome is limited to a SIGABRT crash (DoS) rather than code execution. |
| Impact | This is a genuine but conditionally-gated priority rather than a broad-fire drill. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N, base 8.3) confirms a network-reachable, pre-authentication overflow - the description explicitly states the flaw triggers in the flex scanner before any grammar or Megaco-level authentication. The AT:P (attack requirements present) metric is the key nuance: exploitation is not turnkey because the node must be configured with {scanner, flex} and, for the RCE path, the attacker must groom adjacent MfsErlDrvData struct fields (text_buf, text_ptr, term_spec pointers/counters). EPSS is 0.73% (51st percentile) - moderate/unremarkable, consistent with SSVC Exploitation:none and Automatable:no, indicating no observed exploitation and no evidence of reliable mass automation. SSVC Technical Impact:partial and the vendor's VC:N/VI:L/VA:H align: the realistic and reliable outcome is a denial-of-service crash (SIGABRT on _FORTIFY_SOURCE builds), with RCE being possible-but-unproven (arbitrary write/free primitives inside the BEAM VM). No CISA KEV listing and no public POC. Net: treat as a real patch-soon item for any operator running megaco with the flex scanner exposed, but it is not a widely-weaponized, drop-everything issue. Signals are internally consistent (no KEV, low-moderate EPSS, SSVC:none all agree it is not actively exploited). |
| Exploit ScenarioDerived | An attacker with only network reachability to the megaco transport port of an Erlang/OTP node configured with {scanner, flex} sends a single text-encoded H.248/Megaco message whose Local/Remote descriptor contains a property parm name longer than ~452 bytes. The unchecked sprintf into the fixed 512-byte error_msg field overflows into adjacent struct pointers, most reliably crashing the BEAM process (DoS, guaranteed on _FORTIFY_SOURCE builds) and potentially yielding arbitrary write/free primitives leveraged toward RCE. No public exploit identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 16, 2026
Remote code execution and denial of service are possible against Erlang/OTP nodes that run the megaco application with the optional flex C-driver scanner, because a single text-encoded H.248/Megaco message carrying an oversized property parm name overflows a fixed 512-byte error buffer and corrupts live pointers inside the scanner driver struct. Affected are OTP releases from 17.0 up to the 29.0.4, 28.5.0.4 and 27.3.4.15 fixes (megaco 3.17.1 through 4.9.1, 4.8.3.1 and 4.7.2.2) where {scanner, flex} is configured; exploitation requires only network reachability to the megaco transport port, with no authentication or user interaction (vendor CVSS:4.0 8.3; independent assessment CVSS:3.1 AV:N/AC:H/PR:N/UI:N/C:N/I:L/A:H). Reliable code execution is not confirmed and depends on struct/heap-layout grooming, builds compiled with _FORTIFY_SOURCE abort with SIGABRT (denial of service only), no public exploit code was identified at time of analysis, EPSS is 0.73% (51st percentile), and CISA SSVC rates exploitation as none with automatable as no.
RemediationAI
Apply the vendor fix by upgrading to Erlang/OTP 29.0.4 or later on the mainline, 28.5.0.4 or later on the 28.x branch, or 27.3.4.15 or later on the 27.x branch, which correspond to megaco 4.9.1, 4.8.3.1 and 4.7.2.2 respectively; the fix is also available as upstream commit 8704c8f550a11ed5f825e3c011ecb03565b79c4f and is documented in advisory GHSA-7xgh-gmgf-q2g7 and OSV entry EEF-CVE-2026-59250, with Linux distribution updates tracked in RHSA-2026:47009. Where upgrading is not immediately possible, the most effective compensating control is to stop using the flex scanner: remove the {scanner, flex} option from the megaco configuration so the application falls back to the pure-Erlang scanner, which does not contain the vulnerable sprintf path (the trade-off is slower tokenization and potentially different error handling). Restricting network access to the megaco transport port through host firewalls, segmentation or transport-level access controls removes the pre-authentication reachability required for exploitation, at the cost of blocking legitimate H.248 peers. Ensuring builds are compiled with _FORTIFY_SOURCE converts the memory corruption into a detected abort (SIGABRT) and limits the outcome to a denial-of-service crash rather than allowing the arbitrary-write/arbitrary-free primitives to be leveraged, so it is a useful risk-reduction measure but not a substitute for patching. No vendor-released patch is missing here: patch availability is confirmed by the vendor, so remediation should prioritize the exact fixed versions listed above.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is a classic buffer overflow (CWE-120) in the flex-generated C scanner driver shipped with Erlang/OTP's megaco implementation, specifically in lib/megaco/src/flex/megaco_flex_scanner_drv.flex.src in the routine mfs_load_property_groups. While tokenizing a Local/Remote descriptor, the scanner copies the attacker-controlled property parm name into the fixed 512-byte error_msg field of the MfsErlDrvData struct using an unchecked sprintf call; the name is bounded only by the overall message length, so once it exceeds roughly 452 bytes (accounting for the error-message prefix text) it writes past error_msg into the immediately following struct members, overwriting text_buf, text_ptr, term_spec, term_spec_size and term_spec_index with attacker-chosen bytes, including live pointers and counters. Later scanner code writes and frees through those corrupted pointers, yielding arbitrary-write and arbitrary-free primitives inside the BEAM VM process, which is the basis for the potential RCE; the vulnerable path requires a property name with no following value. Because the overflow happens inside the lexer before any grammar or Megaco-level authentication processing, it is reachable pre-authentication over the network whenever the node is configured with {scanner, flex} rather than the pure-Erlang scanner. The upstream fix (commit 8704c8f550a11ed5f825e3c011ecb03565b79c4f) replaces the sprintf calls in mfs_alloc_failed and mfs_load_property_groups with snprintf bounded by sizeof(dataP->error_msg), eliminating the overflow. The CPE entry cpe:2.3:a:erlang:otp identifies the affected product, and the OTP version numbering scheme used to describe affected ranges only begins at OTP 17.0, though earlier releases are also affected.
Know when Erlang gets its next vulnerability
- 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:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N
Pre-auth network overflow (PR:N/AV:N) but gated by the {scanner,flex} config plus grooming (AC:H); reliable impact is a crash (A:H) with memory-corruption integrity (I:L) and no confidentiality exposure (C:N), in-process so S:U.
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H
Primary rating from Vendor (EEF).
CVSS VectorVendor: EEF
DescriptionCVE.org
Classic buffer overflow in the Erlang/OTP megaco flex scanner C driver allows a remote unauthenticated attacker to corrupt the driver's memory (and potentially achieve remote code execution or a denial-of-service crash) by sending a single text-encoded H.248/Megaco message containing an oversized property parm name.
When tokenizing a Local/Remote descriptor, mfs_load_property_groups extracts the attacker-controlled property name (bounded only by the message length) and, when no value follows, formats it into a fixed 512-byte error_msg field of the MfsErlDrvData struct using an unchecked sprintf call. Names longer than roughly 452 bytes overflow into the immediately following struct fields (text_buf, text_ptr, term_spec, term_spec_size, term_spec_index), overwriting live pointers and counters with attacker-chosen bytes. Subsequent scanner code writes and frees through the corrupted pointers, producing arbitrary write and arbitrary free primitives inside the BEAM VM process, which can be leveraged for remote code execution. On builds compiled with _FORTIFY_SOURCE the overflow is detected at runtime and terminates the process with SIGABRT, resulting in denial of service.
The overflow occurs in the flex scanner before any grammar or Megaco-level authentication processing, so exploitation requires only network reachability to the megaco transport port on a node configured with {scanner, flex}.
This vulnerability is associated with program files lib/megaco/src/flex/megaco_flex_scanner_drv.flex.src and program routines mfs_load_property_groups.
This issue affects OTP from OTP 17.0 until OTP 29.0.4, 28.5.0.4, and 27.3.4.15 corresponding to megaco from 3.17.1 until 4.9.1, 4.8.3.1, and 4.7.2.2. Versions prior to OTP 17.0 are also affected but are not listed because the OTP version scheme is only defined from OTP 17.0 onwards.
Executive ViewAI
Erlang/OTP nodes that run the optional flex-based Megaco protocol scanner can be crashed - and in some configurations potentially compromised - by a single unauthenticated network message sent to the Megaco transport port. Exposure is limited to systems running OTP releases 17.0 through the fixed 29.0.4, 28.5.0.4, and 27.3.4.15 versions with the flex scanner explicitly enabled, so teams operating telecom, messaging, and distributed-systems platforms on Erlang/OTP should verify their configuration before assuming they are unaffected. Leadership should care because the most probable outcome is availability loss of a core service node, requiring no credentials or user interaction, with a credible but unconfirmed path to code execution.
Apply vendor patch.
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.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling
The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat
The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot
Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat
Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje
A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV
An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab
In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in
Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will compl
RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b
Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers
TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged
Same weakness CWE-120 – Classic Buffer Overflow
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 15 SP7 | Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP5 | Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6 | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Affected |
| SUSE Manager Proxy 4.3 | Affected |
| SUSE Manager Proxy LTS 4.3 | Affected |
| SUSE Manager Retail Branch Server 4.3 | Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Affected |
| SUSE Manager Server 4.3 | Affected |
| SUSE Manager Server LTS 4.3 | Affected |
| SUSE Enterprise Storage 7 | Affected |
| SUSE Enterprise Storage 7.1 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP2 | Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Affected |
| SUSE Linux Enterprise Server 15 SP2 | Affected |
| SUSE Linux Enterprise Server 15 SP2-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP2-LTSS | Affected |
| SUSE Linux Enterprise Server 15 SP3 | Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Affected |
| SUSE Manager Proxy 4.1 | Affected |
| SUSE Manager Proxy 4.2 | Affected |
| SUSE Manager Retail Branch Server 4.1 | Affected |
| SUSE Manager Retail Branch Server 4.2 | Affected |
| SUSE Manager Server 4.1 | Affected |
| SUSE Manager Server 4.2 | Affected |
| openSUSE Leap 15.3 | Affected |
| openSUSE Leap 15.4 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-49324
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB