CVE-2026-43233
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
06/05/2026
Last modified:
06/05/2026
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
netfilter: nf_conntrack_h323: fix OOB read in decode_choice()<br />
<br />
In decode_choice(), the boundary check before get_len() uses the<br />
variable `len`, which is still 0 from its initialization at the top of<br />
the function:<br />
<br />
unsigned int type, ext, len = 0;<br />
...<br />
if (ext || (son->attr & OPEN)) {<br />
BYTE_ALIGN(bs);<br />
if (nf_h323_error_boundary(bs, len, 0)) /* len is 0 here */<br />
return H323_ERROR_BOUND;<br />
len = get_len(bs); /* OOB read */<br />
<br />
When the bitstream is exactly consumed (bs->cur == bs->end), the check<br />
nf_h323_error_boundary(bs, 0, 0) evaluates to (bs->cur + 0 > bs->end),<br />
which is false. The subsequent get_len() call then dereferences<br />
*bs->cur++, reading 1 byte past the end of the buffer. If that byte<br />
has bit 7 set, get_len() reads a second byte as well.<br />
<br />
This can be triggered remotely by sending a crafted Q.931 SETUP message<br />
with a User-User Information Element containing exactly 2 bytes of<br />
PER-encoded data ({0x08, 0x00}) to port 1720 through a firewall with<br />
the nf_conntrack_h323 helper active. The decoder fully consumes the<br />
PER buffer before reaching this code path, resulting in a 1-2 byte<br />
heap-buffer-overflow read confirmed by AddressSanitizer.<br />
<br />
Fix this by checking for 2 bytes (the maximum that get_len() may read)<br />
instead of the uninitialized `len`. This matches the pattern used at<br />
every other get_len() call site in the same file, where the caller<br />
checks for 2 bytes of available data before calling get_len().
Impact
References to Advisories, Solutions, and Tools
- 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
- https://git.kernel.org/stable/c/f0a83d0a4b7c127d32ac06d607a9214937716129



