CVE-2025-40843
Python vulnerability analysis and mitigation

Overview

CodeChecker versions up to 6.26.1 contain a buffer overflow vulnerability (CVE-2024-40843) in the internal ldlogger library, which is executed by the CodeChecker log command. The vulnerability was discovered and disclosed on September 22, 2025, affecting the CodeChecker package distributed via pip. The issue has been patched in version 6.26.2 (GitHub Advisory).

Technical details

The vulnerability stems from unsafe usage of strcpy() function in the internal ldlogger library. The destination buffer is stack-allocated with a fixed size of 4096 bytes, while strcpy() is called without any length checks, enabling an attacker to overrun the buffer. The vulnerability has been assigned a CVSS v3.1 base score of 5.9 (Moderate) with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L, indicating local attack vector with low complexity and no required privileges or user interaction (GitHub Advisory).

Impact

Any environment where the vulnerable CodeChecker log command is executed with untrusted user input is affected by this vulnerability. The successful exploitation could lead to buffer overflow, potentially allowing attackers to execute arbitrary code or cause system crashes (GitHub Advisory).

Mitigation and workarounds

Users should upgrade to CodeChecker version 6.26.2 or later which contains the fix for this vulnerability. The fix involves replacing unsafe strcpy() calls with safe_strcpy() that includes proper buffer size checks (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-6237CRITICAL9.8
  • PythonPython
  • invokeai
NoNoSep 18, 2025
CVE-2025-9906HIGH8.6
  • PythonPython
  • keras
NoYesSep 19, 2025
CVE-2025-59420HIGH7.5
  • PythonPython
  • authlib
NoYesSep 22, 2025
CVE-2025-9905HIGH7.3
  • PythonPython
  • keras
NoYesSep 19, 2025
CVE-2025-40843MEDIUM5.9
  • PythonPython
  • codechecker
NoYesSep 22, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management