{"api_version":"1","generated_at":"2026-11-20T07:30:04+00:00","cve":"CVE-2026-99725","urls":{"html":"https://cve.report/CVE-2026-99725","api":"https://cve.report/api/cve/CVE-2026-99725.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-99725","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-99725"},"summary":{"title":"cipso: fix optlen corruption in cipso_v4_delopt()","description":"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->opt.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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-20 06:18:09","updated_at":"2026-11-20 06:18:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/699141380f7f249b7ee594198d9bea6bcd4862ea","name":"https://git.kernel.org/stable/c/699141380f7f249b7ee594198d9bea6bcd4862ea","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1f1f8e8c5176234fa31858cd25f2e9b88aac0a45","name":"https://git.kernel.org/stable/c/1f1f8e8c5176234fa31858cd25f2e9b88aac0a45","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7","name":"https://git.kernel.org/stable/c/0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/4077bd2bcebf43922f84aa87f6839153212df509","name":"https://git.kernel.org/stable/c/4077bd2bcebf43922f84aa87f6839153212df509","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-99725","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99725","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 014ab19a69c325f52d7bae54ceeda73d6307ae0c 699141380f7f249b7ee594198d9bea6bcd4862ea git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 014ab19a69c325f52d7bae54ceeda73d6307ae0c 4077bd2bcebf43922f84aa87f6839153212df509 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 014ab19a69c325f52d7bae54ceeda73d6307ae0c 0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 014ab19a69c325f52d7bae54ceeda73d6307ae0c 1f1f8e8c5176234fa31858cd25f2e9b88aac0a45 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 2.6.28","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 2.6.28 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.118 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.64 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.5 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv4/cipso_ipv4.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"699141380f7f249b7ee594198d9bea6bcd4862ea","status":"affected","version":"014ab19a69c325f52d7bae54ceeda73d6307ae0c","versionType":"git"},{"lessThan":"4077bd2bcebf43922f84aa87f6839153212df509","status":"affected","version":"014ab19a69c325f52d7bae54ceeda73d6307ae0c","versionType":"git"},{"lessThan":"0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7","status":"affected","version":"014ab19a69c325f52d7bae54ceeda73d6307ae0c","versionType":"git"},{"lessThan":"1f1f8e8c5176234fa31858cd25f2e9b88aac0a45","status":"affected","version":"014ab19a69c325f52d7bae54ceeda73d6307ae0c","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv4/cipso_ipv4.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"2.6.28"},{"lessThan":"2.6.28","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.118","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.64","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.118","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.64","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.5","versionStartIncluding":"2.6.28","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"2.6.28","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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->opt.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."}],"providerMetadata":{"dateUpdated":"2026-11-20T05:51:01.408Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/699141380f7f249b7ee594198d9bea6bcd4862ea"},{"url":"https://git.kernel.org/stable/c/4077bd2bcebf43922f84aa87f6839153212df509"},{"url":"https://git.kernel.org/stable/c/0d9a6f9778ccd4401ded4ec9faf750b7b4a14ce7"},{"url":"https://git.kernel.org/stable/c/1f1f8e8c5176234fa31858cd25f2e9b88aac0a45"}],"title":"cipso: fix optlen corruption in cipso_v4_delopt()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-99725","datePublished":"2026-11-20T05:51:01.408Z","dateReserved":"2026-09-25T10:25:14.431Z","dateUpdated":"2026-11-20T05:51:01.408Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-20 06:18:09","lastModifiedDate":"2026-11-20 06:18:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"99725","Ordinal":"1","Title":"cipso: fix optlen corruption in cipso_v4_delopt()","CVE":"CVE-2026-99725","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"99725","Ordinal":"1","NoteData":"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->opt.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.","Type":"Description","Title":"cipso: fix optlen corruption in cipso_v4_delopt()"}]}}}