Skip to content
Heist/ feed
Back to feed
CriticalFix available

netfilter: conntrack: remove sprintf usage

Type: advisorySources: OSV

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

Products
Kernel
Affected versions
Not specified
Fixed versions
5.10.258, 5.15.209, 6.1.175, 6.12.91, 6.18.33, 6.6.141, 7.0.10
CVEs
CVE-2026-53002
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:24 UTC · Revision 1

Source evidence

netfilter: conntrack: remove sprintf usage

core-osv · Original source

Published 24 Jun 2026, 16:29 UTC

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

osv:CVE-2026-53002

Kernel

Fixed versions: 5.10.258, 5.15.209, 6.1.175, 6.6.141, 6.12.91, 6.18.33, 7.0.10

Complete source record
{
  "id": "51f86197429fb59e0cb6dc94677cb9a9bb8c8c4c748d1944c20a39f1921dbcbe",
  "url": "https://osv.dev/vulnerability/CVE-2026-53002",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "netfilter: conntrack: remove sprintf usage",
    "summary": "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 [..]",
    "evidence": "osv:CVE-2026-53002",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.10.258",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.209",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.175",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.141",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.91",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.33",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.0.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-53002",
      "aliases": [
        "CVE-2026-53002"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9fafcd7b203229c3f3893a475741afc27e276306"
                },
                {
                  "fixed": "2f793ba78470a99f40389b7dc60a81d9f5ad3956"
                },
                {
                  "fixed": "6bbf829b4c1b44c941c47dd0d710f1393258f3d5"
                },
                {
                  "fixed": "ab64e61c9323fa6de21bd20da1ddb29a0fb65d34"
                },
                {
                  "fixed": "1c9fb8aeed06790d42cdcd00f6c3ce0b9e926c1e"
                },
                {
                  "fixed": "a8e0a32a23d3f34862af3b4da792ecb3a891a9a3"
                },
                {
                  "fixed": "8e3be0d12615a173fe260cd42753ca7a001acbf2"
                },
                {
                  "fixed": "c08ff52e44945e6ef4ce0790f49ea761b060c45b"
                },
                {
                  "fixed": "6e7066bdb481a87fe88c4fa563e348c03b2d373d"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53002.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "2.6.20"
                },
                {
                  "fixed": "5.10.258"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.209"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.175"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.141"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.91"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.33"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.0.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53002.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.672866115Z",
      "provider": "osv",
      "references": [
        "https://cert-portal.siemens.com/productcert/html/ssa-019113.html",
        "https://cert-portal.siemens.com/productcert/html/ssa-457936.html",
        "https://git.kernel.org/stable/c/1c9fb8aeed06790d42cdcd00f6c3ce0b9e926c1e",
        "https://git.kernel.org/stable/c/2f793ba78470a99f40389b7dc60a81d9f5ad3956",
        "https://git.kernel.org/stable/c/6bbf829b4c1b44c941c47dd0d710f1393258f3d5",
        "https://git.kernel.org/stable/c/6e7066bdb481a87fe88c4fa563e348c03b2d373d",
        "https://git.kernel.org/stable/c/8e3be0d12615a173fe260cd42753ca7a001acbf2",
        "https://git.kernel.org/stable/c/a8e0a32a23d3f34862af3b4da792ecb3a891a9a3",
        "https://git.kernel.org/stable/c/ab64e61c9323fa6de21bd20da1ddb29a0fb65d34",
        "https://git.kernel.org/stable/c/c08ff52e44945e6ef4ce0790f49ea761b060c45b",
        "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-53002.json",
        "https://access.redhat.com/errata/RHSA-2026:64770",
        "https://access.redhat.com/errata/RHSA-2026:66000",
        "https://access.redhat.com/errata/RHSA-2026:66180",
        "https://access.redhat.com/security/cve/CVE-2026-53002",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53002.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-53002",
        "https://bugzilla.redhat.com/show_bug.cgi?id=2492329",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53002.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-53002",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503044,
  "published_at": "2026-06-24T16:29:14.391+00:00"
}