CVE-2026-139530
wifi: b43: don't pass unterminated string to sscanf()
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: b43: don't pass unterminated string to sscanf() The "buf" buffer is a PAGE_SIZE and allocated with kzalloc(). We store a string from the user in it and then pass it to sscanf() in the write functions such as shm32write__write_file(). Only a few numbers are stored in the buffer so it never comes close to filling up the whole PAGE_SIZE. Reserve the last character of the page for a NUL terminator. This is debugfs so it's root only.
INFO
Published Date :
Nov. 30, 2026, 2:19 p.m.
Last Modified :
Nov. 30, 2026, 2:19 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
- Reserve space for null termination in buffers.
- Validate and terminate strings before use.
- Apply relevant kernel patches or updates.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-139530.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-139530 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-139530
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-139530 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-139530 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 30, 2026
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: wifi: b43: don't pass unterminated string to sscanf() The "buf" buffer is a PAGE_SIZE and allocated with kzalloc(). We store a string from the user in it and then pass it to sscanf() in the write functions such as shm32write__write_file(). Only a few numbers are stored in the buffer so it never comes close to filling up the whole PAGE_SIZE. Reserve the last character of the page for a NUL terminator. This is debugfs so it's root only. Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139530.json">CVE-2026-139530</a> Added Reference https://git.kernel.org/stable/c/1186781e4d00dae4836cdeb2251cf3b422bc503d Added Reference https://git.kernel.org/stable/c/121dea9a571365a450821c8da2c483f3d4b37e37 Added Reference https://git.kernel.org/stable/c/494ac73985380fa82a34bdcbf4b3e5f84f7a26e7 Added Reference https://git.kernel.org/stable/c/55a0aaef979be4f9ea9d7d290e5ce600547a8926 Added Reference https://git.kernel.org/stable/c/9b6cb072f9249e2cdb7c32be2b8069774c7e01e6 Added Reference https://git.kernel.org/stable/c/bda7840ca647a20f1ecec9195e2eb1d95ef688a6 Added Reference https://git.kernel.org/stable/c/c8b4e863db282d576001e2b509f6562bd04c2ca1 Added Reference https://git.kernel.org/stable/c/d3376b0734720a40070cc6a94d666ccb56c057fc