CVE-2026-58106 (GCVE-0-2026-58106)
Vulnerability from cvelistv5
Published
2026-08-28 12:46
Modified
2026-08-28 18:27
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-787 - Out-of-bounds write
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.
References
| URL | Tags | |
|---|---|---|
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Ericsson | CodeChecker |
Version: 0 |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2026-58106",
"options": [
{
"Exploitation": "poc"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-28T18:26:51.164522Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-08-28T18:27:22.857Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"references": [
{
"tags": [
"exploit"
],
"url": "https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8"
}
],
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "CodeChecker",
"vendor": "Ericsson",
"versions": [
{
"lessThanOrEqual": "6.28.2",
"status": "affected",
"version": "0",
"versionType": "python"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Fatullayev Asadbek"
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cp\u003e\u003ca title=\"CVE-2025-40843\" href=\"https://github.com/advisories/GHSA-5xf2-f6ch-6p8r\" rel=\"noreferrer\"\u003eCVE-2025-40843\u003c/a\u003e\u0026nbsp;was fixed by replacing unchecked\u0026nbsp;\u003ccode\u003estrcpy()\u003c/code\u003e\u0026nbsp;with a bounded\u0026nbsp;\u003ccode\u003esafe_strcpy()\u003c/code\u003e\u0026nbsp;helper.\u003cbr\u003eAt\u0026nbsp;\u003ccode\u003eldlogger-tool-gcc.c:129\u003c/code\u003e\u0026nbsp;the destination passed to that helper is\u0026nbsp;\u003ccode\u003efullPath + 2\u003c/code\u003e, but the size\u003cbr\u003epassed down is the\u0026nbsp;\u003cstrong\u003efull\u003c/strong\u003e\u0026nbsp;\u003ccode\u003ePATH_MAX\u003c/code\u003e.\u0026nbsp;\u003ccode\u003esafe_strcpy()\u003c/code\u003e\u0026nbsp;is\u0026nbsp;\u003ccode\u003estrncpy()\u003c/code\u003e, which NUL-pads the\u003cbr\u003edestination out to the whole\u0026nbsp;\u003ccode\u003en\u003c/code\u003e, so this site writes 4096 bytes into the 4094 that remain \u2014 a\u003cbr\u003e2-byte stack overflow\u0026nbsp;\u003cstrong\u003eon every invocation\u003c/strong\u003e, independent of the input path\u0027s length.\u003c/p\u003e\u003cp\u003eThis issue affects CodeChecker: through 6.28.2.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e"
}
],
"value": "CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r \u00a0was fixed by replacing unchecked\u00a0strcpy()\u00a0with a bounded\u00a0safe_strcpy()\u00a0helper.\nAt\u00a0ldlogger-tool-gcc.c:129\u00a0the destination passed to that helper is\u00a0fullPath + 2, but the size\npassed down is the\u00a0full\u00a0PATH_MAX.\u00a0safe_strcpy()\u00a0is\u00a0strncpy(), which NUL-pads the\ndestination out to the whole\u00a0n, so this site writes 4096 bytes into the 4094 that remain \u2014 a\n2-byte stack overflow\u00a0on every invocation, independent of the input path\u0027s length.\n\n\n\nThis issue affects CodeChecker: through 6.28.2."
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "YES",
"Recovery": "USER",
"Safety": "NEGLIGIBLE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"baseScore": 2,
"baseSeverity": "LOW",
"exploitMaturity": "PROOF_OF_CONCEPT",
"privilegesRequired": "NONE",
"providerUrgency": "GREEN",
"subAvailabilityImpact": "NONE",
"subConfidentialityImpact": "NONE",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "LOW"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-787",
"description": "CWE-787 Out-of-bounds write",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-28T12:46:57.863Z",
"orgId": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf",
"shortName": "ERIC"
},
"references": [
{
"tags": [
"vendor-advisory"
],
"url": "https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8"
}
],
"source": {
"discovery": "INTERNAL"
},
"tags": [
"x_open-source"
],
"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",
"x_generator": {
"engine": "Vulnogram 0.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf",
"assignerShortName": "ERIC",
"cveId": "CVE-2026-58106",
"datePublished": "2026-08-28T12:46:57.863Z",
"dateReserved": "2026-06-29T10:41:35.472Z",
"dateUpdated": "2026-08-28T18:27:22.857Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-58106\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-28T18:26:51.164522Z\"}}}], \"references\": [{\"url\": \"https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8\", \"tags\": [\"exploit\"]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-28T18:27:09.893Z\"}}], \"cna\": {\"tags\": [\"x_open-source\"], \"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\", \"source\": {\"discovery\": \"INTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"Fatullayev Asadbek\"}], \"metrics\": [{\"format\": \"CVSS\", \"cvssV4_0\": {\"Safety\": \"NEGLIGIBLE\", \"version\": \"4.0\", \"Recovery\": \"USER\", \"baseScore\": 2, \"Automatable\": \"YES\", \"attackVector\": \"LOCAL\", \"baseSeverity\": \"LOW\", \"valueDensity\": \"NOT_DEFINED\", \"vectorString\": \"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\", \"exploitMaturity\": \"PROOF_OF_CONCEPT\", \"providerUrgency\": \"GREEN\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"NONE\", \"privilegesRequired\": \"NONE\", \"subIntegrityImpact\": \"LOW\", \"vulnIntegrityImpact\": \"LOW\", \"subAvailabilityImpact\": \"NONE\", \"vulnAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"NONE\", \"vulnConfidentialityImpact\": \"NONE\", \"vulnerabilityResponseEffort\": \"LOW\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}]}], \"affected\": [{\"vendor\": \"Ericsson\", \"product\": \"CodeChecker\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"python\", \"lessThanOrEqual\": \"6.28.2\"}], \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8\", \"tags\": [\"vendor-advisory\"]}], \"x_generator\": {\"engine\": \"Vulnogram 0.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"CVE-2025-40843 https://github.com/advisories/GHSA-5xf2-f6ch-6p8r \\u00a0was fixed by replacing unchecked\\u00a0strcpy()\\u00a0with a bounded\\u00a0safe_strcpy()\\u00a0helper.\\nAt\\u00a0ldlogger-tool-gcc.c:129\\u00a0the destination passed to that helper is\\u00a0fullPath + 2, but the size\\npassed down is the\\u00a0full\\u00a0PATH_MAX.\\u00a0safe_strcpy()\\u00a0is\\u00a0strncpy(), which NUL-pads the\\ndestination out to the whole\\u00a0n, so this site writes 4096 bytes into the 4094 that remain \\u2014 a\\n2-byte stack overflow\\u00a0on every invocation, independent of the input path\u0027s length.\\n\\n\\n\\nThis issue affects CodeChecker: through 6.28.2.\", \"supportingMedia\": [{\"type\": \"text/html\", \"value\": \"\u003cp\u003e\u003ca title=\\\"CVE-2025-40843\\\" href=\\\"https://github.com/advisories/GHSA-5xf2-f6ch-6p8r\\\" rel=\\\"noreferrer\\\"\u003eCVE-2025-40843\u003c/a\u003e\u0026nbsp;was fixed by replacing unchecked\u0026nbsp;\u003ccode\u003estrcpy()\u003c/code\u003e\u0026nbsp;with a bounded\u0026nbsp;\u003ccode\u003esafe_strcpy()\u003c/code\u003e\u0026nbsp;helper.\u003cbr\u003eAt\u0026nbsp;\u003ccode\u003eldlogger-tool-gcc.c:129\u003c/code\u003e\u0026nbsp;the destination passed to that helper is\u0026nbsp;\u003ccode\u003efullPath + 2\u003c/code\u003e, but the size\u003cbr\u003epassed down is the\u0026nbsp;\u003cstrong\u003efull\u003c/strong\u003e\u0026nbsp;\u003ccode\u003ePATH_MAX\u003c/code\u003e.\u0026nbsp;\u003ccode\u003esafe_strcpy()\u003c/code\u003e\u0026nbsp;is\u0026nbsp;\u003ccode\u003estrncpy()\u003c/code\u003e, which NUL-pads the\u003cbr\u003edestination out to the whole\u0026nbsp;\u003ccode\u003en\u003c/code\u003e, so this site writes 4096 bytes into the 4094 that remain \\u2014 a\u003cbr\u003e2-byte stack overflow\u0026nbsp;\u003cstrong\u003eon every invocation\u003c/strong\u003e, independent of the input path\u0027s length.\u003c/p\u003e\u003cp\u003eThis issue affects CodeChecker: through 6.28.2.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\", \"base64\": false}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-787\", \"description\": \"CWE-787 Out-of-bounds write\"}]}], \"providerMetadata\": {\"orgId\": \"85b1779b-6ecd-4f52-bcc5-73eac4659dcf\", \"shortName\": \"ERIC\", \"dateUpdated\": \"2026-08-28T12:46:57.863Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-58106\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-28T18:27:22.857Z\", \"dateReserved\": \"2026-06-29T10:41:35.472Z\", \"assignerOrgId\": \"85b1779b-6ecd-4f52-bcc5-73eac4659dcf\", \"datePublished\": \"2026-08-28T12:46:57.863Z\", \"assignerShortName\": \"ERIC\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…