Critical
Security advisory
An exploitable use-after-free vulnerability exists in the HTTP server implementation of Cesanta Mongoose 6.8. An ordinary HTTP POST request with a CGI target can cause a reuse of previously freed pointer potentially resulting in remote code execution. An attacker needs to send this HTTP request over the network to trigger this vulnerability.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2017-2891
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 06:03 UTC · Revision 1
Source evidence
An exploitable use-after-free vulnerability exists in the HTTP server implementation of Cesanta Mongoose 6.8. An ordinary HTTP POST request with a CGI target can cause a reuse of previously freed pointer potentially resulting in remote code execution. An attacker needs to send this HTTP request over the network to trigger this vulnerability.
osv:CVE-2017-2891
Complete source record
{
"id": "1fac4f5a556cfe285a9e4b0219648e77ba11b9626394ed6c74a6b095ca48ed93",
"url": "https://osv.dev/vulnerability/CVE-2017-2891",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2017-2891",
"summary": "An exploitable use-after-free vulnerability exists in the HTTP server implementation of Cesanta Mongoose 6.8. An ordinary HTTP POST request with a CGI target can cause a reuse of previously freed pointer potentially resulting in remote code execution. An attacker needs to send this HTTP request over the network to trigger this vulnerability.",
"evidence": "osv:CVE-2017-2891",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2017-2891",
"aliases": [
"CVE-2017-2891"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cesanta/mongoose",
"type": "GIT",
"events": [
{
"introduced": "acfc66cd60f5bfa7dc4d37194d72855c201e5710"
},
{
"last_affected": "acfc66cd60f5bfa7dc4d37194d72855c201e5710"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:cesanta:mongoose:6.8:*:*:*:*:*:*:*",
"range": [
{
"introduced": "6.8"
},
{
"last_affected": "6.8"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"6.8"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-2891.json"
}
}
],
"modified": "2026-10-24T10:30:34.725016260Z",
"provider": "osv",
"references": [
"https://www.talosintelligence.com/vulnerability_reports/TALOS-2017-0398"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2017-2891",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 433588,
"published_at": "2017-11-07T16:29:00.717+00:00"
}