Amazon Linux 2 Security Advisory: ALAS2-2026-3360
Advisory Released Date: 2026-06-22
Advisory Updated Date: 2026-06-22
libusb before version 1.0.30 contains a NULL pointer dereference vulnerability that allows attackers to crash applications by supplying a malformed USB configuration descriptor where an interface claims bNumEndpoints greater than zero but is followed by a class-specific descriptor whose bLength exceeds the remaining buffer size, causing parse_interface() to return early without allocating the endpoint array. Attackers can exploit this flaw through libusb_get_active_config_descriptor or libusb_get_config_descriptor by providing crafted descriptors via virtualized USB passthrough, file-based descriptor parsing, or network sources, causing any application iterating over endpoints to dereference a NULL endpoint pointer and crash. (CVE-2026-23679)
Affected Packages:
libusbx
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update libusbx or yum update --advisory ALAS2-2026-3360 to update your system.
aarch64:
libusbx-1.0.21-1.amzn2.0.1.aarch64
libusbx-devel-1.0.21-1.amzn2.0.1.aarch64
libusbx-debuginfo-1.0.21-1.amzn2.0.1.aarch64
i686:
libusbx-1.0.21-1.amzn2.0.1.i686
libusbx-devel-1.0.21-1.amzn2.0.1.i686
libusbx-debuginfo-1.0.21-1.amzn2.0.1.i686
noarch:
libusbx-devel-doc-1.0.21-1.amzn2.0.1.noarch
src:
libusbx-1.0.21-1.amzn2.0.1.src
x86_64:
libusbx-1.0.21-1.amzn2.0.1.x86_64
libusbx-devel-1.0.21-1.amzn2.0.1.x86_64
libusbx-debuginfo-1.0.21-1.amzn2.0.1.x86_64