{"id":"UBUNTU-CVE-2026-23679","details":"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.","modified":"2026-06-04T12:45:25.426627204Z","published":"2026-05-27T14:16:00Z","withdrawn":"2026-06-04T10:59:28Z","upstream":["CVE-2026-23679"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-23679"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-23679"},{"type":"REPORT","url":"https://github.com/libusb/libusb/commit/578ab76b4c434f8b204137ab6d7310689c7a9704"},{"type":"REPORT","url":"https://github.com/libusb/libusb/pull/1814"},{"type":"REPORT","url":"https://github.com/libusb/libusb/releases/tag/v1.0.30"},{"type":"REPORT","url":"https://www.vulncheck.com/advisories/libusb-null-pointer-dereference-in-parse-interface"}],"affected":[{"package":{"name":"libusb","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/libusb?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.1.12-23.2ubuntu1","2:0.1.12-23.3","2:0.1.12-23.3ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"libusb++-0.1-4c2","binary_version":"2:0.1.12-23.3ubuntu1"},{"binary_version":"2:0.1.12-23.3ubuntu1","binary_name":"libusb-0.1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23679.json"}},{"package":{"name":"libusb","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libusb?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.1.12-27","2:0.1.12-28"],"ecosystem_specific":{"binaries":[{"binary_name":"libusb++-0.1-4v5","binary_version":"2:0.1.12-28"},{"binary_version":"2:0.1.12-28","binary_name":"libusb-0.1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23679.json"}},{"package":{"name":"libusb","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libusb?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.1.12-31"],"ecosystem_specific":{"binaries":[{"binary_version":"2:0.1.12-31","binary_name":"libusb-0.1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23679.json"}},{"package":{"name":"libusb","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libusb?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.1.12-32"],"ecosystem_specific":{"binaries":[{"binary_version":"2:0.1.12-32","binary_name":"libusb-0.1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23679.json"}},{"package":{"name":"libusb","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libusb?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.1.12-32build2","2:0.1.12-32build3"],"ecosystem_specific":{"binaries":[{"binary_name":"libusb-0.1-4","binary_version":"2:0.1.12-32build3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23679.json"}},{"package":{"name":"libusb","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/libusb?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.1.12-32build3","2:0.1.12-33","2:0.1.12-35","2:0.1.12-35build1"],"ecosystem_specific":{"binaries":[{"binary_name":"libusb-0.1-4","binary_version":"2:0.1.12-35build1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23679.json"}},{"package":{"name":"libusb","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/libusb?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.1.12-35build1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:0.1.12-35build1","binary_name":"libusb-0.1-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23679.json"}},{"package":{"name":"libusb","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/libusb?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:0.1.12-35build1","2:0.1.12-35build2"],"ecosystem_specific":{"binaries":[{"binary_name":"libusb-0.1-4","binary_version":"2:0.1.12-35build2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-23679.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}