CVE-2025-40843 Buffer overflow in CodeChecker log command

Medium 5.9 Published Updated

A buffer overflow in CodeChecker's log command allows attackers to execute arbitrary code via crafted inputs.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-40843?

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.

Official 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.

Weakness: CWE-121

Which versions are affected by CVE-2025-40843?

3 open source packages ship an affected version, including codechecker. It affects 1 product.

PackageAffectedFixed in
codechecker PyPIAll versions6.26.2
codechecker PyPIAll versions6.26.2
codechecker PyPIAll versions6.26.2

Products include Ericsson Codechecker.

How do I fix CVE-2025-40843?

Upgrade codechecker to 6.26.2 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-40843 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-40843 exists.

Sources

Also known as GHSA-5xf2-f6ch-6p8r, PYSEC-2025-100.

Is CVE-2025-40843 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free