CVE-2026-143265: netfilter: nf_conntrack_sip: fix OOB read in ct_sip_parse_transport()

Published Dec 3, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nfconntracksip: fix OOB read in ctsipparsetransport()

ctsipparsetransport() 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.

ctsipparseparam() 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 sdpmediatype() 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 ctsipparsetransport().

Affected Software

6 affected componentsFixes available
Linux Linux kernel
linux/kernel>=2.6.26<5.10.276
5.10.276
linux/kernel>=5.11.0<5.15.227
5.15.227
linux/kernel>=5.16.0<6.12.120
6.12.120
linux/kernel>=6.13.0<6.18.66
6.18.66
linux/kernel>=6.19.0<7.3.7
7.3.7

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.10.276
  2. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 5.15.227
  3. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.12.120
  4. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 6.18.66
  5. Upgrade

    Upgrade linux/Kernel to a version that resolves this vulnerability.

    Fixed in 7.3.7
  6. Compensating control

    In ct_sip_parse_transport(), check that matchlen is at least 3 before calling strncasecmp() on the transport value.

Event History

Dec 3, 2026
CVE Published
via MITRE·09:21 AM
Data Sourced
via MITRE·09:21 AM
Description
Data Sourced
via OSV·09:21 AM
DescriptionAffected Software
Data Sourced
via NVD·10:18 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel SIP conntrack helper and processing SIP traffic with a parsed Contact-header transport parameter are exposed to the affected parsing path. The provided information does not state whether this helper is enabled by default.

2

What does an attacker need to send to trigger the out-of-bounds read?

An attacker needs to provide SIP traffic in which the transport parameter is only one or two bytes long and ends exactly at the payload boundary, such as a REGISTER request ending in ";transport=T" without trailing CRLF. This allows the parser to call strncasecmp with fewer than the three bytes it compares.

3

What is the observed effect of successful triggering?

The parser reads one or two bytes beyond the end of linearized skb data. A userspace ASan harness confirmed this as a heap-buffer-overflow read in strncasecmp.

4

Are fixes identified in the provided data?

Yes. The provided references identify stable-kernel fixes with commit IDs 6ff9abaf49060fc3809bbd6ab7d8cea0ac48b661, 8f9894aa0af8cef23cf916a8a6aba34db28d76a0, and 6b6e3d8f12ffb634984db9ed789f42732c5a534c.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203