Out-of-bounds write in Ericsson CodeChecker
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-58106
References
More Ericsson vulnerabilities
- TI-2024-09344 Authentication bypass in Ericsson CodeChecker CVSS 3.1CRITICAL 10.0
- TI-2024-36027 Cross-Site Request Forgery in CodeChecker API CVSS 3.1HIGH 8.2
- TI-2025-27277 Buffer overflow in CodeChecker log command CVSS 3.1HIGH 7.8
- TI-2023-27200 Path traversal in `CodeChecker server` in the endpoint of `CodeChecker store` CVSS 3.1MEDIUM 6.5
- TI-2026-41851 Authenticated Remote Denial of Service via Unbounded zlib Decompression in massStoreRun CVSS 4.0MEDIUM 5.5
- TI-2021-19324 In Ericsson Network Location before 2021-07-31, it is possible for an authenticated… CVSS 3.1HIGH 8.8
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences