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-09-19",
"epss": "0.00127",
"percentile": "0.02729"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "CodeChecker",
"vendor": "Ericsson",
"versions": [
{
"lessThanOrEqual": "6.28.2",
"status": "affected",
"version": "0",
"versionType": "python"
}
]
}
],
"source": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf"
}
],
"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."
}
],
"id": "CVE-2026-58106",
"lastModified": "2026-09-01T21:07:58.980",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "YES",
"Recovery": "USER",
"Safety": "NEGLIGIBLE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"attackVector": "LOCAL",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 2.0,
"baseSeverity": "LOW",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "PROOF_OF_CONCEPT",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"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/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",
"version": "4.0",
"vulnAvailabilityImpact": "NONE",
"vulnConfidentialityImpact": "NONE",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "LOW"
},
"source": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2026-58106",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-08-28T18:26:51.164522Z",
"version": "2.0.3"
}
}
]
},
"published": "2026-08-28T16:18:18.137",
"references": [
{
"source": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf",
"url": "https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8"
},
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"url": "https://github.com/Ericsson/codechecker/security/advisories/GHSA-9gcg-v8fg-39q8"
}
],
"sourceIdentifier": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-787"
}
],
"source": "85b1779b-6ecd-4f52-bcc5-73eac4659dcf",
"type": "Secondary"
}
]
}
},
"vulnrichment": {
"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:09.893Z",
"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"
}
}
}
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.
Browse all ATT&CK techniques and the vulnerabilities related to each.
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.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…