CVE-2026-15891
Last modified
CVE-2026-15891 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. The MQTT-SN client keepalive handler process_ping() in subsys/net/lib/mqtt_sn/mqtt_sn.c removes the gateway record after PINGREQ retries are exhausted. It invoked SYS_SLIST_PEEK_HEAD_CONTAINER(&client->gateways, gw, next) but discarded the result. EPSS estimates a 0.34% chance of exploitation in the next 30 days.
Description
The MQTT-SN client keepalive handler process_ping() in subsys/net/lib/mqtt_sn/mqtt_sn.c removes the gateway record after PINGREQ retries are exhausted. It invoked SYS_SLIST_PEEK_HEAD_CONTAINER(&client->gateways, gw, next) but discarded the result. That macro is a pure expression that does not assign to gw, so gw retained its NULL initializer regardless of the list contents. The code then dereferences the NULL gw (gw->gw_id) and passes it to mqtt_sn_gw_destroy(), reaching k_mem_slab_free(&gateways, NULL). With CONFIG_MEM_SLAB_POINTER_VALIDATE enabled this triggers k_panic(); in the default configuration it performs a write through the NULL pointer ((char )mem = slab->free_list;) and corrupts the slab free list. The outcome is a crash/kernel panic or, on targets where address 0 is writable, silent memory-allocator corruption. The vulnerable branch runs whenever the connected MQTT-SN gateway fails to answer keepalive PINGREQs for the configured number of retries. This condition is controlled by the remote peer: a malicious or compromised gateway, or an on-path/adjacent attacker that advertises itself as a gateway and then stops responding (or blackholes the real gateway's PINGRESPs), forces the client into the defect. MQTT-SN runs over UDP and no authentication is required. The impact is a remotely triggerable denial of service (availability) of the affected MQTT-SN client; there is no attacker-controlled data written. The sibling remover process_advertise() uses SYS_SLIST_FOR_EACH_CONTAINER_SAFE and is not affected. The fix assigns the macro's return value to gw.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| zephyrproject | zephyr | >= 4.1.0, < 4.4.2 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-15891?
How severe is CVE-2026-15891?
How do I fix CVE-2026-15891?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-1586A flaw has been found in Open5GS up to 2.7.5. Impacted is th…7.5
- CVE-2026-1587A vulnerability has been found in Open5GS up to 2.7.6. The a…7.5
- CVE-2026-1588A vulnerability was found in jishenghua jshERP up to 3.6. Th…2.7
- CVE-2026-15887IBM WebSphere Application Server 9.0, and 8.5 is affected by…5.4
- CVE-2026-15889The Aruba HiSpeed Cache plugin for WordPress is vulnerable t…6.4
- CVE-2026-1589A vulnerability was determined in itsourcecode School Manage…9.8
- CVE-2026-15892The mcumgr SMP settings-management group handlers settings_m…5.3
- CVE-2026-15893net_if_ipv6_calc_reachable_time() in subsys/net/ip/net_if.c …6.5
- CVE-2026-15895OS command injection in the npm package loading component in…8.4
- CVE-2026-15899Use after free in CameraCapture in Google Chrome on Mac prio…9.6
- CVE-2026-1590A vulnerability was identified in itsourcecode School Manage…9.8
- CVE-2026-15900Use after free in GPU in Google Chrome on Android prior to 1…9.6
Are you affected by CVE-2026-15891?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
