CVE-2026-44254

Wazuh: Stack Out-of-Bounds Write in remoted Decompression Path

State
Published
Severity
5.3 Medium
Published
Aug 19, 2026
Updated
Aug 19, 2026
Reserved
May 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-131 Incorrect Calculation of Buffer Size
  • CWE-787 Out-of-bounds Write

Affected Products

ProductVersions
wazuhwazuh
  • >= 1.0.0, < 4.14.6Affected
  • >= 5.0.0-beta1, < 5.0.0-beta2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.