CVE-2026-139418

Source
https://cve.org/CVERecord?id=CVE-2026-139418
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139418.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139418
Downstream
Published
2026-11-30T13:34:34Z
Modified
2026-11-30T15:02:28Z
Summary
platform/olpc: Reserve space for a string terminator
Details

In the Linux kernel, the following vulnerability has been resolved:

platform/olpc: Reserve space for a string terminator

ec_dbgfs_cmd_write() copies user input into a zero-initialized stack buffer and passes it to sscanf(). A write that overwrites the entire buffer leaves no terminator, so the subsequent parsing can read beyond the buffer.

Limit the copy to leave room for the trailing NUL.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139418.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6cca83d498bda0999302079bd59786370590c5c2
Fixed
5a7956346f6965e7f0a21cca1aa36d72ac9cd42b
Fixed
e1fd1cb406657e7b85e98f5954b279b2b07729da
Fixed
17c1dde0cf2bf3a16ed91c12007b6a1a625b6893
Fixed
fbd0970689ff743afe907d823c47b7c3c7e91560
Fixed
d8bc540c486768870953fd9b39ae22d80178d17d
Fixed
379403b11c73e779f7b831a4e58dd93ce1fc9d5a
Fixed
323ef933d931c6ef4d7e3be6763da1779f6d3cb1
Fixed
1fe88b1741ff655bb59e4fd78178fe2c557b9185

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139418.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.6.0
Fixed
5.10.275
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.226
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.193
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.163
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.119
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.65
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139418.json"