A format string injection vulnerability exists in the Ruby JSON library when parsing user-supplied documents with the non-default option allow_duplicate_key set to false. This flaw can lead to denial of service or information disclosure. The vulnerability is patched in Ruby JSON version 2.19.2. Users who do not enable the allow_duplicate_key: false option are not affected.