CVE-2026-143265
not scored yetnetfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport()
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport()
ct_sip_parse_transport() compares the value of the "transport=" header
parameter against "TCP"/"UDP" with strncasecmp(..., 3), but it never
checks that the parsed value is at least 3 bytes long.
ct_sip_parse_param() returns matchlen = end - start, where end is the
next ';' or, when there is no ';', the end of the payload buffer
(limit = dptr + datalen). If the "transport=" value is only 1 or 2
bytes long and runs exactly to the end of the payload (e.g. a REGISTER
request whose Contact header ends in ";transport=T" with no trailing
CRLF), matchlen is less than 3 while strncasecmp() still reads up to 3
bytes, reading 1-2 bytes past the end of the linearized skb data.
Add a matchlen check before the comparison, mirroring the
sdp_media_type() pattern a few lines below, so short values cannot reach
strncasecmp().
The bug was found by LLM-assisted manual review of the SIP helper's
parsers and confirmed with a userspace ASan harness built from the
verbatim parser functions, which reports a heap-buffer-overflow read of
size 2 in strncasecmp() called from ct_sip_parse_transport().
- Published
- 3 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Received
- Sources
- NVDJSONCVE ListJSON
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Linux | Linux | >= ea45f12a2766dae54e5426a23e8f4bafdbe2782e, < 6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661; >= ea45f12a2766dae54e5426a23e8f4bafdbe2782e, < 8f9894aa0af8cef23cf916a8a6aba34db28d76a0; >= ea45f12a2766dae54e5426a23e8f4bafdbe2782e, < 6b6e3d8f12ffb634984db9ed789f42732c5a534c; >= ea45f12a2766dae54e5426a23e8f4bafdbe2782e, < aebdc62c364279d6c4e4adfcdd4501997e4c4c7f; >= ea45f12a2766dae54e5426a23e8f4bafdbe2782e, < 4e8db7acf9431d6e16f33445a65c50c13ae04158; >= ea45f12a2766dae54e5426a23e8f4bafdbe2782e, < 7af52bda65c0bbbf40894aa3df36ac1bb5697984 | 6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661, 8f9894aa0af8cef23cf916a8a6aba34db28d76a0, 6b6e3d8f12ffb634984db9ed789f42732c5a534c, aebdc62c364279d6c4e4adfcdd4501997e4c4c7f, 4e8db7acf9431d6e16f33445a65c50c13ae04158, 7af52bda65c0bbbf40894aa3df36ac1bb5697984 |
| CVE List | Linux | Linux | = 2.6.26 |
References
- https://git.kernel.org/stable/c/4e8db7acf9431d6e16f33445a65c50c13ae04158
- https://git.kernel.org/stable/c/6b6e3d8f12ffb634984db9ed789f42732c5a534c
- https://git.kernel.org/stable/c/6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661
- https://git.kernel.org/stable/c/7af52bda65c0bbbf40894aa3df36ac1bb5697984
- https://git.kernel.org/stable/c/8f9894aa0af8cef23cf916a8a6aba34db28d76a0
- https://git.kernel.org/stable/c/aebdc62c364279d6c4e4adfcdd4501997e4c4c7f
History
- 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
- 3 Dec 2026 10:08 UTC · CVE List: first stored (published 3 Dec 2026)