CVE-2026-58106 Memory corruption in CodeChecker
A stack buffer overflow in CodeChecker's logging tool allows attackers to execute arbitrary code or cause denial of service 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
- None listed
What is CVE-2026-58106?
CVE-2026-58106 is a low-severity memory corruption vulnerability in Ericsson CodeChecker, published on 28 Aug 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r was fixed by replacing unchecked strcpy() with a bounded safe_strcpy() helper. At ldlogger-tool-gcc.c:129 the destination passed to that helper is fullPath + 2, but the size passed down is the full PATH_MAX. safe_strcpy() is strncpy(), which NUL-pads the destination out to the whole n, so this site writes 4096 bytes into the 4094 that remain — a 2-byte stack overflow on every invocation, independent of the input path's length.
This issue affects CodeChecker: through 6.28.2.
Weakness: CWE-787
Which versions are affected by CVE-2026-58106?
How do I fix CVE-2026-58106?
No fix has been published for CVE-2026-58106 yet. Limit exposure of the affected software until one is available.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2026-58106 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-58106 exists.
Sources
Also known as GHSA-9gcg-v8fg-39q8.