All vulnerabilities

Servers and applications

CVE-2026-52986

netfilter: nf_conntrack_sip: don't use simple_strtoul

Severity
Critical 9.8
Published
24 Jun 2026
Last changed
10 Nov 2026
Added to UpHeron
10 Nov 2026
Fixed in
5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10
Exploit chance
0.6% in the next 30 daysHigher than 51% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Out-of-bounds read (CWE-125)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Sources
CVE Program

Description

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

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'.
From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Linux kernelServers and applications · cna:linux|linux
  • From 6.19 before 7.0.10
  • From 6.13 before 6.18.33
  • From 6.7 before 6.12.91
  • From 6.2 before 6.6.141
All 7 release lines
  • From 2.6.26 before 5.10.258
  • From 5.11 before 5.15.209
  • From 5.16 before 6.1.175
  • From 6.2 before 6.6.141
  • From 6.7 before 6.12.91
  • From 6.13 before 6.18.33
  • From 6.19 before 7.0.10

About Linux kernel

Unix-like operating system kernel, basis for all Linux operating systems

From Wikidata, CC0 1.0.
GitHub stars
255,726GitHub, 15 Nov 2026
Forks
67,394GitHub, 15 Nov 2026
Developer
Linus TorvaldsWikidata
License
GNU General Public License, version 2.0Wikidata
Written in
CWikidata
First released
25 Aug 1991Wikidata
First published on GitHub
4 Sept 2011GitHub

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-52986