{"id":"CVE-2026-31405","state":"PUBLISHED","title":"media: dvb-net: fix OOB access in ULE extension header tables","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-net: fix OOB access in ULE extension header tables\n\nThe ule_mandatory_ext_handlers[] and ule_optional_ext_handlers[] tables\nin handle_one_ule_extension() are declared with 255 elements (valid\nindices 0-254), but the index htype is derived from network-controlled\ndata as (ule_sndu_type & 0x00FF), giving a range of 0-255. When\nhtype equals 255, an out-of-bounds read occurs on the function pointer\ntable, and the OOB value may be called as a function pointer.\n\nAdd a bounds check on htype against the array size before either table\nis accessed. Out-of-range values now cause the SNDU to be discarded.","publishedAt":"2026-04-06T07:33:00.544Z","updatedAt":"2026-08-05T12:22:14.323Z","severity":{"score":9.8,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"e51238718217c4abdb3ccc3b0c0cde265c7ec629","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"b2bd2ee73b697c177157bba534e1b1064c2e66a0","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"29ef43ceb121d67b87f4cbb08439e4e9e732eff8","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"1a6da3dbb9985d00743073a1cc1f96e59f5abc30","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"145e50c2c700fa52b840df7bab206043997dd18e","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"8bde543d2a5f935ba2a6a6325a2e02f8a9256fbe","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f2b65dcb78c8990e4c68a906627433be1fe38a92","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"24d87712727a5017ad142d63940589a36cd25647","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/dvb-core/dvb_net.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"5.10.253","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.203","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.167","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.130","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.78","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/dvb-core/dvb_net.c"]}],"references":["https://git.kernel.org/stable/c/e51238718217c4abdb3ccc3b0c0cde265c7ec629","https://git.kernel.org/stable/c/b2bd2ee73b697c177157bba534e1b1064c2e66a0","https://git.kernel.org/stable/c/29ef43ceb121d67b87f4cbb08439e4e9e732eff8","https://git.kernel.org/stable/c/1a6da3dbb9985d00743073a1cc1f96e59f5abc30","https://git.kernel.org/stable/c/145e50c2c700fa52b840df7bab206043997dd18e","https://git.kernel.org/stable/c/8bde543d2a5f935ba2a6a6325a2e02f8a9256fbe","https://git.kernel.org/stable/c/f2b65dcb78c8990e4c68a906627433be1fe38a92","https://git.kernel.org/stable/c/24d87712727a5017ad142d63940589a36cd25647"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31405.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31405","state":"PUBLISHED","datePublished":"2026-04-06T07:33:00.544Z","dateUpdated":"2026-08-05T12:22:14.323Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-03-09T15:48:24.086Z"},"containers":{"cna":{"title":"media: dvb-net: fix OOB access in ULE extension header tables","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: dvb-net: fix OOB access in ULE extension header tables\n\nThe ule_mandatory_ext_handlers[] and ule_optional_ext_handlers[] tables\nin handle_one_ule_extension() are declared with 255 elements (valid\nindices 0-254), but the index htype is derived from network-controlled\ndata as (ule_sndu_type & 0x00FF), giving a range of 0-255. When\nhtype equals 255, an out-of-bounds read occurs on the function pointer\ntable, and the OOB value may be called as a function pointer.\n\nAdd a bounds check on htype against the array size before either table\nis accessed. Out-of-range values now cause the SNDU to be discarded."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"e51238718217c4abdb3ccc3b0c0cde265c7ec629","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"b2bd2ee73b697c177157bba534e1b1064c2e66a0","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"29ef43ceb121d67b87f4cbb08439e4e9e732eff8","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"1a6da3dbb9985d00743073a1cc1f96e59f5abc30","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"145e50c2c700fa52b840df7bab206043997dd18e","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"8bde543d2a5f935ba2a6a6325a2e02f8a9256fbe","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"f2b65dcb78c8990e4c68a906627433be1fe38a92","versionType":"git"},{"version":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","status":"affected","lessThan":"24d87712727a5017ad142d63940589a36cd25647","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/dvb-core/dvb_net.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.12","versionType":"semver"},{"version":"5.10.253","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.203","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.167","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.130","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.78","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.19","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.9","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/dvb-core/dvb_net.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e51238718217c4abdb3ccc3b0c0cde265c7ec629"},{"url":"https://git.kernel.org/stable/c/b2bd2ee73b697c177157bba534e1b1064c2e66a0"},{"url":"https://git.kernel.org/stable/c/29ef43ceb121d67b87f4cbb08439e4e9e732eff8"},{"url":"https://git.kernel.org/stable/c/1a6da3dbb9985d00743073a1cc1f96e59f5abc30"},{"url":"https://git.kernel.org/stable/c/145e50c2c700fa52b840df7bab206043997dd18e"},{"url":"https://git.kernel.org/stable/c/8bde543d2a5f935ba2a6a6325a2e02f8a9256fbe"},{"url":"https://git.kernel.org/stable/c/f2b65dcb78c8990e4c68a906627433be1fe38a92"},{"url":"https://git.kernel.org/stable/c/24d87712727a5017ad142d63940589a36cd25647"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL"},"scenarios":[{"lang":"en","value":"AV:N - Malformed DVB ULE SNDUs can be delivered as received network/transport-stream data to a configured DVB network interface. In the highest reasonable deployment, an attacker controlling or injecting into the DVB/IP broadcast feed can reach the vulnerable parser remotely without local device access.\nAC:L - The attacker only needs to craft a valid ULE SNDU with htype 255 and a correct CRC on the selected PID. There is no race or condition outside attacker control once the victim is receiving the ULE feed.\nPR:N - Creating the DVB network interface is CAP_SYS_ADMIN-gated on the victim, but exploitation occurs through inbound transport-stream data after setup. The sender of the malicious ULE packet needs no privileges on the victim system.\nUI:N - No victim action is required to process the malicious SNDU once the DVB network interface is active and receiving. Packet handling occurs asynchronously in the demux receive callback.\nS:U - The vulnerable code executes in the kernel and impacts the same operating-system security authority. There is no VM, IOMMU, or separate sandbox boundary crossed.\nC:H - The bug performs an out-of-bounds read from a kernel function-pointer table and may invoke the resulting pointer in kernel context. Treating the possible control-flow hijack at the higher severity, successful exploitation can expose kernel memory.\nI:H - The out-of-bounds table value may be called as a function pointer, creating a potential kernel control-flow hijack. Under the higher-severity rule, this is scored as potential kernel code execution and arbitrary modification.\nA:H - An invalid or unintended function-pointer call in kernel context can directly trigger an oops or panic. The malicious packet can be sent repeatedly to sustain denial of service."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T12:22:14.323Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.10.253"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"5.15.203"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.1.167"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.6.130"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.12.78"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.18.19"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"6.19.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.12","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}