CVE-2026-50643
published medium CVSS 4.0 · 5.1Out‑of‑Bounds Read in 8cc
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| rui314 | — | 8ccb480958 · Other versions: unknown | Affected | Not stated | CERT-PL |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- CERT-PL · cna
- Vector string
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:L/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| rui314 | 8cc | b480958 (affected · custom)Default: unknown | CERT-PL · cna |
Weaknesses
1- CWE-125 CWE-125 Out-of-bounds Read
References
2Provider assertions
2CERT-PL · cna
Out‑of‑Bounds Read in 8cc
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a43cb4df40444820606ee8a16130ad6f391b4860269701264df46f9025af1348
- Ingested
- 23 Sep 2026, 09:18:57 UTC
- Source record
- Official CVE record