CVE-2026-52986

netfilter: nf_conntrack_sip: don't use simple_strtoul

9.8 critical EPSS 0.77%

Published 24 Jun 2026 Updated 10 Nov 2026 CNA: Linux

Check your servers for CVE-2026-52986

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-52986 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

netfilter: nf_conntrack_sip: don't use simple_strtoul

Replace unsafe port parsing in epaddr_len(), ct_sip_parse_header_uri(), and ct_sip_parse_request() with a new sip_parse_port() helper that validates each digit against the buffer limit, eliminating the use of simple_strtoul() which assumes NUL-terminated strings.

The previous code dereferenced pointers without bounds checks after sip_parse_addr() and relied on simple_strtoul() on non-NUL-terminated skb data. A port that reaches the buffer limit without a trailing character is also rejected as malformed.

Also get rid of all simple_strtoul() usage in conntrack, prefer a stricter version instead. There are intentional changes:

- Bail out if number is > UINT_MAX and indicate a failure, same for too long sequences. While we do accept 05535 as port 5535, we will not accept e.g. 'sip:10.0.0.1:005060'. While its syntactically valid under RFC 3261, we should restrict this to not waste cycles when presented with malformed packets with 64k '0' characters.

- Force base 10 in ct_sip_parse_numerical_param(). This is used to fetch 'expire=' and 'rports='; both are expected to use base-10.

- In nf_nat_sip.c, only accept the parsed value if its within the 1k-64k range.

- epaddr_len now returns 0 if the port is invalid, as it already does for invalid ip addresses. This is intentional. nf_conntrack_sip performs lots of guesswork to find the right parts of the message to parse. Being stricter could break existing setups. Connection tracking helpers are designed to allow traffic to pass, not to block it.

Based on an earlier patch from Jenny Guanni Qu <qguanni@gmail.com>.

Severity (CVSS)

9.8 critical CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.77%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 56.9% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 16 Oct 2026):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
yes: an attacker can automate the attack across many targets
Technical impact
total: full control of the component or of its data

Weakness

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 05e3ced297fe755093140e7487e292fb7603316e, before 8cd0358379570003659186706e077929d6930c40
affected from 05e3ced297fe755093140e7487e292fb7603316e, before 9c6afcb1c3cbb2c0da65b8515ac14d7273872f84
affected from 05e3ced297fe755093140e7487e292fb7603316e, before b3264c977e79d8a25778d4fd11520f00fea1329c
affected from 05e3ced297fe755093140e7487e292fb7603316e, before ea2ecd29b8f4433e52607192ca91084f95787ca0
affected from 05e3ced297fe755093140e7487e292fb7603316e, before 9f69c323ae0ab517e595c2cc74e0ae0d9d085611
affected from 05e3ced297fe755093140e7487e292fb7603316e, before 7df9863bf538a626e8a684e59cb2c43eac0ef3c8
affected from 05e3ced297fe755093140e7487e292fb7603316e, before 523762e3b6933fff81f01dfa3c60c0774044cdab
affected from 05e3ced297fe755093140e7487e292fb7603316e, before 8cf6809cddcbe301aedfc6b51bcd4944d45795f6
Other versions: unaffected
Linux
affected 2.6.26
unaffected before 2.6.26
unaffected from 5.10.258 up to and including 5.10.*
unaffected from 5.15.209 up to and including 5.15.*
unaffected from 6.1.175 up to and including 6.1.*
unaffected from 6.6.141 up to and including 6.6.*
unaffected from 6.12.91 up to and including 6.12.*
unaffected from 6.18.33 up to and including 6.18.*
unaffected from 7.0.10 up to and including 7.0.*
unaffected 7.1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-52986 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-52986

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-52986
trivy image --scanners vuln IMAGE | grep CVE-2026-52986

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-52986 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.