CVE-2026-139418 platform/olpc: Reserve space for a string terminator

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139418?

CVE-2026-139418 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

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.

Which versions are affected by CVE-2026-139418?

How do I fix CVE-2026-139418?

Upgrade to a fixed version.

Is CVE-2026-139418 being exploited?

There is no known exploitation of CVE-2026-139418 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139418, DEBIAN-CVE-2026-139418, GHSA-v2g2-g7m5-hcvv, UBUNTU-CVE-2026-139418.

Is CVE-2026-139418 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free