Hiawatha Webserver Double Free Vulnerability in XSLT 'show_index' Function Allowing Arbitrary Code Execution

Vulnerability

A double free vulnerability has been identified in the Hiawatha webserver, specifically in version 11.7. The issue arises within the XSLT 'show_index' function, where improper memory management allows an unauthenticated attacker to exploit the vulnerability, potentially leading to arbitrary code execution. The double free occurs when the same memory is freed multiple times, which can be exploited to manipulate the program's execution flow.

Impact

Exploitation of this vulnerability could result in arbitrary code execution on the server where Hiawatha is running.

Reproduction

The vulnerability can be reproduced by sending a request to a Hiawatha webserver instance running version 11.7, with the 'show_index' XSLT feature enabled. The server must be configured to allow XSLT transformations, and the 'show_index' setting should be set to 'xml' to trigger the vulnerability. Once these conditions are met, the double free can be exploited, leading to arbitrary code execution.

Added: Jan 26, 2026, 6:35 PM
Updated: Jan 26, 2026, 9:21 PM

Vulnerability Rating

Custom Algorithm
spread
2.2
impact
10.0
exploitability
8.7
remediation
0.0
relevance
2.4
threat
4.8
urgency
2.9
incentive
8.3

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.