An integer underflow exists in the container box parser. On 32-bit platforms, 64-bit box sizes are truncated to `size t`, allowing remote attackers to provide a specially crafted JPEG XL file. This causes the decoder to interpret attacker-controlled codestream bytes as phantom box headers, which enables the injection of arbitrary metadata, such as Exif, XMP, IPTC, and JUMBF, and may lead to out-of-bounds reads.