CVE-2026-50643
Last modified
CVE-2026-50643 is a medium-severity vulnerability rated 5.1/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
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.
Metrics
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-50643?
How severe is CVE-2026-50643?
How do I fix CVE-2026-50643?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-50637Metrics::Any::Adapter::Statsd versions before 0.04 for Perl …8.2
- CVE-2026-50638Metrics::Any::Adapter::DogStatsd versions before 0.04 for Pe…9.1
- CVE-2026-50639Metrics::Any::Adapter::SignalFx versions before 0.04 for Per…6.5
- CVE-2026-5064Potential security vulnerabilities have been identified in t…8.5
- CVE-2026-50641Streamsoft Business Intelligence (BI) stores users' password…7.1
- CVE-2026-50642diff‑so‑fancy does not properly sanitize non‑SGR terminal co…4.8
- CVE-2026-50644SOPlanning is vulnerable to SQL injection in the audit reten…8.6
- CVE-2026-50645There is no restriction on the amount of attachment headers …7.5
- CVE-2026-50646Protection mechanism failure in .NET Framework allows an una…7.8
- CVE-2026-50647Loop with unreachable exit condition ('infinite loop') in Ac…7.5
- CVE-2026-50648Allocation of resources without limits or throttling in .NET…7.5
- CVE-2026-50649Deserialization of untrusted data in .NET allows an unauthor…7.8
Are you affected by CVE-2026-50643?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
