REXML removes ambiguous zeros from numeric-reference matching
engineeringrubyrexmlsecurityregexpCVE-2024-49761 affects REXML through 3.3.8 on Ruby 3.1 and earlier. The fix narrows the reference grammar and makes decimal and hexadecimal conversion explicit.