VDB

CVE-2025-39864

CVE-2025-39864 PUBLISHED CVSS 8.8 HIGH

wifi: cfg80211: fix use-after-free in cmp_bss()

Reported by linux · Published September 19, 2025

In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: fix use-after-free in cmp_bss() Following bss_free() quirk introduced in commit 776b3580178f ("cfg80211: track hidden SSID networks properly"), adjust cfg80211_update_known_bss() to free the last beacon frame elements only if they're not shared via the corresponding 'hidden_beacon_bss' pointer.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
SCALANCE XCM328Siemens3.3
SCALANCE XRM334 (230 V AC, 8xFO)Siemens3.3
SCALANCE XCM332Siemens3.3
linux_kernellinux6.16.6, 6.12.46, 6.6.105, 6.1.151, 5.15.192, 5.10.243, 5.4.299
LinuxLinux5.4

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
LinuxLinux3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
LinuxLinux5.4, 0, 5.4.299
SiemensSCALANCE XCM3280
SiemensSCALANCE XRM334 (230 V AC, 8xFO)0
SiemensSCALANCE XCM3320
LinuxLinux3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6, 3ab8227d3e7d1d2bf1829675d3197e3cb600e9f6
SiemensSCALANCE XCH3280
SiemensSCALANCE XRM334 (24 V DC, 12xFO)0
SiemensSCALANCE XRM334 (230V AC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XRM334 (2x230 V AC, 8xFO)0
SiemensSCALANCE XCM3240
SiemensSCALANCE XRM334 (230 V AC, 12xFO)0
linuxlinux_kernel5.4, 5.4, 5.4
SiemensSIMATIC CN 41000
SiemensSCALANCE XRM334 (2x230 V AC, 12xFO)0
SiemensSCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0
SiemensSCALANCE XRM334 (24V DC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XRM334 (2x230V AC, 2x10G, 24xSFP, 8xSFP+)0
SiemensSCALANCE XRH334 (24 V DC, 8xFO, CC)0
SiemensRUGGEDCOM RST2428P0

…and 1 more

Timeline

  • Sep 19, 2025 CVE Published
  • Sep 20, 2025 EPSS Score (30 in total, the first dated here)
  • Oct 12, 2025 PoC Published (11 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (135 in total, the first dated here)
  • Mar 29, 2026 Security Advisory (146 in total, the first dated here)
  • Jun 8, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-39864
vulnetix vdb fixes CVE-2025-39864

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-39864/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›