Quick answers
- Is CVE-2026-31518 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-31518 being exploited in the wild.
- How severe is CVE-2026-31518?
- Medium severity, with a CVSS score of 5.5, published 22 April 2026.
- Which products and versions are affected?
- Linux Kernel Fixed in 6.1.85, 6.6.26, 6.8.5, and other stable branches; affects versions with espintcp support; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5, V3.1.6; Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6.
- Is there a fix for CVE-2026-31518?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-31518 attacked?
- It is attacked with local access, in an operating system.
- Am I affected by CVE-2026-31518?
- Check whether you run Linux Kernel, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP, Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
A memory leak (CWE-401) exists in the Linux kernel's ESP (Encapsulating Security Payload) implementation within net/ipv4/esp4.c and net/ipv6/esp6.c. The vulnerability occurs when using TCP encapsulation for ESP (espintcp) combined with asynchronous cryptographic operations. When the transmit (TX) queue is full, the function esp_output_tail_tcp returns an error; however, unlike the synchronous crypto path where the XFRM output code handles packet disposal, the asynchronous path (esp_output_done) fails to free the socket buffer (skb). A local attacker could potentially exploit this to exhaust system memory, leading to a denial of service. The issue has been resolved by ensuring kfree_skb is called when esp_output_tail_tcp returns an error in the async path.
Affected products
- Linux Linux Kernel Fixed in 6.1.85, 6.6.26, 6.8.5, and other stable branches; affects versions with espintcp support
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5, V3.1.6
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6
Timeline
- 2026-02-24: disclosed: Initial patch authored by Sabrina Dubroca
- 2026-04-22: advisory: NVD publication date
- 2026-07-14: other: Siemens advisory enrichment added to CVE record
References
- https://git.kernel.org/stable/c/0c0eef8ccd2413b0a10eb6bbd3442333b1e64dd2
- https://git.kernel.org/stable/c/41aafca57de4a4c026701622bd4648f112a9edcd
- https://git.kernel.org/stable/c/4820847e036ff1035b01b69ad68dfc17e7028fe9
- https://git.kernel.org/stable/c/6a3ec6efbc4f90e0ccb2e71574f07351f19996f4
- https://git.kernel.org/stable/c/6aa9841d917532d0f2d932d1ff2f3a94305aaf47
- https://git.kernel.org/stable/c/88d386243ed374ac969dabd3bbc1409a31d81818
- https://git.kernel.org/stable/c/aca3ad0c262f54a5b5c95dda80a48365997d1224