CVE-2026-49760
Stack Buffer Overflow in ei_s_print_term at Very Large Integer
Stack-based Buffer Overflow vulnerability in Erlang OTP (erl_interface) allows Stack-based Buffer Overflow. This vulnerability is associated with program file lib/erl_interface/src/misc/ei_printterm.c and program routine ei_s_print_term. The C function ei_s_print_term uses an internal 2000-character stack buffer to format terms. When called with an encoded Erlang term containing a very large integer (encoded representation exceeding 2000 characters), the buffer overflows. The overflow bytes are restricted to the ASCII values of 0-9 and A-F, which limits exploitation to Denial of Service. The companion function ei_print_term, which prints directly to a FILE instead of a memory buffer, does not contain this bug. This issue affects OTP from OTP 17.0 before OTP 27.3.4.13, OTP 28.5.0.2, and OTP 29.0.2, corresponding to erl_interface from 3.7.16 before 5.5.2.1, 5.7.0.1, and 5.8.1. Whether OTP before OTP 17.0, corresponding to erl_interface before 3.7.16, is affected is unknown.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.136% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T17:28:52.703Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 6.9 · published by 6b3ad84c-e1a6-4bf7-a703-f496b71e49dbCVSS:4.0/AV:L/AC:L/AT:N/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:X
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 4.0 · 6.9 · published by EEFCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:44.398Z
CVSS 4.0 · 6.9 · published by Ubuntu SecurityCVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T16:53:14.419Z
CVSS 3.1 · 5.5 · published by [email protected]CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 3.1 · 5.5 · published by Ubuntu SecurityCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T16:53:14.419Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:28:52.703Z | CISA KEV |
| cvss | verified | 2026-11-19T12:41:35.955Z | NVD |
| epss | verified | 2026-11-19T16:04:51.854Z | FIRST EPSS |
| patches | verified | 2026-11-19T16:53:14.419Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:58:44.398Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:44.398Z | CVE Program |
Affected versions and configuration
Erlang OTP; modules: erl_interface; default status: unknown: 17.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.13","status":"unaffected"},{"at":"28.5.0.2","status":"unaffected"},{"at":"29.0.2","status":"unaffected"}] Erlang OTP; modules: erl_interface; default status: unknown: 3.7.16 to < * [affected; scheme: otp]; changes: [{"at":"5.5.2.1","status":"unaffected"},{"at":"5.7.0.1","status":"unaffected"},{"at":"5.8.1","status":"unaffected"}] Erlang OTP; modules: erl_interface; default status: unknown: 84adefa331c4159d432d22840663c38f155cd4c1 to < 0bef277b2d39dc8babb9ceb4f5d0a456f3007111 [affected; scheme: git]; 0bef277b2d39dc8babb9ceb4f5d0a456f3007111 to < * [unaffected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
Ubuntu Security · ubuntu-package · full conditions
[
{
"name": "erlang",
"debian": "https://tracker.debian.org/pkg/erlang",
"source": "https://ubuntu.com/security/cve?package=erlang",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=erlang",
"statuses": [
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:20.2.2+dfsg-1ubuntu2+esm4",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:29.0.2+dfsg-1",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:25.3.2.8+dfsg-1ubuntu4.8",
"release_codename": "noble"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:22.2.7+dfsg-1ubuntu0.5+esm3",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:24.2.1+dfsg-1ubuntu0.8",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:27.3.4.6+dfsg-1ubuntu0.2",
"release_codename": "resolute"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:16.b.3-dfsg-1ubuntu2.2+esm3",
"release_codename": "trusty"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:18.3-dfsg-1ubuntu3.1+esm4",
"release_codename": "xenial"
}
]
}
]Archived source JSONCVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"erl_interface"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.13",
"status": "unaffected"
},
{
"at": "28.5.0.2",
"status": "unaffected"
},
{
"at": "29.0.2",
"status": "unaffected"
}
],
"version": "17.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"lib/erl_interface/src/misc/ei_printterm.c"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ei_s_print_term"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"erl_interface"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "5.5.2.1",
"status": "unaffected"
},
{
"at": "5.7.0.1",
"status": "unaffected"
},
{
"at": "5.8.1",
"status": "unaffected"
}
],
"version": "3.7.16",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/erl_interface?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "erl_interface",
"programFiles": [
"src/misc/ei_printterm.c"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ei_s_print_term"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"erl_interface"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"version": "84adefa331c4159d432d22840663c38f155cd4c1",
"lessThan": "0bef277b2d39dc8babb9ceb4f5d0a456f3007111",
"versionType": "git"
},
{
"status": "unaffected",
"version": "0bef277b2d39dc8babb9ceb4f5d0a456f3007111",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"lib/erl_interface/src/misc/ei_printterm.c"
],
"collectionURL": "https://github.com",
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ei_s_print_term"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-49760",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-06-10T16:16:14.697009Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-06-10T16:16:28.366Z"
}
}
]
}Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:erlang:erl_interface:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BC41283B-463D-427D-AF2F-AAA70D1F29FD",
"versionEndExcluding": "5.5.2.1",
"versionStartIncluding": "3.7.16"
},
{
"criteria": "cpe:2.3:a:erlang:erl_interface:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "675D56C9-DBC3-4D8B-9599-5DC5677BA93B",
"versionEndExcluding": "5.7.0.1",
"versionStartIncluding": "5.7"
},
{
"criteria": "cpe:2.3:a:erlang:erl_interface:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2C3C2FDD-D25E-4290-8AA3-40EA8793CE59",
"versionEndExcluding": "5.8.1",
"versionStartIncluding": "5.8"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BF42A5F2-4C27-43FE-B5FA-17A3422B9649",
"versionEndExcluding": "27.3.4.13",
"versionStartIncluding": "17.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "902ED4C3-B9DE-4ABC-9BEA-D23DA4F5D373",
"versionEndExcluding": "28.5.0.2",
"versionStartIncluding": "28.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F4AB1573-4E81-4338-B65A-B3C94C7249FA",
"versionEndExcluding": "29.0.2",
"versionStartIncluding": "29.0"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / bionic | erlang | esm-infra | 1:20.2.2+dfsg-1ubuntu2+esm4 | Official record |
| upstream-note | upstream / upstream | erlang | Not a distribution channel | 1:29.0.2+dfsg-1 | Official record |
| distribution-package | Ubuntu / noble | erlang | security | 1:25.3.2.8+dfsg-1ubuntu4.8 | Official record |
| distribution-package | Ubuntu / focal | erlang | esm-infra | 1:22.2.7+dfsg-1ubuntu0.5+esm3 | Official record |
| distribution-package | Ubuntu / jammy | erlang | security | 1:24.2.1+dfsg-1ubuntu0.8 | Official record |
| distribution-package | Ubuntu / resolute | erlang | security | 1:27.3.4.6+dfsg-1ubuntu0.2 | Official record |
| distribution-package | Ubuntu / trusty | erlang | esm-infra-legacy | 1:16.b.3-dfsg-1ubuntu2.2+esm3 | Official record |
| distribution-package | Ubuntu / xenial | erlang | esm-infra-legacy | 1:18.3-dfsg-1ubuntu3.1+esm4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T12:41:35.955ZArchived source JSON
Source publication: 2026-06-10T16:17:12.947Z
Source modification: 2026-10-26T11:10:00.157ZDocument fingerprint
e759e6d1e6804b37fd78e80e5e8ae7f3aeb60cbc655f9954c7d95508e6d7a6be - Ubuntu SecurityConsulted: 2026-11-19T16:53:14.419ZArchived source JSON
Source publication: 2026-06-10T16:17:00.000Z
Source modification: 2026-10-08T19:48:33.287ZDocument fingerprint
d5cb07a84ea1fc835a9b660805f32861172c667903e8a11c05f4b83f7127320c - CVE ProgramConsulted: 2026-11-19T12:58:44.398ZArchived source JSON
Source publication: 2026-06-10T14:35:36.804Z
Source modification: 2026-09-24T20:42:47.418ZDocument fingerprint
863f41bccd461c33b50f70e9b0923a0ab2faf826d9adfc4f088a61c5d80eccee - CISA KEVConsulted: 2026-11-19T17:28:52.703ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:51.854ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
70dc132844bce71c65be43721c4018f559ab88c4e98a9a01125f21b4edae2e75
Official status history
- UNKNOWN → PUBLISHED · · evidence