CVE-2026-58106 (GCVE-0-2026-58106)
Vulnerability from cvelistv5 – Published: 2026-08-28 12:46 – Updated: 2026-08-28 18:27 X_Open Source
VLAI
EPSS
VEX
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.
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.
Severity
SSVC
Exploitation: poc
Automatable: no
Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-28 18:26 UTC
CWE
- CWE-787 - Out-of-bounds write
Assigner
References
1 reference
| URL | Tags |
|---|---|
| https://github.com/Ericsson/codechecker/security/… | vendor-advisory |
Impacted products
1 product
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Ericsson | CodeChecker |
Affected:
0 , ≤ 6.28.2
(python)
|
guessed |
{
"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": {
"epss": {
"cve": "CVE-2026-58106",
"date": "2026-08-29",
"epss": "0.00127",
"percentile": "0.02648"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-58106\",\"sourceIdentifier\":\"85b1779b-6ecd-4f52-bcc5-73eac4659dcf\",\"published\":\"2026-08-28T16:18:18.137\",\"lastModified\":\"2026-08-28T20:18:38.103\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"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.\"}],\"affected\":[{\"source\":\"85b1779b-6ecd-4f52-bcc5-73eac4659dcf\",\"affectedData\":[{\"vendor\":\"Ericsson\",\"product\":\"CodeChecker\",\"defaultStatus\":\"unaffected\",\"versions\":[{\"version\":\"0\",\"lessThanOrEqual\":\"6.28.2\",\"versionType\":\"python\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"85b1779b-6ecd-4f52-bcc5-73eac4659dcf\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:N/AU:Y/R:U/V:X/RE:L/U:Green\",\"baseScore\":2.0,\"baseSeverity\":\"LOW\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"NONE\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"NONE\",\"vulnIntegrityImpact\":\"LOW\",\"vulnAvailabilityImpact\":\"NONE\",\"subConfidentialityImpact\":\"NONE\",\"subIntegrityImpact\":\"LOW\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"PROOF_OF_CONCEPT\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NEGLIGIBLE\",\"Automatable\":\"YES\",\"Recovery\":\"USER\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"LOW\",\"providerUrgency\":\"GREEN\"}}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-08-28T18:26:51.164522Z\",\"id\":\"CVE-2026-58106\",\"options\":[{\"exploitation\":\"poc\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"85b1779b-6ecd-4f52-bcc5-73eac4659dcf\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-787\"}]}],\"references\":[{\"url\":\"https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8\",\"source\":\"85b1779b-6ecd-4f52-bcc5-73eac4659dcf\"},{\"url\":\"https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8\",\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\"}]}}",
"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…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…