{"id":"CVE-2026-44254","state":"PUBLISHED","title":"Wazuh: Stack Out-of-Bounds Write in remoted Decompression Path","description":"Wazuh is a free and open source platform used for threat prevention, detection, and response. From 1.0.0 until 4.14.6 and 5.0.0-beta2, HandleSecureMessage() in src/remoted/secure.c passes a pointer inside its stack buffer to ReadSecMSG(), and src/os_crypto/shared/msgs.c decompresses up to OS_MAXSTR bytes at that offset. For an encrypted agent message on TCP port 1514 that expands to 65,536 bytes, os_zlib_uncompress() writes a terminating null byte beyond the end of the destination buffer. The resulting stack out-of-bounds write in the root-level remoted daemon can crash message processing and disrupt agent communications. This issue is fixed in versions 4.14.6 and 5.0.0-beta2.","publishedAt":"2026-08-19T16:09:55.307Z","updatedAt":"2026-08-19T18:18:27.247Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["wazuh wazuh"],"affected":[{"vendor":"wazuh","product":"wazuh","versions":[{"version":">= 1.0.0, < 4.14.6","status":"affected"},{"version":">= 5.0.0-beta1, < 5.0.0-beta2","status":"affected"}]}],"references":["https://github.com/wazuh/wazuh/security/advisories/GHSA-9wm4-fp6c-hqgq","https://github.com/wazuh/wazuh/pull/35773","https://github.com/wazuh/wazuh/commit/96772487fbdecd43cc83e284ee7aeb45e3cfcd96","https://github.com/wazuh/wazuh/releases/tag/v4.14.6","https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2"],"weaknesses":["CWE-131","CWE-787"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/44xxx/CVE-2026-44254.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-44254","state":"PUBLISHED","datePublished":"2026-08-19T16:09:55.307Z","dateUpdated":"2026-08-19T18:18:27.247Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-05-05T16:33:55.844Z"},"containers":{"cna":{"title":"Wazuh: Stack Out-of-Bounds Write in remoted Decompression Path","descriptions":[{"lang":"en","value":"Wazuh is a free and open source platform used for threat prevention, detection, and response. From 1.0.0 until 4.14.6 and 5.0.0-beta2, HandleSecureMessage() in src/remoted/secure.c passes a pointer inside its stack buffer to ReadSecMSG(), and src/os_crypto/shared/msgs.c decompresses up to OS_MAXSTR bytes at that offset. For an encrypted agent message on TCP port 1514 that expands to 65,536 bytes, os_zlib_uncompress() writes a terminating null byte beyond the end of the destination buffer. The resulting stack out-of-bounds write in the root-level remoted daemon can crash message processing and disrupt agent communications. This issue is fixed in versions 4.14.6 and 5.0.0-beta2."}],"affected":[{"vendor":"wazuh","product":"wazuh","versions":[{"version":">= 1.0.0, < 4.14.6","status":"affected"},{"version":">= 5.0.0-beta1, < 5.0.0-beta2","status":"affected"}]}],"references":[{"url":"https://github.com/wazuh/wazuh/security/advisories/GHSA-9wm4-fp6c-hqgq","name":"https://github.com/wazuh/wazuh/security/advisories/GHSA-9wm4-fp6c-hqgq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/wazuh/wazuh/pull/35773","name":"https://github.com/wazuh/wazuh/pull/35773","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/commit/96772487fbdecd43cc83e284ee7aeb45e3cfcd96","name":"https://github.com/wazuh/wazuh/commit/96772487fbdecd43cc83e284ee7aeb45e3cfcd96","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v4.14.6","name":"https://github.com/wazuh/wazuh/releases/tag/v4.14.6","tags":["x_refsource_MISC"]},{"url":"https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2","name":"https://github.com/wazuh/wazuh/releases/tag/v5.0.0-beta2","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-131","lang":"en","description":"CWE-131: Incorrect Calculation of Buffer Size","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-08-19T16:09:55.307Z"},"source":{"advisory":"GHSA-9wm4-fp6c-hqgq","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-19T18:03:36.678329Z","id":"CVE-2026-44254","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-19T18:18:27.247Z"}}]}}}