cveboard RSS feed

CVE-2026-52986

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2026
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

netfilter: nf_conntrack_sip: don't use simple_strtoul

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>.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
unaffected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
05e3ced297fe755093140e7487e292fb7603316eaffectedgit8cd0358379570003659186706e077929d6930c40UnavailableNone listed
05e3ced297fe755093140e7487e292fb7603316eaffectedgit9c6afcb1c3cbb2c0da65b8515ac14d7273872f84UnavailableNone listed
05e3ced297fe755093140e7487e292fb7603316eaffectedgitb3264c977e79d8a25778d4fd11520f00fea1329cUnavailableNone listed
05e3ced297fe755093140e7487e292fb7603316eaffectedgitea2ecd29b8f4433e52607192ca91084f95787ca0UnavailableNone listed
05e3ced297fe755093140e7487e292fb7603316eaffectedgit9f69c323ae0ab517e595c2cc74e0ae0d9d085611UnavailableNone listed
05e3ced297fe755093140e7487e292fb7603316eaffectedgit7df9863bf538a626e8a684e59cb2c43eac0ef3c8UnavailableNone listed
05e3ced297fe755093140e7487e292fb7603316eaffectedgit523762e3b6933fff81f01dfa3c60c0774044cdabUnavailableNone listed
05e3ced297fe755093140e7487e292fb7603316eaffectedgit8cf6809cddcbe301aedfc6b51bcd4944d45795f6UnavailableNone listed

Linux

Vendor
Linux
Product
Linux
Platforms
Unknown
Default status
affected
Linux · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
2.6.26affectedUnavailableUnavailableUnavailableNone listed
0unaffectedsemver2.6.26UnavailableNone listed
5.10.258unaffectedsemverUnavailable5.10.*None listed
5.15.209unaffectedsemverUnavailable5.15.*None listed
6.1.175unaffectedsemverUnavailable6.1.*None listed
6.6.141unaffectedsemverUnavailable6.6.*None listed
6.12.91unaffectedsemverUnavailable6.12.*None listed
6.18.33unaffectedsemverUnavailable6.18.*None listed
7.0.10unaffectedsemverUnavailable7.0.*None listed
7.1unaffectedoriginal_commit_for_fixUnavailable*None listed