CVE-2025-57785 Double free in XSLT in 'show_index'

Medium 6.5 Published Updated

An unauthenticated attacker can trigger a double free in the XSLT show_index function, potentially leading to arbitrary code execution or service disruption.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-57785?

CVE-2025-57785 is a medium-severity use after free vulnerability in Hiawatha Web server, published on 26 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Double Free in XSLT `show_index` has been identified in Hiawatha webserver version 11.7 which allows an unauthenticated attacker to corrupt data which may lead to arbitrary code execution.

Weakness: CWE-415

Which versions are affected by CVE-2025-57785?

It affects 1 product.

Products include Hiawatha.leisink Hiawatha Webserver.

How do I fix CVE-2025-57785?

No fix has been published for CVE-2025-57785 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2025-57785 being exploited?

There is no known exploitation of CVE-2025-57785 in the wild and no public exploit code.

Sources

Also known as GHSA-mpwp-whhg-qqx4.

Is CVE-2025-57785 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free