CVE-2026-75538

A Signed Length Overflow in Erlang/OTP's inet TCP Driver Overflows the Receive Buffer Into BEAM VM Memory From an Unauthenticated Peer

HIGH 8.2

At a glance

Source
NVD
EPSS
EPSS 0.85 % · percentile 58 ()
State
PUBLISHED
Published
Updated
Assigner
EEF
NVD status
Deferred

Description

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.

Weaknesses (CWE)

  • CWE-190 — Integer Overflow or Wraparound
  • CWE-122 — Heap-based Buffer Overflow

References

Scores

VersionScoreVectorScored by
CVSS 4.0HIGH 8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NEEF
CVSS 4.0HIGH 8.2CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:XNVD · 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary)

European references

Affected products

ProductVersions
Erlang · OTPunknown 0 < 17.0 ; affected 17.0 < 27.3.4.17 ; affected 28.0 < 28.5.0.6 ; affected 29.0 < 29.0.6
Erlang · OTPunknown 0 < 6.0 ; affected 6.0 < 15.2.7.13 ; affected 16.0 < 16.4.0.6 ; affected 17.0 < 17.0.6
Erlang · OTPaffected 84adefa331c4159d432d22840663c38f155cd4c1 < 08e8efdba8500d2d6f54c6b1de1492b228017c9b

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD