{"answers":{"affected":"3 open source packages ship an affected version, including codechecker. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-40843 exists.","fix":"Upgrade codechecker to 6.26.2 or later.","what":"CVE-2025-40843 is a medium-severity memory corruption vulnerability in Ericsson CodeChecker, published on 28 Oct 2025. 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-2025-40843 and fix it if it is affected.\n\nWhat it is: CVE-2025-40843 is a medium-severity memory corruption vulnerability in Ericsson CodeChecker, published on 28 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-40843 exists.\n\nAffected packages and fixed versions:\n- codechecker (PyPI): affected all versions; fixed in 6.26.2\n- codechecker (PyPI): affected all versions; fixed in 6.26.2\n- codechecker (PyPI): affected all versions; fixed in 6.26.2\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-2025-40843/ (Markdown: https://insights.sbomify.com/CVE-2025-40843/index.md)","id":"CVE-2025-40843","markdown":"https://insights.sbomify.com/CVE-2025-40843/index.md","name":"CVE-2025-40843","record":{"aliases":["GHSA-5xf2-f6ch-6p8r","PYSEC-2025-100"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"CodeChecker static analyzer","requires_auth":"none","summary":"A buffer overflow in CodeChecker's log command allows attackers to execute arbitrary code via crafted inputs.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"ERIC","cpe":[{"product":"codechecker","vendor":"ericsson"}],"cvss":{"score":5.9,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. \n\nCodeChecker versions up to 6.26.1 contain a buffer overflow vulnerability in the internal ldlogger library, which is executed by the CodeChecker log command.\n\nThis issue affects CodeChecker: through 6.26.1.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Buffer overflow in CodeChecker log command","id":"CVE-2025-40843","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"memory_corruption","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"HaloITSM open redirect via the returnUrl","id":"CVE-2025-40846"},"packages":[{"ecosystem":"PyPI","fixed":["6.26.2"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":null,"source":"GHSA-5xf2-f6ch-6p8r"},{"ecosystem":"PyPI","fixed":["6.26.2"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":"pkg:pypi/codechecker","source":"GHSA-5xf2-f6ch-6p8r"},{"ecosystem":"PyPI","fixed":["6.26.2"],"introduced":["0"],"last_affected":[],"package":"codechecker","purl":"pkg:pypi/codechecker","source":"PYSEC-2025-100"}],"prev":{"headline":"Ericsson Indoor Connect 8855 - Improper Neutralization of Input During Web Page Generation Vulnerability","id":"CVE-2025-40842"},"products":["CodeChecker"],"published":"2025-10-28","related":[{"cvss_score":10,"headline":"codechecker vulnerable to authentication bypass when using specifically crafted URLs","id":"CVE-2024-10081","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":9.3,"headline":"Authentication bypass for certain API calls","id":"CVE-2026-25660","kev_date_added":null,"published":"2026-04-24"},{"cvss_score":8.7,"headline":"codechecker authentication method confusion vulnerability allows logging in as the built-in root user from an external service","id":"CVE-2024-10082","kev_date_added":null,"published":"2024-11-06"},{"cvss_score":8.2,"headline":"Cross-Site Request Forgery in CodeChecker API","id":"CVE-2024-53829","kev_date_added":null,"published":"2025-01-21"},{"cvss_score":6.5,"headline":"Path traversal in `CodeChecker server` in the endpoint of `CodeChecker store`","id":"CVE-2023-49793","kev_date_added":null,"published":"2024-06-24"},{"cvss_score":6.1,"headline":"Open redirect in CodeChecker web server","id":"CVE-2025-1300","kev_date_added":null,"published":"2025-02-28"},{"cvss_score":6.1,"headline":"Cross-site Scripting in Ericsson CodeChecker","id":"CVE-2021-44217","kev_date_added":null,"published":"2022-01-18"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-28","vendors":["Ericsson"]},"summary":"A buffer overflow in CodeChecker's log command allows attackers to execute arbitrary code via crafted inputs.","url":"https://insights.sbomify.com/CVE-2025-40843/"}