CVE-2026-23457: netfilter: nf_conntrack_sip: fix Content-Length u32 truncation in sip_help_tcp()

Published Apr 3, 2026
·
Updated

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

netfilter: nfconntracksip: fix Content-Length u32 truncation in siphelptcp()

siphelptcp() parses the SIP Content-Length header with simplestrtoul(), which returns unsigned long, but stores the result in unsigned int clen. On 64-bit systems, values exceeding UINTMAX are silently truncated before computing the SIP message boundary.

For example, Content-Length 4294967328 (2^32 + 32) is truncated to 32, causing the parser to miscalculate where the current message ends. The loop then treats trailing data in the TCP segment as a second SIP message and processes it through the SDP parser.

Fix this by changing clen to unsigned long to match the return type of simplestrtoul(), and reject Content-Length values that exceed the remaining TCP payload length.

Affected Software

12 affected components
Linux Linux kernel (netfilter: nf_conntrack_sip)
Linux Linux kernel>=2.6.34<5.10.253
Linux Linux kernel>=5.11<5.15.203
Linux Linux kernel>=5.16<6.1.167
Linux Linux kernel>=6.2<6.6.130
Linux Linux kernel>=6.7<6.12.78
Linux Linux kernel>=6.13<6.18.20
Linux Linux kernel>=6.19<6.19.10
Linux Linux kernel=7.0-rc1
Linux Linux kernel=7.0-rc2
Linux Linux kernel=7.0-rc3
Linux Linux kernel=7.0-rc4

Event History

Apr 3, 2026
CVE Published
via MITRE·03:15 PM
Data Sourced
via MITRE·03:15 PM
DescriptionSeverity
Data Sourced
via NVD·04:16 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

Which systems are exposed to this issue?

Systems using the Linux kernel's netfilter SIP connection-tracking helper for TCP SIP traffic are exposed. The truncation occurs on 64-bit systems, where an oversized SIP Content-Length value can exceed the range of the unsigned int variable used by the vulnerable code.

2

What does an attacker need to send to trigger the flawed parsing?

An attacker needs to deliver a TCP SIP message with a Content-Length value larger than UINT_MAX, such as 4294967328, and include trailing data in the TCP segment. The truncated length can cause that trailing data to be handled as a second SIP message and passed to the SDP parser.

3

What changes in the fix?

The fix stores Content-Length in an unsigned long rather than an unsigned int, avoiding truncation of the value returned by simple_strtoul(). It also rejects Content-Length values greater than the remaining TCP payload length.

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