The server component responsible for log analysis, ossec-analysisd, is susceptible to an off-by-one heap-based buffer overflow. This occurs during the cleaning of crafted syslog messages received from authenticated remote agents and delivered to the analysisd processing queue by ossec-remoted.