CVE-2026-53002

netfilter: conntrack: remove sprintf usage

State
Published
Severity
9.8 Critical
Published
Jun 24, 2026
Updated
Oct 19, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.19.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
3.17.0 HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Hredhat-SADP

Weaknesses

Affected Products

ProductVersions
LinuxLinux
  • 9fafcd7b203229c3f3893a475741afc27e276306 to before 2f793ba78470a99f40389b7dc60a81d9f5ad3956Affected
  • 9fafcd7b203229c3f3893a475741afc27e276306 to before 6bbf829b4c1b44c941c47dd0d710f1393258f3d5Affected
  • 9fafcd7b203229c3f3893a475741afc27e276306 to before ab64e61c9323fa6de21bd20da1ddb29a0fb65d34Affected
  • 9fafcd7b203229c3f3893a475741afc27e276306 to before 1c9fb8aeed06790d42cdcd00f6c3ce0b9e926c1eAffected
  • 9fafcd7b203229c3f3893a475741afc27e276306 to before a8e0a32a23d3f34862af3b4da792ecb3a891a9a3Affected
  • 9fafcd7b203229c3f3893a475741afc27e276306 to before 8e3be0d12615a173fe260cd42753ca7a001acbf2Affected
  • 9fafcd7b203229c3f3893a475741afc27e276306 to before c08ff52e44945e6ef4ce0790f49ea761b060c45bAffected
  • 9fafcd7b203229c3f3893a475741afc27e276306 to before 6e7066bdb481a87fe88c4fa563e348c03b2d373dAffected
LinuxLinux
  • 2.6.20Affected
  • before 2.6.20Not affected
  • 5.10.258 through 5.10.*Not affected
  • 5.15.209 through 5.15.*Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.141 through 6.6.*Not affected
  • 6.12.91 through 6.12.*Not affected
  • 6.18.33 through 6.18.*Not affected
  • 7.0.10 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.