Multiple vulnerabilities were discovered in libXi, a library for the X11 Input extension, involving improper validation and memory allocation of replies and events from the X server. These flaws could allow a remote attacker to cause applications using libXi to crash, resulting in denial of service conditions. The issues include heap buffer overflow and improper memory allocation in handling DEVICE_RESOLUTION and DEVICE_ENABLE replies, as well as improper validation of class data and metadata in XI2 replies and events. Fixes are available in updated package versions for Ubuntu releases 22.04 LTS, 24.04 LTS, 26.04 LTS, and 26.10.