CVE-2026-31427
netfilter: nf_conntrack_sip: fix use of uninitialized rtp_addr in process_sdp
Mitigation
- Upgrade Linux to 6a2b724460cb67caed500c508c2ae5cf012e4db4 or later.
Who should check
- Anyone running Linux >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < faa6ea32797a1847790514ff0da1be1d09771580; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 82baeb871e8f04906bc886273fdf0209e1754eb3; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 7edca70751b9bdb5b83eed53cde21eccf3c86147; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 01f34a80ac23ae90b1909b94b4ed05343a62f646; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 52fdda318ef2362fc5936385bcb8b3d0328ee629; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6a2b724460cb67caed500c508c2ae5cf012e4db4
- Anyone running Linux 2.6.26
Vulnerability facts
- Affected
- Linux >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < faa6ea32797a1847790514ff0da1be1d09771580; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 82baeb871e8f04906bc886273fdf0209e1754eb3; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 7edca70751b9bdb5b83eed53cde21eccf3c86147; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 01f34a80ac23ae90b1909b94b4ed05343a62f646; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 52fdda318ef2362fc5936385bcb8b3d0328ee629; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6a2b724460cb67caed500c508c2ae5cf012e4db4; Linux 2.6.26
- Fixed in
- Linux 82baeb871e8f04906bc886273fdf0209e1754eb3, Linux 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025, Linux 7edca70751b9bdb5b83eed53cde21eccf3c86147, Linux 01f34a80ac23ae90b1909b94b4ed05343a62f646, Linux 52fdda318ef2362fc5936385bcb8b3d0328ee629, Linux 6a2b724460cb67caed500c508c2ae5cf012e4db4
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.18% chance of exploitation in 30 days (percentile 4, 2026-11-26)
- CWE
- CWE-908
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_sip: fix use of uninitialized rtp_addr in process_sdp process_sdp() declares union nf_inet_addr rtp_addr on the stack and passes it to the nf_nat_sip sdp_session hook after walking the SDP media descriptions. However rtp_addr is only initialized inside the media loop when a recognized media type with a non-zero port is found. If the SDP body contains no m= lines, only inactive media sections (m=audio 0 ...) or only unrecognized media types, rtp_addr is never assigned. Despite that, the function still calls hooks->sdp_session() with &rtp_addr, causing nf_nat_sdp_session() to format the stale stack value as an IP address and rewrite the SDP session owner and connection lines with it. With CONFIG_INIT_STACK_ALL_ZERO (default on most distributions) this results in the session-level o= and c= addresses being rewritten to 0.0.0.0 for inactive SDP sessions. Without stack auto-init the rewritten address is whatever happened to be on the stack. Fix this by pre-initializing rtp_addr from the session-level connection address (caddr) when available, and tracking via a have_rtp_addr flag whether any valid address was established. Skip the sdp_session hook entirely when no valid address exists.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < faa6ea32797a1847790514ff0da1be1d09771580; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 82baeb871e8f04906bc886273fdf0209e1754eb3; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 7edca70751b9bdb5b83eed53cde21eccf3c86147; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 01f34a80ac23ae90b1909b94b4ed05343a62f646; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 52fdda318ef2362fc5936385bcb8b3d0328ee629; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6a2b724460cb67caed500c508c2ae5cf012e4db4 | — | cvelist |
| Linux | 2.6.26 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-31427. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-31427.md Affected: Linux >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < faa6ea32797a1847790514ff0da1be1d09771580; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 82baeb871e8f04906bc886273fdf0209e1754eb3; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; >= 4ab9e64e5e3c05165778188… Fixed in: Linux 82baeb871e8f04906bc886273fdf0209e1754eb3, Linux 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025, Linux 7edca70751b9bdb5b83eed53cde21eccf3c86147, Linux 01f34a80ac23ae90b1909b94b4ed05343a62f646, Linux 52fdda318ef2362fc5936385bcb8b3d0328ee629, Linux 6a2b724460cb67caed500c508c2ae5cf012e4db4 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/faa6ea32797a1847790514ff0da1be1d09771580
- https://git.kernel.org/stable/c/82baeb871e8f04906bc886273fdf0209e1754eb3
- https://git.kernel.org/stable/c/6e5e3c87b7e6212f1d8414fc2e4d158b01e12025
- https://git.kernel.org/stable/c/fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6
- https://git.kernel.org/stable/c/7edca70751b9bdb5b83eed53cde21eccf3c86147
- https://git.kernel.org/stable/c/01f34a80ac23ae90b1909b94b4ed05343a62f646
- https://git.kernel.org/stable/c/52fdda318ef2362fc5936385bcb8b3d0328ee629
- https://git.kernel.org/stable/c/6a2b724460cb67caed500c508c2ae5cf012e4db4
FAQ
Is CVE-2026-31427 being exploited?
There is no confirmed exploitation: CVE-2026-31427 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-31427?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2026-31427?
Linux >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < faa6ea32797a1847790514ff0da1be1d09771580; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 82baeb871e8f04906bc886273fdf0209e1754eb3; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < fe463e76c9b4b0b43b5ee8961b4c500231f1a3f6; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 7edca70751b9bdb5b83eed53cde21eccf3c86147; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 01f34a80ac23ae90b1909b94b4ed05343a62f646; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 52fdda318ef2362fc5936385bcb8b3d0328ee629; >= 4ab9e64e5e3c0516577818804aaf13a630d67bc9, < 6a2b724460cb67caed500c508c2ae5cf012e4db4; Linux 2.6.26.
Is there a fix for CVE-2026-31427?
Yes. Fixed in Linux 82baeb871e8f04906bc886273fdf0209e1754eb3, Linux 6e5e3c87b7e6212f1d8414fc2e4d158b01e12025, Linux 7edca70751b9bdb5b83eed53cde21eccf3c86147, Linux 01f34a80ac23ae90b1909b94b4ed05343a62f646, Linux 52fdda318ef2362fc5936385bcb8b3d0328ee629, Linux 6a2b724460cb67caed500c508c2ae5cf012e4db4. Upgrade Linux to 6a2b724460cb67caed500c508c2ae5cf012e4db4 or later.
How do I check if I'm affected by CVE-2026-31427?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.