Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-40106: Wazuh is a free and open source platform used for threat prevention, detection, and response

22
Routine
MEDIUM 4.7UPGRADE

CVE-2026-40106 is a medium-severity flaw (CVSS 4.7) affecting wazuh. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

Wazuh is a free and open source platform used for threat prevention, detection, and response. Versions 4.6.0 and above prior to 4.14.5 contain a heap-based buffer overflow vulnerability in the syscheck component of the Wazuh agent for Windows. When expanding registry paths containing wildcards (* or ?), the agent allocates a fixed-size heap buffer of 256 bytes (OS_SIZE_256). By creating a registry subkey with a maximum allowed length (255 charact

Why this priority

  • Public exploit reference

A fixed release or distro patch exists.

Risk facts

CVSS score4.7 (Medium)
Attack vectorLocal
Attack complexityHigh
Privileges neededLow
User interactionNone
EPSS exploit chance0.1% (top 97%)
CISA exploited listNo
WeaknessCWE-122
Published2026-07-17
Last modified2026-07-20
Publisher (CNA): GitHub, Inc. · Vendor: wazuh

Share: LinkedIn · X · Reddit

Last updated 2026-07-20 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

wazuh wazuh UPGRADE
Affected: >= 4.6.0 and < 4.14.5
Fixed in: 4.14.5
Safe to downgrade to: a release before 4.6.0
1. Check installed version
apt-cache policy wazuh || rpm -q wazuh || wazuh --version
2. UPGRADE to 4.14.5 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade wazuh
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade wazuh
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
3. If no update is available yet, DOWNGRADE to a release before 4.6.0 (Debian / Ubuntu)
apt-cache madison wazuh sudo apt install wazuh=<VERSION_BEFORE_4.6.0> sudo apt-mark hold wazuh
3. If no update is available yet, DOWNGRADE (RHEL / Amazon Linux / Fedora)
dnf --showduplicates list wazuh sudo dnf downgrade wazuh-<VERSION_BEFORE_4.6.0> sudo dnf versionlock add wazuh
Downgrade risk
Downgrading can break dependent software and may reopen older bugs. Read the distro advisory first and test on a non-production host.
After downgrade
Restart the service, and keep the package held until a fixed release ships.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-40106?

wazuh: upgrade to 4.14.5. Exact commands for each OS are on this page.

Is CVE-2026-40106 being exploited?

CVE-2026-40106 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-40106 affect?

CVE-2026-40106 affects wazuh. Severity is medium (CVSS 4.7). Wazuh is a free and open source platform used for threat prevention, detection, and response. Versions 4.6.0 and above prior to 4.14.5 contain a heap-based buffer overflow vulnerability in the syscheck component of the Wazuh agent for Windo

How urgent is CVE-2026-40106?

Priority 22/100. Public exploit reference

Software pages

Windows vulnerabilities · Wazuh vulnerabilities

Related CVEs

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.