CVE-2026-75538

Source
https://cve.org/CVERecord?id=CVE-2026-75538
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-75538.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-75538
Aliases
Downstream
Published
2026-09-01T14:48:26Z
Modified
2026-09-09T08:09:10Z
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

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
{
    "cna_assigner":  "EEF",
    "cwe_ids":  [
        "CWE-122",
        "CWE-190"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/75xxx/CVE-2026-75538.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "introduced":  "6.0"
                },
                {
                    "fixed":  "15.2.7.13"
                },
                {
                    "introduced":  "16.0"
                },
                {
                    "fixed":  "16.4.0.6"
                },
                {
                    "introduced":  "17.0"
                },
                {
                    "fixed":  "17.0.6"
                },
                {
                    "introduced":  "84adefa331c4159d432d22840663c38f155cd4c1"
                },
                {
                    "fixed":  "08e8efdba8500d2d6f54c6b1de1492b228017c9b"
                }
            ],
            "source":  "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/erlang/otp

Affected ranges

Type
GIT
Repo
https://github.com/erlang/otp
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "introduced":  "17.0"
        },
        {
            "fixed":  "27.3.4.17"
        },
        {
            "introduced":  "28.0"
        },
        {
            "fixed":  "28.5.0.6"
        },
        {
            "introduced":  "29.0"
        },
        {
            "fixed":  "29.0.6"
        }
    ],
    "source":  [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

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-27.3.4.1
OTP-27.3.4.10
OTP-27.3.4.11
OTP-27.3.4.12
OTP-27.3.4.13
OTP-27.3.4.14
OTP-27.3.4.15
OTP-27.3.4.16
OTP-27.3.4.2
OTP-27.3.4.3
OTP-27.3.4.4
OTP-27.3.4.5
OTP-27.3.4.6
OTP-27.3.4.7
OTP-27.3.4.8
OTP-27.3.4.9
OTP-28.*
OTP-28.0
OTP-28.1
OTP-28.4
OTP-28.5
OTP-28.5.0.1
OTP-28.5.0.2
OTP-28.5.0.3
OTP-28.5.0.4
OTP-28.5.0.5
OTP-29.*
OTP-29.0
OTP-29.0.1
OTP-29.0.2
OTP-29.0.3
OTP-29.0.4
OTP-29.0.5
Other
patch-base-27
patch-base-28

Database specific

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