← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel SIP Conntrack NULL Pointer Dereference via Unsafe Port Parsing on Siemens SIMATIC S7-1500 MFP

Last refreshed2026-11-17

Status: UPDATED  |  Advisory ID: CVE-2026-52986

Key Details

CVECVE-2026-52986
CVSS Score / Version
9.8 (Critical) / CVSS v3.1
Updated2026-11-10
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is network; attack complexity is low; privileges required is none; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
see table below
Classified as
CWE-476 (NULL Pointer Dereference)
Exploitation prediction (EPSS)
0.63% probability of exploitation in the next 30 days (51% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)
SubsystemsControllers & Field I/O, OT Supporting Infrastructure
SectorsAll Sectors

What to Know

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 <[email protected]>. (NVD)

What to Do

Currently no fix is available. Siemens has identified the following specific mitigations that customers can apply to reduce the risk: Limit access to the interactive shell of the additional GNU/Linux subsystem to trusted personnel only. Only build and run applications from trusted sources.
Source: Siemens SSA-457936

1 other advisory states the same guidance

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-52986
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-52986
Vendor advisoryhttps://cert-portal.siemens.com/productcert/html/ssa-019113.html
Vendor advisoryhttps://cert-portal.siemens.com/productcert/html/ssa-457936.html
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.