# CVE-2026-74045: Wazuh heap buffer overflow in fim_generate_alert()

Source: https://junglewise.ai/threats/cve-2026-74045-wazuh-from-3-12-0-before-4-14-8-contains-a-heap-buffer-overflow  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-10-13. Updated: 2026-10-16  
License: CC BY 4.0 with a link back

CVE-2026-74045 · Severity: high · CVSS 7.1 · Published 2026-10-13

Wazuh is a security monitoring platform that analyzes events from distributed agents to detect threats. An enrolled agent can send a malicious FIM (file integrity monitoring) event to the manager that corrupts the analysis engine's memory and crashes it, causing a complete outage of threat detection across all monitored systems until the service is restarted.

Technologies: [Wazuh Manager](https://junglewise.ai/threats/technologies/wazuh-manager). Vendors: [Wazuh](https://junglewise.ai/threats/vendors/wazuh).

## Quick answers

**Is CVE-2026-74045 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-74045 being exploited in the wild.

**How severe is CVE-2026-74045?** High severity, with a CVSS score of 7.1, published 13 October 2026.

**Which products and versions are affected?** Wazuh Manager 3.12.0 to 4.14.7.

**Is there a fix for CVE-2026-74045?** Yes: fixed in 4.14.8. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-74045 attacked?** It is attacked over the network, in a hosted service.

**Am I affected by CVE-2026-74045?** Check whether you run Wazuh Manager at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 4.14.8

## Technical details

A heap buffer overflow in wazuh-analysisd's fim_generate_alert() function occurs because full_log is allocated based on input length but written using snprintf with OS_MAXSTR (65535) as the size limit, causing writes past the allocation when generated alert text exceeds the smaller allocation. An enrolled agent can send a crafted FIM syscheck event with inflated JSON values (such as 9e18 exponents) that expand during text generation, reliably corrupting heap metadata and terminating the analysis daemon.

## Affected products

- Wazuh wazuh-manager 3.12.0 to 4.14.7

## Timeline

- 2026-10-13: disclosed

## References

- [https://github.com/wazuh/wazuh/releases/tag/v4.14.8](https://github.com/wazuh/wazuh/releases/tag/v4.14.8)
- [https://github.com/wazuh/wazuh/security/advisories/GHSA-gc4j-j9fg-4cfr](https://github.com/wazuh/wazuh/security/advisories/GHSA-gc4j-j9fg-4cfr)

## Related threats

- [Wazuh Manager SQL injection in WazuhDBBackend._substitute_params](https://junglewise.ai/threats/cve-2026-112341-wazuh-versions-from-4-0-0-before-4-14-9-contain-a-sql-injection)
- [Wazuh missing TLS hostname verification in fluent-forward module](https://junglewise.ai/threats/cve-2026-112339-wazuh-from-3-9-0-before-4-14-9-contains-a-missing-tls-hostname)
- [Wazuh GitHub module server-side request forgery in pagination](https://junglewise.ai/threats/cve-2026-112338-wazuh-from-4-3-0-before-4-14-9-contains-a-server-side-request)
- [Wazuh Manager memory leak in JSON decoder](https://junglewise.ai/threats/cve-2026-112336-wazuh-manager-from-3-0-0-before-4-14-9-contains-a-memory-leak)
- [Wazuh path traversal in get_list_file helper](https://junglewise.ai/threats/cve-2026-93347-wazuh-from-4-1-1-before-4-14-8-contains-a-path-traversal)
