CVE-2025-40843 Details
Description
CodeChecker is an analyzer tooling, defect database and viewer extension for the Clang Static Analyzer and Clang Tidy. CodeChecker versions up to 6.26.1 contain a buffer overflow vulnerability in the internal ldlogger library, which is executed by the CodeChecker log command. This issue affects CodeChecker: through 6.26.1.
A buffer overflow vulnerability has been identified in CodeChecker versions through 6.26.1. This issue arises in the internal ldlogger library, which is utilized by the CodeChecker log command. The vulnerability is caused by the unsafe use of the strcpy function, allowing attackers to overwrite the stack by providing crafted inputs from the command line. The destination buffer, which is stack-allocated and fixed at 4096 bytes, can be overflowed because strcpy is used without proper length validation.
Users can upgrade to CodeChecker version 6.26.2 or later to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 28, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Ericsson/codechecker/security/advisories/GHSA-5xf2-f6ch-6p8r | Ericsson | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-121 | Stack-based Buffer Overflow | Ericsson |
Affected Products
| Product | Versions |
|---|---|
| ericsson codechecker | < 6.26.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | Ericsson |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 14, 2025 | Initial Analysis | [email protected] |
| Oct 28, 2025 | New CVE Received | Ericsson |