CVE-2026-6985

Source
https://cve.org/CVERecord?id=CVE-2026-6985
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6985.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-6985
Downstream
Published
2026-04-25T16:15:13.639Z
Modified
2026-08-05T03:32:40.914928480Z
Severity
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
Cesanta Mongoose TCP Option net_builtin.c handle_opt infinite loop
Details

A weakness has been identified in Cesanta Mongoose up to 7.20. This vulnerability affects the function handleopt of the file /src/netbuiltin.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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/6xxx/CVE-2026-6985.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "7.0"
                },
                {
                    "last_affected": "7.0"
                },
                {
                    "introduced": "7.1"
                },
                {
                    "last_affected": "7.1"
                },
                {
                    "introduced": "7.2"
                },
                {
                    "last_affected": "7.2"
                },
                {
                    "introduced": "7.3"
                },
                {
                    "last_affected": "7.3"
                },
                {
                    "introduced": "7.4"
                },
                {
                    "last_affected": "7.4"
                },
                {
                    "introduced": "7.5"
                },
                {
                    "last_affected": "7.5"
                },
                {
                    "introduced": "7.6"
                },
                {
                    "last_affected": "7.6"
                },
                {
                    "introduced": "7.7"
                },
                {
                    "last_affected": "7.7"
                },
                {
                    "introduced": "7.8"
                },
                {
                    "last_affected": "7.8"
                },
                {
                    "introduced": "7.9"
                },
                {
                    "last_affected": "7.9"
                },
                {
                    "introduced": "7.10"
                },
                {
                    "last_affected": "7.10"
                },
                {
                    "introduced": "7.11"
                },
                {
                    "last_affected": "7.11"
                },
                {
                    "introduced": "7.12"
                },
                {
                    "last_affected": "7.12"
                },
                {
                    "introduced": "7.13"
                },
                {
                    "last_affected": "7.13"
                },
                {
                    "introduced": "7.14"
                },
                {
                    "last_affected": "7.14"
                },
                {
                    "introduced": "7.15"
                },
                {
                    "last_affected": "7.15"
                },
                {
                    "introduced": "7.16"
                },
                {
                    "last_affected": "7.16"
                },
                {
                    "introduced": "7.17"
                },
                {
                    "last_affected": "7.17"
                },
                {
                    "introduced": "7.18"
                },
                {
                    "last_affected": "7.18"
                },
                {
                    "introduced": "7.19"
                },
                {
                    "last_affected": "7.19"
                },
                {
                    "introduced": "7.20"
                },
                {
                    "last_affected": "7.20"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cna_assigner": "VulDB",
    "cwe_ids": [
        "CWE-404",
        "CWE-835"
    ]
}
References

Affected packages

Git / github.com/cesanta/mongoose

Affected ranges

Type
GIT
Repo
https://github.com/cesanta/mongoose
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "source": "REFERENCES"
}

Affected versions

3.*
3.2
3.3
3.4
3.5
3.6
3.7
3.8
4.*
4.0
4.1
5.*
5.0
5.1
5.2
5.3
5.4
5.5
5.5_20140120
5.6
6.*
6.0
6.1
6.10
6.11
6.12
6.13
6.14
6.15
6.16
6.17
6.18
6.2
6.3
6.4
6.5
6.6
6.7
6.9
7.*
7.0
7.1
7.11
7.12
7.13
7.14
7.15
7.16
7.17
7.18
7.19
7.2
7.20
7.3
7.4
7.5
7.6
7.7
7.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-6985.json"