---
title: "Crystal 1.20.3 is released!"
description: "Crystal 1.20.3 fixes two security vulnerabilities in the YAML parsers."
url: "https://swe.quest/articles/crystal-1-20-3-is-released-5f57668e9ca1dec8"
canonical: "https://crystal-lang.org/2026/07/02/1.20.3-released/"
source: "Crystal Blog"
published: "2026-07-02"
difficulty: "easy"
kind: "Release"
reading_minutes: 1
tags: ["appsec","security"]
---

# Crystal 1.20.3 is released!

A post on [Crystal Blog](https://swe.quest/sources/crystal.md), published 2026-07-02, 1 min read, Release. Original: [https://crystal-lang.org/2026/07/02/1.20.3-released/](https://crystal-lang.org/2026/07/02/1.20.3-released/)

## Summary

Crystal 1.20.3 fixes two security vulnerabilities in the YAML parsers. Recursive parsing had no limit on nesting depth, so deeply nested documents could overflow the stack; \`YAML::PullParser\` now has a \`max\_nesting\` option. Alias expansion was open to the billion laughs attack, where a 100-node document could expand to over a billion nodes; an alias-to-anchor ratio check now blocks this. Applications that parse YAML from untrusted sources should upgrade promptly.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Application security](https://swe.quest/tags/appsec.md) (Security)
- [Security](https://swe.quest/tags/security.md) (Security)

## Prerequisites

- YAML anchors and aliases

## Keywords

Crystal, YAML, YAML::PullParser, billion laughs attack

## Related posts

- [Crystal 1.22.3 is released!](https://swe.quest/articles/crystal-1-22-3-is-released-eaa59fe6cd70a78c.md): Crystal Blog · 2026-11-13 · Medium · 2 min read · Application security, Networking, Memory safety
  Crystal 1.22.3 is a patch release of 14 changes from 4 contributors, focused on security fixes and regressions.
- [Ruby2Shell (CVE-2026-132825): find vulnerable Ruby across your repos](https://swe.quest/articles/ruby2shell-cve-2026-132825-find-vulnerable-ruby-across-your-repos-943808a4d97a4f48.md): Sourcegraph · 2026-11-20 · Medium · 5 min read · Ruby, Vulnerability research, Supply chain security, Developer tools
  Ruby2Shell (CVE-2026-132825) is a critical heap overflow in Ruby's string case conversion that researchers say default Rails and classic Sinatra apps expose without authentication, with remote code execution proofs of concept known.
- [Crystal 1.22.0 is released!](https://swe.quest/articles/crystal-1-22-0-is-released-df698aee14efe13e.md): Crystal Blog · 2026-10-12 · Medium · 3 min read · Language design, Compilers, Runtimes & VMs
  Crystal 1.22.0 makes processes exit immediately on EPIPE when writing to STDOUT/STDERR, mimicking SIGPIPE, with an opt-out via \`STDOUT.exit\_on\_broken\_pipe = false\`.
- [Announcing Rust 1.100.0](https://swe.quest/articles/announcing-rust-1-100-0-3cfd9f43e21db8ad.md): Rust Blog · 2026-11-12 · Medium · 9 min read · Rust, Type systems, Build systems, Supply chain security, Memory management
  Rust 1.100.0 stabilizes the never type \`!\` after a decade and five failed attempts, makes \`Infallible\` an alias for it, and switches never-type fallback from \`()\` to \`!\` in pre-2024 editions, a rare-case breaking change that may also surface more unreachable code.
- [How Cloudflare WAF protects against ruby2shell (CVE-2026-132825)](https://swe.quest/articles/how-cloudflare-waf-protects-against-ruby2shell-cve-2026-132825-7727483822350470.md): Cloudflare · 2026-11-20 · Medium · 6 min read · Vulnerability research, Ruby, Application security, Memory safety
  ruby2shell (CVE-2026-132825) is a heap buffer overflow in Ruby's string case conversion: in 14 legacy single-byte encodings, uppercasing the German ß writes two bytes (SS) but reserves room for one, so 21 sharp s characters overflow by a byte, with proofs of concept reaching remote code execution.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
