CVE-2026-6985
CVE-2026-6985 is a medium-severity vulnerability in Cesanta Mongoose with a CVSS 3.x base score of 5.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-404.
Key facts
- Severity: Medium (CVSS 3.x base score 5.3)
- CVSS v2: 5.0
- CVSS v4: 5.5
- EPSS exploit prediction: 1% (43rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-25661
- Weakness: CWE-404
- Affected product: Cesanta Mongoose
- Published:
- Last modified:
Description
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.
Frequently asked questions
- What is CVE-2026-6985?
- 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.
- How severe is CVE-2026-6985?
- CVE-2026-6985 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
- Is CVE-2026-6985 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (43rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-6985?
- CVE-2026-6985 affects Cesanta Mongoose. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-6985?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-6985 have an EU (EUVD) identifier?
- Yes. CVE-2026-6985 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-25661.
- When was CVE-2026-6985 published?
- CVE-2026-6985 was published on 2026-04-25 and last updated on 2026-06-17.
References
- https://github.com/cesanta/mongoose/releases/tag/7.21
- https://github.com/dwBruijn/CVEs/blob/main/Mongoose/TCP_opt_dos.md
- https://vuldb.com/submit/796230
- https://vuldb.com/vuln/359528
- https://vuldb.com/vuln/359528/cti
Affected products (1)
- cpe:2.3:a:cesanta:mongoose:*:*:*:*:*:*:*:*
More vulnerabilities in Cesanta Mongoose
- CVE-2022-25299 — Critical (CVSS 9.8): This affects the package cesanta/mongoose before 7.6. The unsafe handling of file names during upload using…
- CVE-2020-25756 — Critical (CVSS 9.8): A buffer overflow vulnerability exists in the mg_get_http_header function in Cesanta Mongoose 6.18 due to a lack of…
- CVE-2019-19307 — Critical (CVSS 9.8): An integer overflow in parse_mqtt in mongoose.c in Cesanta Mongoose 6.16 allows an attacker to achieve remote DoS…
- CVE-2019-12951 — Critical (CVSS 9.8): An issue was discovered in Mongoose before 6.15. The parse_mqtt() function in mg_mqtt.c has a critical heap-based…
- CVE-2018-20356 — Critical (CVSS 9.8): An invalid read of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in…
- CVE-2018-20355 — Critical (CVSS 9.8): An invalid write of 8 bytes due to a use-after-free vulnerability in the mg_http_free_proto_data_cgi function call in…
All CVEs affecting Cesanta Mongoose →
Other CWE-404 vulnerabilities
- CVE-2023-24444 — Critical (CVSS 9.8): Jenkins OpenID Plugin 2.4 and earlier does not invalidate the previous session on login.
- CVE-2024-31611 — Critical (CVSS 9.1): SeaCMS 12.9 has a file deletion vulnerability via admin_template.php.
- CVE-2018-8450 — High (CVSS 8.8): A remote code execution vulnerability exists when Windows Search handles objects in memory, aka "Windows Search Remote…
- CVE-2026-11317 — High (CVSS 8.7): A denial of service security issue exists in the affected product. The security issue stems from a fault occurring when…
- CVE-2022-25762 — High (CVSS 8.6): If a web application sends a WebSocket message concurrently with the WebSocket connection closing when running on…
- CVE-2020-26070 — High (CVSS 8.6): A vulnerability in the ingress packet processing function of Cisco IOS XR Software for Cisco ASR 9000 Series…