8cc Compiler Out-of-Bounds Read Flaw Disclosed
CERT Polska coordinated disclosure of CVE-2026-50643, an out-of-bounds read in the 8cc compiler caused by unvalidated #line directive handling.
Sourcecert.pl — open the original
What to check
- Applies to
- The 1 CVE named below. Whether you run an affected version is not assessed: check the versions the source lists.
- Exploitation
- No exploitation in the wild and no public exploit is recorded for the CVEs named.
CERT Polska has coordinated disclosure of a vulnerability in the 8cc C compiler, tracked as CVE-2026-50643. The flaw stems from improper handling of #line directives and GNU linemarkers, where attacker-controlled filename and line-number metadata is accepted and later used without validation when indexing into source line arrays. Supplying invalid or oversized line numbers can trigger an out-of-bounds memory read, leading to a crash.
The vulnerability was confirmed in the version corresponding to commit b480958; other versions were not tested but may also be affected. The maintainer was notified early in the process but did not respond with details on the vulnerable version range, limiting the scope of remediation guidance available to users. This is a low-severity, low-impact issue affecting a niche compiler project, with no evidence of active exploitation; the primary risk is denial of service (crash) rather than code execution.
The report credits Michal Majchrowicz and Marcin Wyczechowski of AFINE for responsible disclosure, coordinated through CERT Polska's standard CVD process.
Mentioned in this report
Source reporting: https://cert.pl/en/posts/2026/06/CVE-2026-50643
Free public brief. Slack alerts on the vendors you run come with the paid plans, and a new account gets three days of them, no card.
What this brief leaves out
This page is the free tier: the write-up, the severity, the names. In the app the same report carries live profiles of the CVEs it names. The paid plans add the security research and news reporting the free tier leaves out.
It sits in a corpus of 16,445 reports from 149 sources, 666 of them written in the last seven days, and it grows through the day.
A new account starts with three days of all of it, no card, then keeps the government and CERT reporting free. Slack alerts are a paid-plan feature: name the vendors you run and Slack hears about the reports that touch them, not the rest of the week's. Nothing is charged unless you subscribe.
Create a free account What it costs