#VU111834 Use-after-free in Mongoose - CVE-2018-20353

 

#VU111834 Use-after-free in Mongoose - CVE-2018-20353

Published: November 21, 2024 / Updated: June 23, 2025


Vulnerability identifier: #VU111834
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-20353
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
Mongoose
Software vendor:
Cesanta Software Ltd.

Description

The vulnerability allows a remote non-authenticated attacker to execute arbitrary code.

An invalid read of 8 bytes due to a use-after-free vulnerability during a "NULL test" in the mg_http_get_proto_data function in mongoose.c in Cesanta Mongoose Embedded Web Server Library 6.13 and earlier allows a denial of service (application crash) or remote code execution.


Remediation

Install update from vendor's website.

External links