Home / elixir-lang / elixir / CVE-2026-115274
CVE-2026-115274: is it exploited, and which versions of elixir-lang elixir are affected and fixed?
CVE-2026-115274 is a quantity not validated vulnerability in elixir-lang elixir. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: elixir from 1.18.0-rc.0 before 1.18.6, elixir from 1.19.0-rc.0 before 1.19.7 and elixir from 1.20.0-rc.0 before 1.20.5 (CVE record by EEF). Fixed in 1.18.6, 1.19.7 and 1.20.5 (CVE record by EEF). Severity: Medium (6.9, CVSS 4.0, from EEF).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 20, 2026, 06:15 UTC and NVD November 20, 2026, 07:04 UTC.
What is CVE-2026-115274?
Unbounded integer parsing in JSON.decode/1 enables CPU and memory exhaustion denial of service in Elixir
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.
From the CVE record by EEF, last updated November 20, 2026, 05:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| elixir-lang | elixir | from 1.18.0-rc.0 before 1.18.6 from 1.19.0-rc.0 before 1.19.7 from 1.20.0-rc.0 before 1.20.5 | 1.18.6, 1.19.7, 1.20.5 |
| elixir-lang | elixir elixir-lang/elixir | not stated |
As the CVE record by EEF states it, last updated November 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-115274?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.9 | CVSS 4.0 | 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 | EEF |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-115274 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, October 30, 2026)
- EPSS
- 0.54% probability of exploitation activity in the next 30 days, percentile 46.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-1284 Improper Validation of Specified Quantity in Input
Is there a workaround? (from the CVE record)
Decode untrusted JSON with an integer decoder that rejects long digit runs before conversion: defmodule SafeJSON do def decode!(binary) do case JSON.decode(binary, :ok, integer: &safe_integer/1) do {decoded, :ok, ""} -> decoded _ -> raise ArgumentError, "invalid JSON" end end defp safe_integer(digits) when byte_size(digits) <= 1024, do: String.to_integer(digits) defp safe_integer(_digits), do: raise(ArgumentError, "integer too long") end In Phoenix, pass SafeJSON to Plug.Parsers as json_decoder instead of Phoenix.json_library().
Where are the vendor advisories and references?
- Unbounded integer parsing in JSON.decode/1 enables CPU and memory exhaustion denial of service in Elixir vendor-advisory, related
- EEF CNA record for CVE-2026-115274 related
- OSV record EEF-CVE-2026-115274 related
- Introducing commit 793c114 in elixir-lang/elixir related
- Fix commit 7154e87 in elixir-lang/elixir patch
- Fix commit c81f122 in elixir-lang/elixir patch
- Fix commit cd158ef in elixir-lang/elixir patch
- Fix commit ee5cc23 in elixir-lang/elixir patch
Who found and reported it?
- David Vieira Kurz (finder)
- Peter Ullrich (finder)
- David Vieira Kurz (reporter)
- Jonatan Männchen / EEF (coordinator)
- José Valim (remediation developer)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 23, 2026
- Published
- October 30, 2026, 08:57 UTC
- CVE record updated
- November 20, 2026, 05:59 UTC by EEF
- NVD
- Deferred, last modified November 20, 2026, 06:17 UTC
- Last checked
- CVE list November 20, 2026, 06:15 UTC; NVD November 20, 2026, 07:04 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect elixir?
- Oct 30, 2026CVE-2026-97209 elixir-lang elixir: creation of Temporary File in Directory with Insecure Permissions
- Oct 30, 2026CVE-2026-109821 elixir-lang elixir: quantity not validated
- Aug 28, 2026CVE-2026-75758 elixir-lang elixir: uncontrolled recursion
- Jun 9, 2026CVE-2026-49762 elixir-lang elixir: denial of service (uncontrolled resource consumption)
Questions about CVE-2026-115274
Is CVE-2026-115274 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 0.54% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of elixir-lang elixir are affected by CVE-2026-115274?
elixir from 1.18.0-rc.0 before 1.18.6, elixir from 1.19.0-rc.0 before 1.19.7 and elixir from 1.20.0-rc.0 before 1.20.5, per the CVE record by EEF. The tables above give every range the sources list.
Which version fixes CVE-2026-115274?
1.18.6, 1.19.7 and 1.20.5, per the CVE record by EEF. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-115274?
Medium (6.9, CVSS 4.0, from EEF). The severity table above shows each score with its source.
Where is the official record of CVE-2026-115274?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.