CVE-2026-50643

Out‑of‑Bounds Read in 8cc

MEDIUM
5.1
CVSS Score
Published: June 18, 2026 at 08:58 AM UTC
Updated: October 26, 2026 at 11:10 AM UTC
1 product affected across 1 vendor8CC

Using 8cc by rui314?

Get instant alerts when new vulnerabilities affect 8cc - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.1
Exploit prediction
EPSS 0.1%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

References (2)

Third Party Advisory
Source: cverecord
https://cert.pl/en/posts/2026/06/CVE-2026-50641
Product
Source: cverecord
https://github.com/rui314/8cc

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.1MEDIUMCERT-PL
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-125

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card