🔐 CVE Alert

CVE-2026-50643

UNKNOWN 0.0

Out‑of‑Bounds Read in 8cc

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

8cc is vulnerable to an Out‑of‑Bounds Read due to improper handling of #line directives and GNU linemarkers. The compiler accepts attacker-controlled filename and line number metadata and later uses it without validation when accessing source line arrays. By supplying invalid or oversized line numbers, an attacker can trigger out-of-bounds memory access and a crash. Maintainer of this project was notified early about this vulnerability, but didn't respond with the details of vulnerability or vulnerable version range. Version corresponding to the commit b480958 was tested and confirmed as vulnerable, other versions were not tested but might also be vulnerable.

CWE CWE-125
Vendor rui314
Product 8cc
Published Jun 18, 2026
Stay Ahead of the Next One

Get instant alerts for rui314 8cc

Be the first to know when new unknown vulnerabilities affecting rui314 8cc are published — delivered to Slack, Telegram or Discord.

Get Free Alerts → Free · No credit card · 60 sec setup

Affected Versions

rui314 / 8cc
b480958

References

NVD ↗ CVE.org ↗ EPSS Data ↗
cert.pl: https://cert.pl/en/posts/2026/06/CVE-2026-50641 github.com: https://github.com/rui314/8cc

Credits

Michal Majchrowicz (AFINE) Marcin Wyczechowski (AFINE)