# af_key: validate families in pfkey_send_migrate()

CVE record · `CVE-2026-31515`

- **Identifiers:** `CVE-2026-31515`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 22 Apr 2026
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 22 Apr 2026, 13:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `08de61beab8a21c8e0b3906a97defda5f1f66ece to before d0c5aa8dd38887714f1aad04236a3620b56a5e4e` (git)
  - affected: `08de61beab8a21c8e0b3906a97defda5f1f66ece to before e06b596fc4eb01936a2e5dccad17c946d660bab8` (git)
  - affected: `08de61beab8a21c8e0b3906a97defda5f1f66ece to before 8ddf8de7e758f6888988467af9ffc8adf589fb16` (git)
  - affected: `08de61beab8a21c8e0b3906a97defda5f1f66ece to before d3225e6b9bd51ec177970a628fe4b11237ce87d5` (git)
  - affected: `08de61beab8a21c8e0b3906a97defda5f1f66ece to before 7b18692c59afb8e5c364c8e3ac01e51dd6b52028` (git)
  - affected: `08de61beab8a21c8e0b3906a97defda5f1f66ece to before 83f644ea92987c100b82d8481ae2230faeed3d34` (git)
  - affected: `08de61beab8a21c8e0b3906a97defda5f1f66ece to before ee836e820a40e2ca4da8af7310bff92d586772d4` (git)
  - affected: `08de61beab8a21c8e0b3906a97defda5f1f66ece to before eb2d16a7d599dc9d4df391b5e660df9949963786` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.21`
  - unaffected: `before 2.6.21` (semver)
  - unaffected: `5.10.253 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.203 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.168 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.131 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.80 to 6.12.*, inclusive` (semver)
  - unaffected: `6.18.21 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.11 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel's af_key code in pfkey_send_migrate() did not validate address families, which can overflow a socket buffer and crash the kernel. The source gives few details on who can trigger it, and describes only a kernel crash. Upgrade to 5.10.253, 5.15.203, 6.1.168, 6.6.131, or a later release in those series.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0013, the 2nd percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 22 Apr 2026, 13:54 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2026-31515)
- 22 Apr 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-31515)

## Sources

- [CVE List: CVE-2026-31515](https://www.cve.org/CVERecord?id=CVE-2026-31515)
- [NVD: CVE-2026-31515](https://nvd.nist.gov/vuln/detail/CVE-2026-31515)

### References from the CNA

- <https://git.kernel.org/stable/c/d0c5aa8dd38887714f1aad04236a3620b56a5e4e>
- <https://git.kernel.org/stable/c/e06b596fc4eb01936a2e5dccad17c946d660bab8>
- <https://git.kernel.org/stable/c/8ddf8de7e758f6888988467af9ffc8adf589fb16>
- <https://git.kernel.org/stable/c/d3225e6b9bd51ec177970a628fe4b11237ce87d5>
- <https://git.kernel.org/stable/c/7b18692c59afb8e5c364c8e3ac01e51dd6b52028>
- <https://git.kernel.org/stable/c/83f644ea92987c100b82d8481ae2230faeed3d34>
- <https://git.kernel.org/stable/c/ee836e820a40e2ca4da8af7310bff92d586772d4>
- <https://git.kernel.org/stable/c/eb2d16a7d599dc9d4df391b5e660df9949963786>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2026-31515>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2026-31515/>. Everything for agents: <https://agentprime.io/llms.txt>.
