{"id":"CVE-2026-143265","state":"PUBLISHED","title":"netfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport()","description":"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().","publishedAt":"2026-12-03T09:21:09.193Z","updatedAt":"2026-12-03T09:21:09.193Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"8f9894aa0af8cef23cf916a8a6aba34db28d76a0","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"6b6e3d8f12ffb634984db9ed789f42732c5a534c","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"aebdc62c364279d6c4e4adfcdd4501997e4c4c7f","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"4e8db7acf9431d6e16f33445a65c50c13ae04158","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"7af52bda65c0bbbf40894aa3df36ac1bb5697984","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_conntrack_sip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.26","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.26","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_conntrack_sip.c"]}],"references":["https://git.kernel.org/stable/c/6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661","https://git.kernel.org/stable/c/8f9894aa0af8cef23cf916a8a6aba34db28d76a0","https://git.kernel.org/stable/c/6b6e3d8f12ffb634984db9ed789f42732c5a534c","https://git.kernel.org/stable/c/aebdc62c364279d6c4e4adfcdd4501997e4c4c7f","https://git.kernel.org/stable/c/4e8db7acf9431d6e16f33445a65c50c13ae04158","https://git.kernel.org/stable/c/7af52bda65c0bbbf40894aa3df36ac1bb5697984"],"weaknesses":[],"ingestedAt":"2026-12-03T09:42:04.348Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143265.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143265","state":"PUBLISHED","datePublished":"2026-12-03T09:21:09.193Z","dateUpdated":"2026-12-03T09:21:09.193Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.363Z"},"containers":{"cna":{"title":"netfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport()","descriptions":[{"lang":"en","value":"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()."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"8f9894aa0af8cef23cf916a8a6aba34db28d76a0","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"6b6e3d8f12ffb634984db9ed789f42732c5a534c","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"aebdc62c364279d6c4e4adfcdd4501997e4c4c7f","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"4e8db7acf9431d6e16f33445a65c50c13ae04158","versionType":"git"},{"version":"ea45f12a2766dae54e5426a23e8f4bafdbe2782e","status":"affected","lessThan":"7af52bda65c0bbbf40894aa3df36ac1bb5697984","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_conntrack_sip.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"2.6.26","status":"affected"},{"version":"0","status":"unaffected","lessThan":"2.6.26","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["net/netfilter/nf_conntrack_sip.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661"},{"url":"https://git.kernel.org/stable/c/8f9894aa0af8cef23cf916a8a6aba34db28d76a0"},{"url":"https://git.kernel.org/stable/c/6b6e3d8f12ffb634984db9ed789f42732c5a534c"},{"url":"https://git.kernel.org/stable/c/aebdc62c364279d6c4e4adfcdd4501997e4c4c7f"},{"url":"https://git.kernel.org/stable/c/4e8db7acf9431d6e16f33445a65c50c13ae04158"},{"url":"https://git.kernel.org/stable/c/7af52bda65c0bbbf40894aa3df36ac1bb5697984"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:09.193Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.26","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.26","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.26","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.26","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.26","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"2.6.26","versionEndExcluding":"7.4-rc3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}