Skip to main content

Elixir 1.20.5

Release Date: October 29, 2026

Elixir 1.20.5 landed on October 29, 2026, and it is not a feature release. It ships three security fixes and a handful of correctness patches. If you run Elixir in anything exposed to user input, treat this as a mandatory upgrade rather than an optional one. Let's not get carried away with benchmarks: the real story is three CVEs.

The Three CVEs

  • URI.parse port limits (CVE-2026-109821). URI.parse now binds port limits. If you validate untrusted URLs before fetching them, and plenty of applications do, this is the fix that matters most. Prior behavior let an out-of-range port through parsing.
  • JSON integer ranges (CVE-2026-115274). Decoding integers beyond float64 range now raises instead of silently producing an inaccurate value. The safety improvement comes with a behavior change: ingestion code that tolerated huge integers in payloads will start raising. Audit JSON endpoints that accept arbitrary numeric input before you deploy.
  • mix deps.partition checksums (CVE-2026-97209). deps.partition configuration is validated with a checksum on multi-user systems. Shared build hosts are the target here, and teams running CI on multi-user machines should upgrade rather than patch around it.

What Actually Improved

Two optimizations are worth noting, both modest. Calendar.ISO.parse_duration/1 was optimized, and boot time improved because the Erlang/OTP release is parsed with list_to_integer/1 instead of a slower path. Neither will show up in your application benchmarks. They reduce startup overhead slightly and nothing else.

The Bug Fixes You May Feel

  • Regex raises SystemLimitError when a match reaches the engine's match limit, instead of quietly returning no match. This one changes semantics: code that treated a runaway pattern as "no match" will now crash. That is more honest, but it is still a crash, so wrap catastrophic-backtracking-prone patterns.
  • Task.async_stream/3 no longer leaks timeout messages into the caller's mailbox.
  • Registry.lock/3 no longer crashes on timeouts, which removes a class of intermittent failures under load.
  • Duration.from_iso8601/1 rejects inputs longer than 192 bytes and now accepts a fractional seconds component after whole seconds, such as PT1S2.5S. If you relied on that input failing, it now succeeds.
  • Date.from_gregorian_days/2 no longer passes an invalid day fraction to non-ISO calendars.
  • String.downcase/2 and String.capitalize/2 skip U+055F, the Armenian abbreviation mark, when applying the Greek final sigma rule. A narrow fix, but it corrects a genuine case-folding bug in mixed-script text.

Tooling

  • IEx with --remsh no longer halts the remote node when the remote shell receives EOF. That was a nasty way to take down a production node by closing a terminal.
  • Tab completion in IEx no longer crashes when the shell is not found.
  • mix xref graph --format stats reports outgoing compile-connected counts correctly.

Upgrade Verdict

Upgrade, and do it this week. The version bump is a patch number, but the content is a security release, and the JSON and Regex behavior changes are the two places where existing code can break. Run your test suite against 1.20.5 before promoting it, especially if you parse JSON from untrusted sources or run regexes against user-supplied strings.

Other Versions

We use cookies for ads and analytics.