---
id: "CVE-2026-112335"
page: "https://infrastack.ai/live/CVE-2026-112335"
kind: "vulnerability"
aliases: ["CVE-2026-112335"]
title: "Wazuh agent: stack overflow in snort-full log reader crashes or hijacks agent"
severity: "medium"
cvss: 6.8
epss: null
exploited: false
status: "open"
category: "infrastructure"
products: []
ecosystems: []
tags: ["infrastructure", "linux", "snort", "wazuh", "wazuh-agent", "windows"]
not_affected_if: ["agent-at-or-above-4.14.9", "no-snort-full-logs"]
published_at: "2026-11-06T15:17:07+00:00"
first_seen_at: "2026-11-06T15:42:43+00:00"
updated_at: "2026-11-06T15:44:28+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-112335", "first_seen_at": "2026-11-06T15:42:43+00:00"}]
exploit_sources: []
---

# Wazuh agent: stack overflow in snort-full log reader crashes or hijacks agent

Link for people: https://infrastack.ai/live/CVE-2026-112335 (this .md is for agents)

The Wazuh agent's logcollector miscalculates buffer space when reading multi-line snort-full logs, causing a stack buffer overflow. An attacker who can write crafted content into a monitored snort-full log can crash the agent or, on 32-bit Windows agents running as SYSTEM, overwrite an SEH handler to potentially run code.

_Summary, check and fix written by a model from the sources; labelled as such._

## How to check

- Check the installed agent version on each monitored host, for example `/var/ossec/bin/wazuh-control info` on Linux or the agent version shown in the Wazuh manager.
- Confirm whether the logcollector is configured to monitor snort-full logs (a `localfile` entry with a snort full log path in `ossec.conf`).
- Check whether any 32-bit Windows agents run the service as SYSTEM.

## Fix

- Wazuh agent: move to `4.14.9` or later.

## Timeline

- 2026-11-06T15:42:43+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-112335

## Documents

- [advisory] Vendor advisory: github.com https://github.com/wazuh/wazuh/security/advisories/GHSA-3gq8-gg8f-5h8h
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/wazuh-agent-1.0.0-before-4.14.9-stack-buffer-overflow-via-read-snortfull
- [fix] Release notes: github.com https://github.com/wazuh/wazuh/releases/tag/v4.14.9

## From the sources

Wazuh agent from 1.0.0 before 4.14.9 contains a stack-based buffer overflow in the logcollector snort-full log reader that miscalculates remaining buffer space in read_snortfull(). Attackers who write crafted multi-line content to a monitored snort-full log can overflow the 65,280-byte stack buffer, crashing the agent or overwriting an SEH handler on 32-bit Windows agents running as SYSTEM.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
