CVE-2026-32696

Source
https://cve.org/CVERecord?id=CVE-2026-32696
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32696.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-32696
Aliases
  • GHSA-77f4-wvq8-mp3p
Published
2026-03-30T20:11:30Z
Modified
2026-10-28T10:54:57Z
Severity
  • 3.1 (Low) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L CVSS Calculator
Summary
NanoMQ HTTP Auth: Missing username/password can trigger a NULL-pointer strlen() in auth_http.c:set_data(), causing a process crash — SIGSEGV, remotely triggerable
Details

NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. In NanoMQ version 0.24.6, after enabling auth.http_auth (HTTP authentication), when a client connects to the broker using MQTT CONNECT without providing username/password, and the configuration params uses the placeholders %u / %P (e.g., username="%u", password="%P"), the HTTP request construction phase enters auth_http.c:set_data(). This results in calling strlen() on a NULL pointer, causing a SIGSEGV crash. This crash can be triggered remotely, resulting in a denial of service. This issue has been patched in version 0.24.7.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32696.json"
}
References

Affected packages

Git / github.com/nanomq/nanomq

Affected ranges

Type
GIT
Repo
https://github.com/nanomq/nanomq
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "cpe": "cpe:2.3:a:emqx:nanomq:*:*:*:*:*:*:*:*",
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "0.24.7"
                }
            ],
            "source": "CPE_RANGE"
        },
        {
            "original_tag": "0.24.7",
            "range": [
                {
                    "fixed": "53afcd687801f3efefb8b333c2a9200ed1a35979"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}
Type
GIT
Repo
https://github.com/nanomq/nanonng
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0.24.6"
                },
                {
                    "fixed": "0.24.7"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "c20aa27e5290bb480a5315099952480d35f37a8b"
                }
            ],
            "source": "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

0.*
0.0.1
0.0.2
0.0.3
0.1.0
0.10.1
0.10.5
0.10.8
0.11.0
0.11.2
0.11.3
0.11.5
0.11.8
0.11.82
0.12.0
0.12.1
0.12.2
0.12.5
0.13.0
0.13.6
0.13.8
0.14.0
0.14.1
0.14.5
0.14.8
0.15.0
0.15.1
0.15.2
0.15.3
0.15.5
0.16.0
0.16.2
0.16.3
0.16.5
0.17.2
0.17.5
0.17.8
0.18.1
0.18.2
0.19.0
0.19.1
0.19.5
0.2.0
0.2.1
0.2.2
0.2.5
0.20.0
0.20.5
0.20.6
0.20.8
0.21
0.21.1
0.21.10
0.21.2
0.21.5
0.21.6
0.21.7
0.21.8
0.21.9
0.22.0
0.22.1
0.22.10
0.22.2
0.22.3
0.22.6
0.22.7
0.22.8
0.23.0
0.23.1
0.23.10
0.23.2
0.23.3
0.23.4
0.23.5
0.23.6
0.23.7
0.23.7-11
0.23.8
0.23.9
0.24.0
0.24.1
0.24.2
0.24.3
0.24.3-5
0.24.4
0.24.5
0.24.6
0.3.0
0.3.2
0.3.3
0.3.4
0.3.5
0.3.8
0.4.0
0.4.1
0.4.2
0.4.3
0.4.5
0.4.8
0.5.0
0.5.2
0.5.5
0.5.8
0.5.9
0.6.0
0.6.2
0.6.3
0.6.4
0.6.7rc
0.6.8
0.7.0
0.7.2
0.7.3
0.7.4
0.7.4rc
0.7.5
0.7.5rc
0.7.8
0.7.9
0.8.0
0.8.3
0.8.5
0.8.6log
0.9.0
0.9.2
0.9.5
0.9.7

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32696.json"
vanir_signatures
[
    {
        "deprecated": false,
        "digest": {
            "function_hash": "12081595238386818138118310863616874923",
            "length": 4623
        },
        "id": "CVE-2026-32696-0bfee3d0",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/nanomq/nanonng/commit/c20aa27e5290bb480a5315099952480d35f37a8b",
        "target": {
            "file": "src/sp/protocol/mqtt/auth_http.c",
            "function": "set_data"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "94940091925855522222004541940775408739",
                "218290455991831011243121887278712093507",
                "67934702557345372143078401308618975788",
                "261317529484141723142602823488134955794",
                "66728917186788997754808855098114605944",
                "301698243749248529717284532828550222984",
                "75985527154376133731396751135922316093",
                "7751025232809709338654827822110748718",
                "44561041180091789080643977813476707308",
                "4180653322119908880501221426222482622"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-32696-cfa63009",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/nanomq/nanonng/commit/c20aa27e5290bb480a5315099952480d35f37a8b",
        "target": {
            "file": "src/sp/protocol/mqtt/auth_http.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "line_hashes": [
                "52844777112396057456275717574152334497",
                "256922439940024442121487004700823563200",
                "33430546955955752580482393956906191381",
                "236497918345231191818893218802851037927",
                "34218747060556881815855619959213094389",
                "153774283386743343399310811795851874199",
                "125330332525092710361108699802633065955",
                "173878156555487118740790950504304142821",
                "156786202179583432749733978334395569128"
            ],
            "threshold": 0.9
        },
        "id": "CVE-2026-32696-d5c74dd9",
        "signature_type": "Line",
        "signature_version": "v1",
        "source": "https://github.com/nanomq/nanonng/commit/89ac265ec2be8397aec05b383f03aad67189060e",
        "target": {
            "file": "src/sp/transport/mqttws/nmq_websocket.c"
        }
    },
    {
        "deprecated": false,
        "digest": {
            "function_hash": "318311335626546940215551707965025750098",
            "length": 499
        },
        "id": "CVE-2026-32696-de2051b1",
        "signature_type": "Function",
        "signature_version": "v1",
        "source": "https://github.com/nanomq/nanonng/commit/89ac265ec2be8397aec05b383f03aad67189060e",
        "target": {
            "file": "src/sp/transport/mqttws/nmq_websocket.c",
            "function": "wstran_pipe_send_cb"
        }
    }
]
vanir_signatures_modified
"2026-10-28T10:54:57Z"