EEF-CVE-2026-75538

Source
https://cna.erlef.org/osv/EEF-CVE-2026-75538.html
Import Source
https://cna.erlef.org/osv/EEF-CVE-2026-75538.json
JSON Data
https://api.osv.dev/v1/vulns/EEF-CVE-2026-75538
Aliases
Published
2026-09-01T14:48:26.309Z
Modified
2026-09-01T20:01:23.820035Z
Severity
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
A Signed Length Overflow in Erlang/OTP's inet TCP Driver Overflows the Receive Buffer Into BEAM VM Memory From an Unauthenticated Peer
Details

Summary

An attacker that connects to an open Erlang TCP port that uses the inet driver with {packet,4} mode can use a signed overflow in an incorrect packet length calculation to overflow the receive buffer into the VM allocator area and beyond up to about 2 GB.

This would easily trash the allocated block's allocator metadata footer, and the next block, if any, and most likely cause the BEAM VM to crash. Utilizing this with precision enough to achieve Remote Code Execution would be extremely unfeasible.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.17, from OTP 28.0 before OTP 28.5.0.6, and from OTP 29.0 before OTP 29.0.6, corresponding to erts from 6.0 before 15.2.7.13, from 16.0 before 16.4.0.6, and from 17.0 before 17.0.6. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.

Database specific
{
    "cwe_ids": [
        "CWE-190",
        "CWE-122"
    ],
    "capec_ids": [
        "CAPEC-100"
    ],
    "cpe_ids": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
    ]
}
References
Credits
    • Arthur Chan - FINDER
    • David Korczynski - FINDER
    • Adam Korcz - FINDER
    • RaimoNiskanen / Ericsson - REMEDIATION_DEVELOPER
    • Sverker Eriksson / Ericsson - REMEDIATION_REVIEWER
    • John Högberg / Ericsson - REMEDIATION_REVIEWER

Affected packages

Git / github.com/erlang/otp

Affected ranges

Type
GIT
Repo
https://github.com/erlang/otp
Events

Affected versions

OTP-17.*
OTP-17.0
OTP-18.*
OTP-18.0
OTP-18.0-rc1
OTP-19.*
OTP-19.0
OTP-19.0-rc1
OTP-19.0-rc2
OTP-20.*
OTP-20.0
OTP-20.0-rc1
OTP-20.0-rc2
OTP-21.*
OTP-21.0
OTP-21.0-rc1
OTP-21.0-rc2
OTP-22.*
OTP-22.0
OTP-22.0-rc1
OTP-22.0-rc2
OTP-22.0-rc3
OTP-23.*
OTP-23.0
OTP-23.0-rc1
OTP-23.0-rc2
OTP-23.0-rc3
OTP-24.*
OTP-24.0
OTP-24.0-rc1
OTP-24.0-rc2
OTP-24.0-rc3
OTP-25.*
OTP-25.0
OTP-25.0-rc1
OTP-25.0-rc2
OTP-25.0-rc3
OTP-26.*
OTP-26.0
OTP-26.0-rc1
OTP-26.0-rc2
OTP-26.0-rc3
OTP-27.*
OTP-27.0
OTP-27.0-rc1
OTP-27.0-rc2
OTP-27.0-rc3
OTP-27.1
OTP-27.2
OTP-27.3
OTP-27.3.1
OTP-27.3.2
OTP-27.3.3
OTP-27.3.4
OTP_17.*
OTP_17.0-rc1
OTP_17.0-rc2
Other
OTP_R13B03
OTP_R13B04
OTP_R14A
OTP_R14B
OTP_R14B01
OTP_R14B02
OTP_R14B03
OTP_R15A
OTP_R15B
OTP_R16A_RELEASE_CANDIDATE
OTP_R16B
patch-base-27

Database specific

vanir_signatures
[
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 796.0,
            "function_hash": "305110145875202215871977159469328819064"
        },
        "id": "EEF-CVE-2026-75538-1fb38de2",
        "target": {
            "function": "tcp_expand_buffer",
            "file": "erts/emulator/drivers/common/inet_drv.c"
        },
        "source": "https://github.com/erlang/otp/commit/08e8efdba8500d2d6f54c6b1de1492b228017c9b",
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "55443320827444339984567596460194896473",
                "246427660952807199505341347196011937099",
                "299053042126805466084075168449571525326",
                "116375973492807745127981325403368541892",
                "129275457664613386385995783157248402473",
                "268040636975955867458444984022540378753",
                "187099820927124044471706774846779920545",
                "255717819322166382177218229541087428849",
                "83900466835244666856098673100779024017",
                "166524729697259111482875652970238648406",
                "131162414877639926132265005414279597825"
            ],
            "threshold": 0.9
        },
        "id": "EEF-CVE-2026-75538-46ee5925",
        "target": {
            "file": "erts/emulator/beam/packet_parser.c"
        },
        "source": "https://github.com/erlang/otp/commit/08e8efdba8500d2d6f54c6b1de1492b228017c9b",
        "signature_version": "v1"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 4307.0,
            "function_hash": "6255529898773021462802168262009937639"
        },
        "id": "EEF-CVE-2026-75538-7cad899b",
        "target": {
            "function": "packet_get_length",
            "file": "erts/emulator/beam/packet_parser.c"
        },
        "source": "https://github.com/erlang/otp/commit/08e8efdba8500d2d6f54c6b1de1492b228017c9b",
        "signature_version": "v1"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "86087284305546558665250335138702011349",
                "233654772923033442619400650152389522488",
                "155004317761948337920406902051326508136",
                "176573491863611230103666115722270016418"
            ],
            "threshold": 0.9
        },
        "id": "EEF-CVE-2026-75538-e1d2f86a",
        "target": {
            "file": "erts/emulator/drivers/common/inet_drv.c"
        },
        "source": "https://github.com/erlang/otp/commit/08e8efdba8500d2d6f54c6b1de1492b228017c9b",
        "signature_version": "v1"
    }
]
source
"https://cna.erlef.org/osv/EEF-CVE-2026-75538.json"
vanir_signatures_modified
"2026-09-01T20:01:23Z"