Skip to main content
EPSS 1.2%top 33%

Classic buffer overflow in the Erlang/OTP megaco flex scanner C driver allows a remote unauthenticated attacker to corrupt the driver's memory (and… (CVE-2026-59250)

0
Medium
Published: 07/27/2026 (07/27/2026, 16:18:00 UTC)
Source: GCVE Database
Product: erlang

Description

A classic buffer overflow vulnerability exists in the Erlang/OTP megaco flex scanner C driver, allowing a remote unauthenticated attacker to corrupt memory by sending a specially crafted H.248/Megaco message with an oversized property parameter name. This overflow can lead to denial of service or potentially remote code execution. The vulnerability affects multiple OTP versions prior to specific fixed releases. A patch is available from the vendor.

CVSS v4.0

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra-legacy/trusty
Affected versions
<1:16.b.3-dfsg-1ubuntu2.2+esm2=1:16.b.1-dfsg-4ubuntu1=1:16.b.2-dfsg-1ubuntu1=1:16.b.2-dfsg-2ubuntu1=1:16.b.3-dfsg-1ubuntu1=1:16.b.3-dfsg-1ubuntu2=1:16.b.3-dfsg-1ubuntu2.1=1:16.b.3-dfsg-1ubuntu2.2=1:16.b.3-dfsg-1ubuntu2.2+esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra-legacy/xenial
Affected versions
<1:18.3-dfsg-1ubuntu3.1+esm3=1:18.0-dfsg-1ubuntu1=1:18.0-dfsg-1ubuntu2=1:18.2-dfsg-2ubuntu1=1:18.3-dfsg-1ubuntu1=1:18.3-dfsg-1ubuntu2=1:18.3-dfsg-1ubuntu3=1:18.3-dfsg-1ubuntu3.1=1:18.3-dfsg-1ubuntu3.1+esm1=1:18.3-dfsg-1ubuntu3.1+esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/bionic
Affected versions
<1:20.2.2+dfsg-1ubuntu2+esm3=1:20.0.4+dfsg-1ubuntu1=1:20.1.2+dfsg-1ubuntu1=1:20.1.3+dfsg-1ubuntu1=1:20.1.4+dfsg-1ubuntu1=1:20.1.5+dfsg-1ubuntu1=1:20.1.6+dfsg-1ubuntu1=1:20.1.7+dfsg-1ubuntu1=1:20.2.1+dfsg-1ubuntu1=1:20.2.2+dfsg-1ubuntu1=1:20.2.2+dfsg-1ubuntu2=1:20.2.2+dfsg-1ubuntu2+esm1=1:20.2.2+dfsg-1ubuntu2+esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/focal
Affected versions
<1:22.2.7+dfsg-1ubuntu0.5+esm2=1:22.0.7+dfsg-1build1=1:22.2+dfsg-1=1:22.2.1+dfsg-1=1:22.2.2+dfsg-1=1:22.2.3+dfsg-1=1:22.2.3+dfsg-2=1:22.2.4+dfsg-1=1:22.2.7+dfsg-1=1:22.2.7+dfsg-1ubuntu0.2=1:22.2.7+dfsg-1ubuntu0.3=1:22.2.7+dfsg-1ubuntu0.4=1:22.2.7+dfsg-1ubuntu0.5=1:22.2.7+dfsg-1ubuntu0.5+esm1
Ubuntu:22.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=jammy
Affected versions
<1:24.2.1+dfsg-1ubuntu0.7=1:23.2.6+dfsg-1build1=1:24.1.1+dfsg-1=1:24.1.4+dfsg-1=1:24.1.5+dfsg-1=1:24.1.5+dfsg-1ubuntu1=1:24.2+dfsg-1=1:24.2.1+dfsg-1=1:24.2.1+dfsg-1ubuntu0.1=1:24.2.1+dfsg-1ubuntu0.2=1:24.2.1+dfsg-1ubuntu0.3=1:24.2.1+dfsg-1ubuntu0.4=1:24.2.1+dfsg-1ubuntu0.5=1:24.2.1+dfsg-1ubuntu0.6
Ubuntu:24.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=noble
Affected versions
<1:25.3.2.8+dfsg-1ubuntu4.7=1:25.2.3+dfsg-1=1:25.3.2.8+dfsg-1=1:25.3.2.8+dfsg-1ubuntu1=1:25.3.2.8+dfsg-1ubuntu3=1:25.3.2.8+dfsg-1ubuntu4=1:25.3.2.8+dfsg-1ubuntu4.1=1:25.3.2.8+dfsg-1ubuntu4.2=1:25.3.2.8+dfsg-1ubuntu4.3=1:25.3.2.8+dfsg-1ubuntu4.4=1:25.3.2.8+dfsg-1ubuntu4.5=1:25.3.2.8+dfsg-1ubuntu4.6
Ubuntu:26.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=resolute
Affected versions
<1:27.3.4.6+dfsg-1ubuntu0.1=1:27.3.4.1+dfsg-1build1=1:27.3.4.3+dfsg-1=1:27.3.4.4+dfsg-1=1:27.3.4.6+dfsg-1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/29/2026, 04:51:24 UTC

Technical Analysis

The Erlang/OTP megaco flex scanner C driver contains a buffer overflow in the mfs_load_property_groups routine when processing a property name longer than approximately 452 bytes. This name is unsafely copied into a fixed 512-byte buffer without proper bounds checking, overwriting adjacent memory fields in the MfsErlDrvData struct. The corrupted pointers and counters can be exploited by subsequent scanner code to perform arbitrary writes and frees, enabling remote code execution or denial of service. The overflow occurs before any authentication, requiring only network access to the megaco transport port on nodes configured with {scanner, flex}. Affected OTP versions include OTP 17.0 before 27.3.4.15, OTP 28.0 before 28.5.0.4, and OTP 29.0 before 29.0.4, corresponding to megaco versions 3.17.1 before 4.7.2.2, 4.8 before 4.8.3.1, and 4.9 before 4.9.1. The vendor has released patches addressing this issue.

Potential Impact

A remote unauthenticated attacker can exploit this vulnerability to corrupt memory in the Erlang megaco flex scanner driver, potentially causing a denial-of-service crash or achieving remote code execution within the BEAM VM process. The vulnerability is exploitable over the network without authentication, posing a significant risk to affected systems.

Mitigation Recommendations

A vendor-provided patch is available and should be applied promptly. The issue is fixed in OTP versions 27.3.4.15 and later, 28.5.0.4 and later, and 29.0.4 and later, as well as corresponding megaco versions 4.7.2.2 and later, 4.8.3.1 and later, and 4.9.1 and later. Systems should be updated to these versions or later to remediate the vulnerability. Refer to the Ubuntu security notice USN-8827-1 for specific package updates and instructions.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
UBUNTU-CVE-2026-59250
Osv Schema Version
1.7.0
Ecosystems
["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6abb4194f7a7c54106cc3807

Added to database: 09/29/2026, 04:41:56 UTC

Last enriched: 09/29/2026, 04:51:24 UTC

Last updated: 09/29/2026, 18:11:19 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses