Ruby2Shell (CVE-2026-132825): One Byte Past the Buffer in String#upcase
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Ruby2Shell (CVE-2026-132825) is a one-byte heap buffer overflow in CRuby's case conversion for single-byte legacy encodings such as ISO-8859-1, where the German ß upcases to two bytes and the loop's bounds check reserves room for only one.