CVE-2026-54084

Source
https://cve.org/CVERecord?id=CVE-2026-54084
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54084.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-54084
Aliases
  • GHSA-ppc7-hj9v-vx39
Published
2026-08-27T23:12:20Z
Modified
2026-09-17T08:05:15Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Wazuh agent enrollment NULL pointer dereference via malformed manager response
Details

Wazuh is an open-source security platform providing unified XDR and SIEM protection for endpoints and cloud workloads. In versions 4.0.0 through 4.14.6, a malicious or man-in-the-middle enrollment manager can crash a Wazuh agent during enrollment by returning a malformed key response with fewer than four fields, causing a NULL pointer dereference. The  w_enrollment_process_agent_key()  routine splits the manager-provided key into four space-separated fields but does not verify that all fields are present before passing them to validators. Because OS_StrBreak() leaves missing trailing entries as NULL and OS_IsValidName() calls strlen() on its argument without a NULL check, a response such as  OSSEC K:'1'  reaches OS_IsValidName(NULL) and terminates the agent process. Since Wazuh permits enrollment against an unverified manager when no CA certificate is configured, an attacker operating a rogue manager or intercepting the enrollment flow can deterministically crash agents, resulting in denial of service. This issue is fixed in version 4.14.7.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-476"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54084.json"
}
References

Affected packages

Git / github.com/wazuh/wazuh

Affected ranges

Type
GIT
Repo
https://github.com/wazuh/wazuh
Events
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:wazuh:wazuh:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "4.0.0"
        },
        {
            "fixed":  "4.14.7"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54084.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "49651447138169551309027989127800567584",
                "175712961222131404451194529675739079117",
                "230633435204466696847550787069002950767",
                "4090990952687679871136198065714515900",
                "41791073297518614982911438681108692677",
                "20624907413992941520258066722104514790",
                "109471608537974177973306592535270792349",
                "283617830231340459734249120193205990179",
                "314165651572574572381249008255871556497",
                "51622842622349885749594001892740460595",
                "338260253295559567820519179362529912223",
                "325415045128075035391621905577140799418"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-54084-21dbb439",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/wazuh/wazuh/commit/7dfbb4a292bc6ae8e3bb4c1982f687f35216a748",
        "target":  {
            "file":  "src/shared/enrollment_op.c"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "239491891976242512829887904098667508628",
            "length":  761
        },
        "id":  "CVE-2026-54084-9c935ad4",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/wazuh/wazuh/commit/7dfbb4a292bc6ae8e3bb4c1982f687f35216a748",
        "target":  {
            "file":  "src/shared/enrollment_op.c",
            "function":  "w_enrollment_process_agent_key"
        }
    }
]
vanir_signatures_modified
"2026-09-17T08:05:15Z"