SecurityContext

CVE-2025-62788: Wazuh - Use After Free

  • Cve: CVE-2025-62788
  • Name: Wazuh - Use After Free
  • Description: Wazuh is a free and open source platform used for threat prevention, detection, and response. Prior to 4.11.0, w_copy_event_for_log() references memory (initially allocated in OS_CleanMSG()) after it has been freed. A compromised agent can potentially compromise the integrity of the application by sending a specially crafted message to the wazuh manager. An attacker who is able to craft and send an agent message to the wazuh manager can leverage this issue to potentially compromise the integrity of the application (the use of previously freed memory may corrupt valid data, if the memory area in question has been allocated and used properly elsewhere). This vulnerability is fixed in 4.11.0.
  • Impact: Compromised agents can corrupt application integrity by exploiting use-after-free, potentially leading to data corruption or application instability.
  • Remediation: Update to version 4.11.0 or later.
  • Vulnerability type: use_after_free
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must be able to send crafted messages as a compromised agent
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00323
  • Epss percentile: 0.2562
  • Assignee: [email protected]
  • Published at: 2025-10-29T17:15:36Z
  • Age in days: 391
  • Modified at: 2026-10-19T13:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2025-62788
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-416Use After Free

Public exploits

UrlSourceAdded date
https://github.com/wazuh/wazuh/security/advisories/GHSA-qjcw-fjvh-8q4gnvd2025-10-29

References

UrlSourceTags
https://github.com/wazuh/wazuh/security/advisories/GHSA-qjcw-fjvh-8q4gnvdExploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
wazuh:wazuh< 4.11.0nonvd/v1/products/wazuh/wazuh

Projects

RepositoryLink kindsIndexedUrl
wazuh/wazuhsecurity_advisoryyes/v1/repositories/wazuh/wazuh

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2025-10-29
  • Remote: yes
  • Exposed hosts: 7218
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports