{"id":"CVE-2026-143265","summary":"netfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport()\n\nct_sip_parse_transport() compares the value of the \"transport=\" header\nparameter against \"TCP\"/\"UDP\" with strncasecmp(..., 3), but it never\nchecks that the parsed value is at least 3 bytes long.\n\nct_sip_parse_param() returns matchlen = end - start, where end is the\nnext ';' or, when there is no ';', the end of the payload buffer\n(limit = dptr + datalen).  If the \"transport=\" value is only 1 or 2\nbytes long and runs exactly to the end of the payload (e.g. a REGISTER\nrequest whose Contact header ends in \";transport=T\" with no trailing\nCRLF), matchlen is less than 3 while strncasecmp() still reads up to 3\nbytes, reading 1-2 bytes past the end of the linearized skb data.\n\nAdd a matchlen check before the comparison, mirroring the\nsdp_media_type() pattern a few lines below, so short values cannot reach\nstrncasecmp().\n\nThe bug was found by LLM-assisted manual review of the SIP helper's\nparsers and confirmed with a userspace ASan harness built from the\nverbatim parser functions, which reports a heap-buffer-overflow read of\nsize 2 in strncasecmp() called from ct_sip_parse_transport().","modified":"2026-12-03T11:01:54.382729670Z","published":"2026-12-03T09:21:09.193Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143265.json"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4e8db7acf9431d6e16f33445a65c50c13ae04158"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6b6e3d8f12ffb634984db9ed789f42732c5a534c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7af52bda65c0bbbf40894aa3df36ac1bb5697984"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f9894aa0af8cef23cf916a8a6aba34db28d76a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aebdc62c364279d6c4e4adfcdd4501997e4c4c7f"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143265.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143265"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e"},{"fixed":"6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661"},{"fixed":"8f9894aa0af8cef23cf916a8a6aba34db28d76a0"},{"fixed":"6b6e3d8f12ffb634984db9ed789f42732c5a534c"},{"fixed":"aebdc62c364279d6c4e4adfcdd4501997e4c4c7f"},{"fixed":"4e8db7acf9431d6e16f33445a65c50c13ae04158"},{"fixed":"7af52bda65c0bbbf40894aa3df36ac1bb5697984"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143265.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.26"},{"fixed":"5.10.276"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143265.json"}}],"schema_version":"1.9.2"}