{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-50643 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-50643 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-50643 is a medium-severity memory corruption vulnerability in rui314 8cc, published on 18 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50643 and fix it if it is affected.\n\nWhat it is: CVE-2026-50643 is a medium-severity memory corruption vulnerability in rui314 8cc, published on 18 Jun 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-50643 in the wild and no public exploit code.\n\nAffected product: rui314 8cc. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50643/ (Markdown: https://insights.sbomify.com/CVE-2026-50643/index.md)","id":"CVE-2026-50643","markdown":"https://insights.sbomify.com/CVE-2026-50643/index.md","name":"CVE-2026-50643","record":{"aliases":["GHSA-r8v3-j8rv-hmxv"],"analysis":{"component_type":"developer_tool","fix_type":"no_fix_stated","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"C compiler","requires_auth":"none","summary":"An attacker can cause a denial of service in the 8cc compiler by providing maliciously crafted source files with invalid line directives.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"CERT-PL","cpe":[],"cvss":{"score":5.1,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"}],"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.\nBy supplying invalid or oversized line numbers, an attacker can trigger out-of-bounds memory access and a crash.\n\nMaintainer 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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":null,"headline":"Out‑of‑Bounds Read in 8cc","id":"CVE-2026-50643","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":2,"next":{"headline":"SQL Injection in SOPlanning Audit Retention Configuration","id":"CVE-2026-50644"},"packages":[],"prev":{"headline":"Terminal Escape Injection in diff‑so‑fancy","id":"CVE-2026-50642"},"products":["8cc"],"published":"2026-06-18","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-18","vendors":["rui314"]},"summary":"An attacker can cause a denial of service in the 8cc compiler by providing maliciously crafted source files with invalid line directives.","url":"https://insights.sbomify.com/CVE-2026-50643/"}