Executive brief
A vulnerability exists in the Linux kernel's Netfilter component, specifically within the H.323 protocol helper used by firewalls to manage VoIP traffic. An attacker can exploit this by sending specially crafted network messages to a system or firewall running the affected software. This could result in a service disruption (system crash) or the unauthorized reading of small amounts of system memory.
Technical details
An out-of-bounds (OOB) read vulnerability exists in net/netfilter/nf_conntrack_h323_asn1.c within the decode_choice() function. The root cause is an incorrect boundary check that uses an uninitialized variable 'len' (set to 0) before calling get_len(). When the bitstream is fully consumed, the check fails to prevent get_len() from dereferencing the bitstream pointer beyond its allocated buffer. A remote attacker can trigger this by sending a crafted Q.931 SETUP message with a specific User-User Information Element to TCP port 1720 on a system where the nf_conntrack_h323 helper is active. This results in a 1-2 byte heap-buffer-overflow read, which can lead to a kernel panic (DoS) or potentially leak sensitive memory. Patches have been released across multiple stable kernel branches.
Affected products
- Linux Linux Kernel 4.15.1 to 5.10.252, 5.11 to 5.15.202, 5.16 to 6.1.165, 6.2 to 6.6.128, 6.7 to 6.12.75, 6.13 to 6.18.16, 6.19 to 6.19.6
Timeline
- 2026-02-25: other: Vulnerability fixed in upstream kernel code
- 2026-05-06: disclosed: CVE published
References
- https://git.kernel.org/stable/c/2a3aac4205e7d2f1aca2e3827de8cdd517d36c4a
- https://git.kernel.org/stable/c/35f1943d242e1b9f0b6e91c0c93bfb293a9f8224
- https://git.kernel.org/stable/c/53d32735d77ab56cc3fc7bd53a7d099418f19be1
- https://git.kernel.org/stable/c/7ef82863d42261817a6394c6c881bd6757a70f16
- https://git.kernel.org/stable/c/81f2fc5b0d0cf4696146f00f837596d10b92dead
- https://git.kernel.org/stable/c/baed0d9ba91d4f390da12d5039128ee897253d60
- https://git.kernel.org/stable/c/bcb50aa0b8f2b74a9fe5a1c7bee6f2657a288041