{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "014ab19a69c325f52d7bae54ceeda73d6307ae0c"
            },
            {
              "fixed": "699141380f7f249b7ee594198d9bea6bcd4862ea"
            },
            {
              "fixed": "4077bd2bcebf43922f84aa87f6839153212df509"
            },
            {
              "fixed": "0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7"
            },
            {
              "fixed": "1f1f8e8c5176234fa31858cd25f2e9b88aac0a45"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.28"
            },
            {
              "fixed": "6.12.118"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.64"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.5"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99725.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ncipso: fix optlen corruption in cipso_v4_delopt()\n\ncipso_v4_delopt() recomputes the option length by walking the option\nbuffer after the CIPSO option has been moved out.  The walk then reads\nthe stale bytes at the tail of the buffer as option data, and a crafted\nsetsockopt(IP_OPTIONS) buffer can make it treat one of them as an option\nlength, increasing opt-\u003eopt.optlen beyond the valid option data.\n\nThe corrupted length stays on the socket and is later used as the copy\nlength by getsockopt(IP_OPTIONS) and by the udp/raw/ping sendmsg paths,\nwhere it exceeds the size of the buffers they copy into.\n\nCompute the new length from the intact options before the move and\nsubtract the CIPSO length, and fill the padding with IPOPT_END.",
  "id": "CVE-2026-99725",
  "modified": "2026-11-20T06:45:18.783744740Z",
  "published": "2026-11-20T05:51:01.408Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1f1f8e8c5176234fa31858cd25f2e9b88aac0a45"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/4077bd2bcebf43922f84aa87f6839153212df509"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/699141380f7f249b7ee594198d9bea6bcd4862ea"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99725.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99725"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "cipso: fix optlen corruption in cipso_v4_delopt()"
}