{"id":"CVE-2026-58106","aliases":["CVE-2026-58106"],"related":[],"kind":"vulnerability","state":"published","title":"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","summary":"CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r  was fixed by replacing unchecked strcpy() with a bounded safe_strcpy() helper.\nAt ldlogger-tool-gcc.c:129 the destination passed to that helper is fullPath + 2, but the size\npassed down is the full PATH_MAX. safe_strcpy() is strncpy(), which NUL-pads the\ndestination out to the whole n, so this site writes 4096 bytes into the 4094 that remain — a\n2-byte stack overflow on every invocation, independent of the input path's length.\n\n\n\nThis issue affects CodeChecker: through 6.28.2.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r  was fixed by replacing unchecked strcpy() with a bounded safe_strcpy() helper.\nAt ldlogger-tool-gcc.c:129 the destination passed to that helper is fullPath + 2, but the size\npassed down is the full PATH_MAX. safe_strcpy() is strncpy(), which NUL-pads the\ndestination out to the whole n, so this site writes 4096 bytes into the 4094 that remain — a\n2-byte stack overflow on every invocation, independent of the input path's length.\n\n\n\nThis issue affects CodeChecker: through 6.28.2.","source":"cvelist"}],"published":"2026-08-28T12:46:57.863Z","modified":"2026-09-01T21:07:58.980Z","severity":{"scorer":"ERIC","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"},"severities":[{"scorer":"ERIC","scheme":"CVSS:4.0","vector":"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","score":2,"rating":"LOW"}],"cwes":["CWE-787"],"affected":[{"ranges":[{"type":"python","introduced":"0","lastAffected":"6.28.2","status":"affected"}],"vendor":"Ericsson","product":"CodeChecker","source":"cvelist"}],"references":[{"url":"https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]}],"credits":["Fatullayev Asadbek"],"assigner":"ERIC","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-08-28T18:26:51.164Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58106","url":"https://www.cve.org/CVERecord?id=CVE-2026-58106","licence":"CVE Terms of Use","modified":"2026-08-28T18:27:22.857Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58106","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58106","licence":"Public domain","modified":"2026-09-01T21:07:58.980Z"}],"updatedAt":"2026-11-25T22:59:35.652Z","epss":{"score":0.00127,"percentile":0.02565,"date":"2026-12-01T12:00:22.000Z"}}