CVE-2026-58106

Source
https://cve.org/CVERecord?id=CVE-2026-58106
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58106.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-58106
Aliases
  • GHSA-9gcg-v8fg-39q8
Published
2026-08-28T12:46:57.863Z
Modified
2026-08-29T11:30:58.817771965Z
Severity
  • 2.0 (Low) CVSS_V4 - CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N/E:P/S:N/AU:Y/R:U/RE:L/U:Green CVSS Calculator
Summary
Incomplete fix for CVE-2025-40843: safe_strcpy is called with PATH_MAX into fullPath+2, writing 2 bytes past the buffer on every CodeChecker log invocation
Details

CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r  was fixed by replacing unchecked strcpy() with a bounded safestrcpy() helper. At ldlogger-tool-gcc.c:129 the destination passed to that helper is fullPath + 2, but the size passed down is the full PATHMAX. 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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58106.json",
    "cwe_ids": [
        "CWE-787"
    ],
    "cna_assigner": "ERIC"
}
References

Affected packages

Git / github.com/ericsson/codechecker

Affected ranges

Type
GIT
Repo
https://github.com/ericsson/codechecker
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
Show details
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "6.28.2"
        }
    ]
}

Affected versions

6.*
6.28.0-rc1
v4.*
v4.0
v5.*
v5.0
v5.1
v5.10
v5.2
v5.3
v5.4
v5.5
v5.6
v5.7
v5.7.1
v5.8
v5.9
v6.*
v6.0
v6.0.1
v6.1
v6.1.1
v6.10.0
v6.12.0
v6.13.0
v6.14.0
v6.15.0
v6.16.0
v6.17.0
v6.18.0
v6.19.0
v6.2
v6.2.1
v6.20.0
v6.21.0
v6.22.0
v6.23.0
v6.23.0-rc1
v6.24.0
v6.25.0
v6.26.0
v6.27.0
v6.28.0
v6.28.1
v6.28.2
v6.3
v6.4
v6.5
v6.5.1
v6.6.0
v6.7.0
v6.7.1
v6.8.0
v6.8.1
v6.9.0
v6.9.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58106.json"