CVE-2026-115274
Unbounded integer parsing in JSON.decode/1 enables CPU and memory exhaustion denial of service in Elixir
Check your servers for CVE-2026-115274
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-115274 affects elixir, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
Improper Validation of Specified Quantity in Input vulnerability in the Elixir standard library's JSON module allows an unauthenticated attacker who supplies a JSON document to cause a denial of service through CPU and memory exhaustion.
JSON.decode/1 and JSON.decode!/1 convert each integer literal with erlang:binary_to_integer/1 and do not bound its length. A literal of one million digits decodes successfully but costs 100 to 300 times as much CPU as a string of the same length, so one request body of a few megabytes holds a scheduler for about a second. A literal of more than about 1.29 million digits raises SystemLimitError. Applications generated by phx.new decode request bodies with JSON in Plug.Parsers, before routing and authentication.
This issue affects elixir: from 1.18.0-rc.0 before 1.18.6, from 1.19.0-rc.0 before 1.19.7, and from 1.20.0-rc.0 before 1.20.5.
Severity (CVSS)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability low: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.54%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 46.8% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 30 Oct 2026):
- Exploitation
- poc: a proof of concept is public
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-1284 Improper Validation of Specified Quantity in Input
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
elixir
package
elixir |
affected from 1.18.0-rc.0, before 1.18.6 affected from 1.19.0-rc.0, before 1.19.7 affected from 1.20.0-rc.0, before 1.20.5
Other versions: unaffected
|
|
elixir
package
elixir-lang/elixir |
affected 793c1147210388587defb649f25f293ffbfa6b1b and later (unaffected from 7154e8781da9fd016a973ea01776a011c8b5726a, unaffected from c81f12265919c34a0d5134f1905a4eb4edaea1c2, unaffected from cd158efacdc10b30232864251747dff9b8387dfe, unaffected from ee5cc23f8928aa5a0f25bb7f28e42ecfc7b7d396)
Other versions: unaffected
|
Is my server affected?
Find the installed version of elixir and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i elixir
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-115274 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-115274RHEL, Rocky, Alma, Fedora
rpm -q elixir
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-115274Alpine
apk list --installed | grep -i elixirWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-115274
trivy image --scanners vuln IMAGE | grep CVE-2026-115274
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Patches and release notes
- Fix commit 7154e87 in elixir-lang/elixir github.com · patch
- Fix commit c81f122 in elixir-lang/elixir github.com · patch
- Fix commit cd158ef in elixir-lang/elixir github.com · patch
- Fix commit ee5cc23 in elixir-lang/elixir github.com · patch
Exploits and proof of concept
- Unbounded integer parsing in JSON.decode/1 enables CPU and memory exhaustion denial of service in Elixir github.com · vendor advisory, related, exploit
Other references
- EEF CNA record for CVE-2026-115274 cna.erlef.org · related
- OSV record EEF-CVE-2026-115274 osv.dev · related
- Introducing commit 793c114 in elixir-lang/elixir github.com · related
Source: the record CVE-2026-115274 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse