Approved changes feed: RSS · Atom

cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*

part: a version: * update: *

VendorCesanta (91223ef9-9be1-51ca-9999-b3190ce9965d)
ProductMongoose (749d186c-b6b5-5dfe-a2fa-a74c5ea145b3)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*
NotesImported from purl2cpe mapping

PURL mappings

PURLSourceLast updated
pkg:github/cesanta/mongoose purl2cpe 2026-06-01 10:17:36.212118
pkg:rpm/fedora/mongoose purl2cpe 2026-06-01 10:17:36.212121
pkg:rpm/opensuse/mongoose purl2cpe 2026-06-01 10:17:36.212124
pkg:sourceforge/mongoose-emb-web-server.mirror purl2cpe 2026-06-01 10:17:36.212127

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-6986 vulnerable 2026-06-08 08:07:05.229489 Cesanta Mongoose GCM Authentication Tag tls_aes128.c mg_aes_gcm_decrypt signature verification
LOW (3.7)
A security vulnerability has been detected in Cesanta Mongoose up to 7.20. This issue affects the function mg_aes_gcm_decrypt of the file /src/tls_aes128.c of the component GCM Authentication Tag Handler. Such manipulation leads to improper verification of cryptographic signature. The attack may be performed from remote. A high complexity level is associated with this attack. The exploitability is assessed as difficult. The exploit has been disclosed publicly and may be used. Upgrading to version 7.21 is capable of addressing this issue. It is advisable to upgrade the affected component. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.
Published: 2026-04-25T16:30:13.067Z
Updated: 2026-04-27T13:36:06.578Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-6985 vulnerable 2026-06-08 08:07:05.229009 Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop
MEDIUM (5.3)
A weakness has been identified in Cesanta Mongoose up to 7.20. This vulnerability affects the function handle_opt of the file /src/net_builtin.c of the component TCP Option Handler. This manipulation of the argument optlen causes infinite loop. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks. Upgrading to version 7.21 is able to resolve this issue. Upgrading the affected component is advised. VulDB has contacted the vendor early and they confirmed quickly, that this issue got fixed already.
Published: 2026-04-25T16:15:13.639Z
Updated: 2026-04-27T12:35:36.821Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-5246 vulnerable 2026-06-08 08:07:03.444422 Cesanta Mongoose P-384 Public Key mongoose.c mg_tls_verify_cert_signature authorization
MEDIUM (5.6)
A vulnerability was determined in Cesanta Mongoose up to 7.20. Affected is the function mg_tls_verify_cert_signature of the file mongoose.c of the component P-384 Public Key Handler. Executing a manipulation can lead to authorization bypass. The attack can be executed remotely. Attacks of this nature are highly complex. The exploitability is told to be difficult. The exploit has been publicly disclosed and may be utilized. Upgrading to version 7.21 is able to address this issue. This patch is called 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. The affected component should be upgraded. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Published: 2026-04-02T09:45:11.602Z
Updated: 2026-04-02T13:07:02.788Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-5245 vulnerable 2026-06-08 08:07:03.444025 Cesanta Mongoose mDNS Record mongoose.c handle_mdns_record stack-based overflow
MEDIUM (5.6)
A vulnerability was found in Cesanta Mongoose up to 7.20. This impacts the function handle_mdns_record of the file mongoose.c of the component mDNS Record Handler. Performing a manipulation of the argument buf results in stack-based buffer overflow. Remote exploitation of the attack is possible. A high degree of complexity is needed for the attack. The exploitability is said to be difficult. The exploit has been made public and could be used. Upgrading to version 7.21 will fix this issue. The patch is named 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. You should upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Published: 2026-04-02T09:00:19.688Z
Updated: 2026-04-02T14:27:27.092Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-5244 vulnerable 2026-06-08 08:07:03.443568 Cesanta Mongoose TLS 1.3 mongoose.c mg_tls_recv_cert heap-based overflow
HIGH (7.3)
A vulnerability has been found in Cesanta Mongoose up to 7.20. This affects the function mg_tls_recv_cert of the file mongoose.c of the component TLS 1.3 Handler. Such manipulation of the argument pubkey leads to heap-based buffer overflow. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. Upgrading to version 7.21 mitigates this issue. The name of the patch is 0d882f1b43ff2308b7486a56a9d60cd6dba8a3f1. It is advisable to upgrade the affected component. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Published: 2026-04-02T08:00:19.770Z
Updated: 2026-04-02T13:31:54.915Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-2968 vulnerable 2026-06-08 07:55:17.906084 Cesanta Mongoose Poly1305 Authentication Tag tls_chacha20.c mg_chacha20_poly1305_decrypt signature verification
LOW (3.7)
A vulnerability was detected in Cesanta Mongoose up to 7.20. This impacts the function mg_chacha20_poly1305_decrypt of the file /src/tls_chacha20.c of the component Poly1305 Authentication Tag Handler. The manipulation results in improper verification of cryptographic signature. The attack may be launched remotely. This attack is characterized by high complexity. The exploitability is said to be difficult. The exploit is now public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Published: 2026-02-23T03:02:07.673Z
Updated: 2026-02-23T17:26:53.648Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-2967 vulnerable 2026-06-08 07:55:17.905675 Cesanta Mongoose TCP Sequence Number net_builtin.c getpeer verification of source
LOW (3.7)
A security vulnerability has been detected in Cesanta Mongoose up to 7.20. This affects the function getpeer of the file /src/net_builtin.c of the component TCP Sequence Number Handler. The manipulation leads to improper verification of source of a communication channel. The attack may be initiated remotely. The attack's complexity is rated as high. The exploitability is reported as difficult. The exploit has been disclosed publicly and may be used. The vendor was contacted early about this disclosure but did not respond in any way.
Published: 2026-02-23T02:32:07.568Z
Updated: 2026-02-23T13:32:57.830Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-2966 vulnerable 2026-06-08 07:55:17.905204 Cesanta Mongoose DNS Transaction ID dns.c mg_sendnsreq random values
LOW (3.7)
A weakness has been identified in Cesanta Mongoose up to 7.20. The impacted element is the function mg_sendnsreq of the file /src/dns.c of the component DNS Transaction ID Handler. Executing a manipulation of the argument random can lead to insufficiently random values. The attack can be launched remotely. The attack requires a high level of complexity. The exploitability is regarded as difficult. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Published: 2026-02-23T02:02:08.202Z
Updated: 2026-02-23T13:36:51.905Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-65502 vulnerable 2026-06-08 07:39:20.891811 Details available
Null pointer dereference in add_ca_certs() in Cesanta Mongoose before 7.2 allows remote attackers to cause a denial of service via TLS initialization where SSL_CTX_get_cert_store() returns NULL.
Published: 2025-11-24T00:00:00.000Z
Updated: 2025-11-24T18:29:36.744Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2025-51495 vulnerable 2026-06-08 07:31:11.217897 Details available
An integer overflow vulnerability exists in the WebSocket component of Mongoose 7.5 thru 7.17. By sending a specially crafted WebSocket request, an attacker can cause the application to crash. If downstream vendors integrate this component improperly, the issue may lead to a buffer overflow.
Published: 2025-09-29T00:00:00.000Z
Updated: 2025-10-01T15:21:21.511Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42392 vulnerable 2026-06-08 06:43:56.575400 Improper Neutralization of Delimiters in Mongoose Web Server library
MEDIUM (4)
Improper Neutralization of Delimiters vulnerability in Cesanta Mongoose Web Server v7.14 allows to trigger an infinite loop bug if the input string contains unexpected characters.
Published: 2024-11-18T09:07:09.562Z
Updated: 2024-11-18T13:35:30.655Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42391 vulnerable 2026-06-08 06:43:56.574998 Use of Out-of-range Pointer Offset in Mongoose Web Server library
MEDIUM (4.3)
Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and force the application to read unintended heap memory space.
Published: 2024-11-18T09:07:03.674Z
Updated: 2024-11-18T13:35:49.668Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42390 vulnerable 2026-06-08 06:43:56.574540 Use of Out-of-range Pointer Offset in Mongoose Web Server library
MEDIUM (4.3)
Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and force the application to read unintended heap memory space.
Published: 2024-11-18T09:06:57.586Z
Updated: 2024-11-18T13:36:09.264Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42389 vulnerable 2026-06-08 06:43:56.573998 Use of Out-of-range Pointer Offset in Mongoose Web Server library
MEDIUM (5.3)
Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and force the application to read unintended heap memory space.
Published: 2024-11-18T09:06:51.396Z
Updated: 2024-11-18T13:36:50.776Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42388 vulnerable 2026-06-08 06:43:56.573455 Use of Out-of-range Pointer Offset in Mongoose Web Server library
MEDIUM (5.3)
Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and force the application to read unintended heap memory space.
Published: 2024-11-18T09:06:44.153Z
Updated: 2024-11-18T13:37:37.168Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42387 vulnerable 2026-06-08 06:43:56.573065 Use of Out-of-range Pointer Offset in Mongoose Web Server library
MEDIUM (5.3)
Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and force the application to read unintended heap memory space.
Published: 2024-11-18T09:06:36.620Z
Updated: 2024-11-18T13:38:15.730Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42386 vulnerable 2026-06-08 06:43:56.572649 Use of Out-of-range Pointer Offset in Mongoose Web Server library
HIGH (8.2)
Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and produce a segmentation fault on the application.
Published: 2024-11-18T09:05:27.340Z
Updated: 2024-11-18T13:47:49.477Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42385 vulnerable 2026-06-08 06:43:56.572077 Improper Neutralization of Delimiters in Mongoose Web Server library
MEDIUM (4)
Improper Neutralization of Delimiters vulnerability in Cesanta Mongoose Web Server v7.14 allows to trigger an out-of-bound memory write if the PEM certificate contains unexpected characters.
Published: 2024-11-18T09:05:03.540Z
Updated: 2024-11-18T13:36:49.176Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42384 vulnerable 2026-06-08 06:43:56.570901 Integer Overflow or Wraparound in Mongoose Web Server library
HIGH (7.5)
Integer Overflow or Wraparound vulnerability in Cesanta Mongoose Web Server v7.14 allows an attacker to send an unexpected TLS packet and produce a segmentation fault on the application.
Published: 2024-11-18T09:04:46.754Z
Updated: 2025-01-13T10:39:38.335Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-42383 vulnerable 2026-06-08 06:43:56.570445 Use of Out-of-range Pointer Offset in Mongoose Web Server library
MEDIUM (4.2)
Use of Out-of-range Pointer Offset vulnerability in Cesanta Mongoose Web Server v7.14 allows to write a NULL byte value beyond the memory space dedicated for the hostname field.
Published: 2024-11-18T09:04:24.283Z
Updated: 2024-11-18T13:36:30.205Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2024-35492 vulnerable 2026-06-08 06:39:42.021751 Details available
Cesanta Mongoose commit b316989 was discovered to contain a NULL pointer dereference via the scpy function at src/fmt.c. This vulnerability allows attackers to cause a Denial of Service (DoS) via a crafted MQTT packet.
Published: 2024-05-29T19:27:15.910Z
Updated: 2025-02-13T15:58:50.799Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-34188 vulnerable 2026-06-08 06:06:24.768898 Details available
The HTTP server in Mongoose before 7.10 accepts requests containing negative Content-Length headers. By sending a single attack payload over TCP, an attacker can cause an infinite loop in which the server continuously reparses that payload, and does not respond to any other requests.
Published: 2023-06-23T00:00:00.000Z
Updated: 2025-02-28T13:07:27.141Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2023-2905 vulnerable 2026-06-08 06:02:43.628986 Cesanta Mongoose MQTT Message Parsing Heap Overflow
Due to a failure in validating the length of a provided MQTT_CMD_PUBLISH parsed message with a variable length header, Cesanta Mongoose, an embeddable web server, version 7.10 is susceptible to a heap-based buffer overflow vulnerability in the default configuration. Version 7.9 and prior does not appear to be vulnerable. This issue is resolved in version 7.11.
Published: 2023-08-09T04:46:14.972Z
Updated: 2024-10-10T14:56:29.619Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2022-25299 vulnerable 2026-06-08 05:41:45.683279 Arbitrary File Write
CRITICAL (9.8)
This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using mg_http_upload() method may enable attackers to write files to arbitrary locations outside the designated target folder.
Published: 2022-02-18T12:55:21.998Z
Updated: 2024-09-16T17:52:54.754Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2021-26529 vulnerable 2026-06-08 05:30:44.820980 Details available
The mg_tls_init function in Cesanta Mongoose HTTPS server 7.0 and 6.7-6.18 (compiled with mbedTLS support) is vulnerable to remote OOB write attack via connection request after exhausting memory pool.
Published: 2021-02-08T20:13:36.000Z
Updated: 2024-08-03T20:26:25.389Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2019-12951 vulnerable 2026-06-08 05:12:40.716420 Details available
An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based buffer overflow.
Published: 2019-06-24T22:05:46.000Z
Updated: 2024-08-04T23:32:55.582Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-20356 vulnerable 2026-06-08 05:11:27.094356 Details available
An invalid read of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call 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.
Published: 2019-06-10T16:26:32.000Z
Updated: 2024-08-05T11:58:19.482Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-20355 vulnerable 2026-06-08 05:11:27.094061 Details available
An invalid write of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call 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.
Published: 2019-06-10T16:23:43.000Z
Updated: 2024-08-05T11:58:18.964Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-20354 vulnerable 2026-06-08 05:11:27.093656 Details available
An invalid read of 8 bytes due to a use-after-free vulnerability during a "return" 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.
Published: 2019-06-10T16:21:41.000Z
Updated: 2024-08-05T11:58:19.083Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2018-20353 vulnerable 2026-06-08 05:11:27.093158 Details available
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.
Published: 2019-06-10T16:19:11.000Z
Updated: 2024-08-05T11:58:19.094Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-2922 vulnerable 2026-06-08 05:09:26.143759 Details available
CRITICAL (9.8)
An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8. A specially crafted websocket packet can cause a buffer to be allocated while leaving stale pointers which leads to a use-after-free vulnerability which can be exploited to achieve remote code execution. An attacker needs to send a specially crafted websocket packet over the network to trigger this vulnerability.
Published: 2017-11-07T16:00:00.000Z
Updated: 2024-09-16T18:59:36.372Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-2921 vulnerable 2026-06-08 05:09:26.143441 Details available
HIGH (8.1)
An exploitable memory corruption vulnerability exists in the Websocket protocol implementation of Cesanta Mongoose 6.8. A specially crafted websocket packet can cause an integer overflow, leading to a heap buffer overflow and resulting in denial of service and potential remote code execution. An attacker needs to send a specially crafted websocket packet over network to trigger this vulnerability.
Published: 2017-11-07T16:00:00.000Z
Updated: 2024-09-16T22:56:25.193Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-2909 vulnerable 2026-06-08 05:09:26.130615 Details available
HIGH (7.5)
An infinite loop programming error exists in the DNS server functionality of Cesanta Mongoose 6.8 library. A specially crafted DNS request can cause an infinite loop resulting in high CPU usage and Denial Of Service. An attacker can send a packet over the network to trigger this vulnerability.
Published: 2017-11-07T16:00:00.000Z
Updated: 2024-09-17T03:17:47.948Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-2895 vulnerable 2026-06-08 05:09:26.118691 Details available
HIGH (8.2)
An exploitable arbitrary memory read vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE packet can cause an arbitrary out-of-bounds memory read potentially resulting in information disclosure and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published: 2017-11-07T16:00:00.000Z
Updated: 2024-09-17T04:03:40.144Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-2894 vulnerable 2026-06-08 05:09:26.118394 Details available
CRITICAL (9.8)
An exploitable stack buffer overflow vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT SUBSCRIBE packet can cause a stack buffer overflow resulting in remote code execution. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published: 2017-11-07T16:00:00.000Z
Updated: 2024-09-17T02:16:55.574Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-2893 vulnerable 2026-06-08 05:09:26.118075 Details available
HIGH (7.5)
An exploitable NULL pointer dereference vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. An MQTT SUBSCRIBE packet can cause a NULL pointer dereference leading to server crash and denial of service. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published: 2017-11-07T16:00:00.000Z
Updated: 2024-09-17T00:51:27.255Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-2892 vulnerable 2026-06-08 05:09:26.117741 Details available
CRITICAL (9.8)
An exploitable arbitrary memory read vulnerability exists in the MQTT packet parsing functionality of Cesanta Mongoose 6.8. A specially crafted MQTT packet can cause an arbitrary out-of-bounds memory read and write potentially resulting in information disclosure, denial of service and remote code execution. An attacker needs to send a specially crafted MQTT packet over the network to trigger this vulnerability.
Published: 2017-11-07T16:00:00.000Z
Updated: 2024-09-16T23:51:31.977Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2017-2891 vulnerable 2026-06-08 05:09:26.116387 Details available
CRITICAL (9.8)
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.
Published: 2017-11-07T16:00:00.000Z
Updated: 2024-09-16T22:52:04.709Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.