{"id":"CVE-2026-43233","aliases":["CVE-2026-43233"],"related":[],"kind":"vulnerability","state":"published","title":"netfilter: nf_conntrack_h323: fix OOB read in decode_choice()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_conntrack_h323: fix OOB read in decode_choice()\n\nIn decode_choice(), the boundary check before get_len() uses the\nvariable `len`, which is still 0 from its initialization at the top of\nthe function:\n\n    unsigned int type, ext, len = 0;\n    ...\n    if (ext || (son->attr & OPEN)) {\n        BYTE_ALIGN(bs);\n        if (nf_h323_error_boundary(bs, len, 0))  /* len is 0 here */\n            return H323_ERROR_BOUND;\n        len = get_len(bs);                        /* OOB read */\n\nWhen the bitstream is exactly consumed (bs->cur == bs->end), the check\nnf_h323_error_boundary(bs, 0, 0) evaluates to (bs->cur + 0 > bs->end),\nwhich is false.  The subsequent get_len() call then dereferences\n*bs->cur++, reading 1 byte past the end of the buffer.  If that byte\nhas bit 7 set, get_len() reads a second byte as well.\n\nThis can be triggered remotely by sending a crafted Q.931 SETUP message\nwith a User-User Information Element containing exactly 2 bytes of\nPER-encoded data ({0x08, 0x00}) to port 1720 through a firewall with\nthe nf_conntrack_h323 helper active.  The decoder fully consumes the\nPER buffer before reaching this code path, resulting in a 1-2 byte\nheap-buffer-overflow read confirmed by AddressSanitizer.\n\nFix this by checking for 2 bytes (the maximum that get_len() may read)\ninstead of the uninitialized `len`.  This matches the pattern used at\nevery other get_len() call site in the same file, where the caller\nchecks for 2 bytes of available data before calling get_len().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_conntrack_h323: fix OOB read in decode_choice()\n\nIn decode_choice(), the boundary check before get_len() uses the\nvariable `len`, which is still 0 from its initialization at the top of\nthe function:\n\n    unsigned int type, ext, len = 0;\n    ...\n    if (ext || (son->attr & OPEN)) {\n        BYTE_ALIGN(bs);\n        if (nf_h323_error_boundary(bs, len, 0))  /* len is 0 here */\n            return H323_ERROR_BOUND;\n        len = get_len(bs);                        /* OOB read */\n\nWhen the bitstream is exactly consumed (bs->cur == bs->end), the check\nnf_h323_error_boundary(bs, 0, 0) evaluates to (bs->cur + 0 > bs->end),\nwhich is false.  The subsequent get_len() call then dereferences\n*bs->cur++, reading 1 byte past the end of the buffer.  If that byte\nhas bit 7 set, get_len() reads a second byte as well.\n\nThis can be triggered remotely by sending a crafted Q.931 SETUP message\nwith a User-User Information Element containing exactly 2 bytes of\nPER-encoded data ({0x08, 0x00}) to port 1720 through a firewall with\nthe nf_conntrack_h323 helper active.  The decoder fully consumes the\nPER buffer before reaching this code path, resulting in a 1-2 byte\nheap-buffer-overflow read confirmed by AddressSanitizer.\n\nFix this by checking for 2 bytes (the maximum that get_len() may read)\ninstead of the uninitialized `len`.  This matches the pattern used at\nevery other get_len() call site in the same file, where the caller\nchecks for 2 bytes of available data before calling get_len().","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nnetfilter: nf_conntrack_h323: corrección de lectura OOB en decode_choice()\n\nEn decode_choice(), la comprobación de límites antes de get_len() utiliza la variable ’len’, que sigue siendo 0 desde su inicialización al principio de la función:\n\n    unsigned int type, ext, len = 0;\n    ...\n    if (ext || (son  ->  attr & OPEN)) {\n        BYTE_ALIGN(bs);\n        if (nf_h323_error_boundary(bs, len, 0))  /* len es 0 aquí */\n            return H323_ERROR_BOUND;\n        len = get_len(bs);                        /* Lectura OOB */\n\nCuando el flujo de bits se consume exactamente (bs  ->  cur == bs  ->  end), la comprobación nf_h323_error_boundary(bs, 0, 0) se evalúa como (bs  ->  cur + 0 > bs  ->  end), lo cual es falso. La llamada subsiguiente a get_len() luego desreferencia bs  ->  cur++, leyendo 1 byte más allá del final del búfer. Si ese byte tiene el bit 7 activado, get_len() lee un segundo byte también.\n\nEsto puede ser activado remotamente enviando un mensaje Q.931 SETUP manipulado con un Elemento de Información de Usuario-Usuario que contiene exactamente 2 bytes de datos codificados en PER ({0x08, 0x00}) al puerto 1720 a través de un cortafuegos con el ayudante nf_conntrack_h323 activo. El decodificador consume completamente el búfer PER antes de alcanzar esta ruta de código, lo que resulta en una lectura de desbordamiento de búfer de pila (heap-buffer-overflow) de 1-2 bytes confirmada por AddressSanitizer.\n\nSolucione esto comprobando 2 bytes (el máximo que get_len() puede leer) en lugar de la variable ’len’ no inicializada. Esto coincide con el patrón utilizado en cada otro sitio de llamada a get_len() en el mismo archivo, donde el llamador comprueba si hay 2 bytes de datos disponibles antes de llamar a get_len().","source":"nvd"}],"published":"2026-05-06T11:28:29.565Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:H","score":8.2,"rating":"HIGH"}],"cwes":["CWE-125"],"affected":[{"ranges":[{"type":"git","introduced":"ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa","fixed":"bcb50aa0b8f2b74a9fe5a1c7bee6f2657a288041","status":"affected"},{"type":"git","introduced":"ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa","fixed":"2a3aac4205e7d2f1aca2e3827de8cdd517d36c4a","status":"affected"},{"type":"git","introduced":"ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa","fixed":"81f2fc5b0d0cf4696146f00f837596d10b92dead","status":"affected"},{"type":"git","introduced":"ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa","fixed":"7ef82863d42261817a6394c6c881bd6757a70f16","status":"affected"},{"type":"git","introduced":"ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa","fixed":"53d32735d77ab56cc3fc7bd53a7d099418f19be1","status":"affected"},{"type":"git","introduced":"ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa","fixed":"f0a83d0a4b7c127d32ac06d607a9214937716129","status":"affected"},{"type":"git","introduced":"ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa","fixed":"35f1943d242e1b9f0b6e91c0c93bfb293a9f8224","status":"affected"},{"type":"git","introduced":"ec8a8f3c31ddef0a7d9626c4b8a4baa30f3b80aa","fixed":"baed0d9ba91d4f390da12d5039128ee897253d60","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.15","status":"unaffected"},{"type":"semver","introduced":"5.10.252","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.202","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.15.1","fixed":"5.10.252"},{"status":"affected","introduced":"5.11","fixed":"5.15.202"},{"status":"affected","introduced":"5.16","fixed":"6.1.165"},{"status":"affected","introduced":"6.2","fixed":"6.6.128"},{"status":"affected","introduced":"6.7","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"4.15"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/bcb50aa0b8f2b74a9fe5a1c7bee6f2657a288041","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2a3aac4205e7d2f1aca2e3827de8cdd517d36c4a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/81f2fc5b0d0cf4696146f00f837596d10b92dead","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ef82863d42261817a6394c6c881bd6757a70f16","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/53d32735d77ab56cc3fc7bd53a7d099418f19be1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f0a83d0a4b7c127d32ac06d607a9214937716129","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/35f1943d242e1b9f0b6e91c0c93bfb293a9f8224","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/baed0d9ba91d4f390da12d5039128ee897253d60","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-16T15:15:55.935Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43233","url":"https://www.cve.org/CVERecord?id=CVE-2026-43233","licence":"CVE Terms of Use","modified":"2026-10-19T19:16:24.877Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43233","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43233","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.742Z","epss":{"score":0.00463,"percentile":0.41808,"date":"2026-12-01T12:00:22.000Z"}}