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

netfilter: conntrack: remove sprintf usage

Replace it with scnprintf, the buffer sizes are expected to be large enough
to hold the result, no need for snprintf+overflow check.

Increase buffer size in mangle_content_len() while at it.

BUG: KASAN: stack-out-of-bounds in vsnprintf+0xea5/0x1270
Write of size 1 at addr [..]
vsnprintf+0xea5/0x1270
sprintf+0xb1/0xe0
mangle_content_len+0x1ac/0x280
nf_nat_sdp_session+0x1cc/0x240
process_sdp+0x8f8/0xb80
process_invite_request+0x108/0x2b0
process_sip_msg+0x5da/0xf50
sip_help_tcp+0x45e/0x780
nf_confirm+0x34d/0x990
[..]
Published: 2026-06-24
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A stack‑based buffer overflow originates in the netfilter conntrack subsystem of the Linux kernel, triggered by an unsafe sprintf call during the handling of certain packet contents. The code uses the size‑limited versusnprintf infrastructure, yet the buffer is not protected, causing a stack‑out‑of‑bounds write as identified by KASAN. This flaw can corrupt kernel memory and enables arbitrary execution of code with kernel privileges. The vulnerability is a buffer overflow and a memory management issue (CWE-787).

Affected Systems

All Linux kernel builds that include the netfilter conntrack module and have not yet incorporated the commit that replaces sprintf with scnprintf. The impact is not limited to a specific distribution or version; any kernel prior to that change is potentially vulnerable.

Risk and Exploitability

The EPSS score indicates a very low exploitation probability, reported as < 1%, and the flaw is not listed in the CISA KEV catalog, yet the severity is high because kernel memory corruption can lead to remote code execution. Exploitation would require an attacker to send a specially crafted packet that exercises the vulnerable path. Based on the description, the likely attack vector is network‑based, enabling a remote host to trigger the overflow by SDP traffic to the host. This attack vector is inferred, as it is not explicitly documented in the data. The CVSS score of 9.8 underscores a critical severity level.

Generated by OpenCVE AI on June 28, 2026 at 13:40 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version containing the netfilter conntrack fix that removes the unsafe sprintf usage and enlarges the buffer.
  • If a kernel update cannot be performed immediately, cherry‑pick the patch that replaces sprintf with scnprintf in the conntrack code and rebuild the kernel.
  • As a temporary defense, restrict or block incoming SIP/SDP traffic with firewall rules to reduce exposure to the vulnerable code path.

Generated by OpenCVE AI on June 28, 2026 at 13:40 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4664-1 linux security update
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
History

Sun, 28 Jun 2026 08:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}


Fri, 26 Jun 2026 04:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120

Fri, 26 Jun 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-787
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Important


Wed, 24 Jun 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-120

Wed, 24 Jun 2026 17:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: netfilter: conntrack: remove sprintf usage Replace it with scnprintf, the buffer sizes are expected to be large enough to hold the result, no need for snprintf+overflow check. Increase buffer size in mangle_content_len() while at it. BUG: KASAN: stack-out-of-bounds in vsnprintf+0xea5/0x1270 Write of size 1 at addr [..] vsnprintf+0xea5/0x1270 sprintf+0xb1/0xe0 mangle_content_len+0x1ac/0x280 nf_nat_sdp_session+0x1cc/0x240 process_sdp+0x8f8/0xb80 process_invite_request+0x108/0x2b0 process_sip_msg+0x5da/0xf50 sip_help_tcp+0x45e/0x780 nf_confirm+0x34d/0x990 [..]
Title netfilter: conntrack: remove sprintf usage
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-15T00:45:24.055Z

Reserved: 2026-06-09T07:44:35.377Z

Link: CVE-2026-53002

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Important

Publid Date: 2026-06-24T00:00:00Z

Links: CVE-2026-53002 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-28T13:45:06Z

Weaknesses