CVE-2026-52986·Kernel vulnerability
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
- critical
- Software
- Kernel
- Fixed in
- 7.0.10
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.62% — higher than 48% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-52986 scores 9.8 on CVSS, so a successful attack would be serious — but at 0.62%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
Affected versions
From: 6.19
Until: 7.0.10
Fixed in: 7.0.10
How to fix this CVE
Update your Linux kernel to version 7.0.10 or later to patch unsafe port parsing in the netfilter SIP connection tracking module. This vulnerability allows remote attackers to trigger memory corruption through malformed SIP packets without authentication. Kernel updates should be applied immediately followed by a system reboot to activate the patched kernel.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check installed kernel version: uname -r — ensure version is 7.0.10 or later
- Verify nf_conntrack_sip module is loaded: lsmod | grep nf_conntrack_sip — if listed, SIP connection tracking is active
- Search system logs for SIP parsing errors: grep -i 'sip.*parse\|nf_conntrack.*error' /var/log/kern.log — look for repeated malformed packet warnings
- Confirm patch application by checking kernel build timestamp: cat /proc/version — compare against your kernel release date to ensure update was applied
FAQ
What is CVE-2026-52986?
This vulnerability exists in the Linux kernel's netfilter SIP connection tracking module where port parsing functions failed to validate buffer boundaries before dereferencing memory. An attacker can craft malformed SIP packets with oversized or improperly terminated port numbers, triggering out-of-bounds reads and potential code execution.
Is CVE-2026-52986 being actively exploited?
No, according to CISA's Known Exploited Vulnerabilities catalog, CVE-2026-52986 is not currently being actively exploited in the wild, though the critical CVSS score (9.8) warrants immediate patching due to its high impact potential.
What versions of Kernel are affected by CVE-2026-52986?
Linux kernel versions 6.19 through 7.0.9 are vulnerable. Version 7.0.10 and later contain the fix that replaces unsafe simple_strtoul() calls with proper bounds-checked port parsing.
How do I check if my server is vulnerable to CVE-2026-52986?
Run 'uname -r' to display your kernel version — if it shows 6.19 to 7.0.9, your system is vulnerable. Additionally, confirm SIP connection tracking is enabled with 'lsmod | grep nf_conntrack_sip'.
Does Defensia detect CVE-2026-52986?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2026-52986 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
- https://git.kernel.org/stable/c/523762e3b6933fff81f01dfa3c60c0774044cdab
- https://git.kernel.org/stable/c/7df9863bf538a626e8a684e59cb2c43eac0ef3c8
- https://git.kernel.org/stable/c/8cd0358379570003659186706e077929d6930c40
- https://git.kernel.org/stable/c/8cf6809cddcbe301aedfc6b51bcd4944d45795f6
- https://git.kernel.org/stable/c/9c6afcb1c3cbb2c0da65b8515ac14d7273872f84
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-52986. Free for 1 server.
Get started free