# CVE-2026-115274: Unbounded integer parsing in JSON.decode/1 enables CPU and memory exhaustion denial of service in Elixir

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-30T08:57:16.847Z
- Modified: 2026-11-25T06:30:17.034Z
- Also known as: EEF-CVE-2026-115274, GHSA-rp5q-xqhq-926h
- Weaknesses: CWE-1284
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: EEF

## 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.

(As written by CVE List.)

## Affected

- 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
- elixir-lang/elixir: from 793c1147210388587defb649f25f293ffbfa6b1b before *
- https://github.com/elixir-lang/elixir: from 793c1147210388587defb649f25f293ffbfa6b1b before 7154e8781da9fd016a973ea01776a011c8b5726a; before c81f12265919c34a0d5134f1905a4eb4edaea1c2; before cd158efacdc10b30232864251747dff9b8387dfe; before ee5cc23f8928aa5a0f25bb7f28e42ecfc7b7d396

## Every score

- EEF: CVSS:4.0 6.9 Medium `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`
- Erlang Ecosystem Foundation: 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`

## References

- <https://github.com/elixir-lang/elixir/security/advisories/GHSA-rp5q-xqhq-926h> (exploit, advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2026-115274.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2026-115274> (related)
- <https://github.com/elixir-lang/elixir/commit/793c1147210388587defb649f25f293ffbfa6b1b> (related, web)
- <https://github.com/elixir-lang/elixir/commit/7154e8781da9fd016a973ea01776a011c8b5726a> (fix, patch)
- <https://github.com/elixir-lang/elixir/commit/c81f12265919c34a0d5134f1905a4eb4edaea1c2> (fix, patch)
- <https://github.com/elixir-lang/elixir/commit/cd158efacdc10b30232864251747dff9b8387dfe> (fix, patch)
- <https://github.com/elixir-lang/elixir/commit/ee5cc23f8928aa5a0f25bb7f28e42ecfc7b7d396> (fix, patch)

## Sources

- CVE List: [CVE-2026-115274](https://www.cve.org/CVERecord?id=CVE-2026-115274), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2026-115274](https://osv.dev/vulnerability/EEF-CVE-2026-115274), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2026-115274](https://nvd.nist.gov/vuln/detail/CVE-2026-115274), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2026-115274 · Whole record: https://cve.day/CVE-2026-115274.json · Rebuilt by cve.day 2026-11-25T22:59:47.897Z
