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:30.580Z
Modified
2026-04-12T20:14:04.642344Z
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.httpauth (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 authhttp.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
{
    "cwe_ids": [
        "CWE-476"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32696.json",
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/nanomq/nanonng

Affected ranges

Type
GIT
Repo
https://github.com/nanomq/nanonng
Events
Database specific
{
    "versions": [
        {
            "introduced": "0.24.6"
        },
        {
            "fixed": "0.24.7"
        }
    ]
}

Affected versions

0.*
0.24.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32696.json"
vanir_signatures_modified
"2026-04-12T20:14:04Z"
vanir_signatures
[
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "52844777112396057456275717574152334497",
                "256922439940024442121487004700823563200",
                "33430546955955752580482393956906191381",
                "236497918345231191818893218802851037927",
                "34218747060556881815855619959213094389",
                "153774283386743343399310811795851874199",
                "125330332525092710361108699802633065955",
                "173878156555487118740790950504304142821",
                "156786202179583432749733978334395569128"
            ]
        },
        "source": "https://github.com/nanomq/nanonng/commit/89ac265ec2be8397aec05b383f03aad67189060e",
        "id": "CVE-2026-32696-d5c74dd9",
        "signature_type": "Line",
        "target": {
            "file": "src/sp/transport/mqttws/nmq_websocket.c"
        }
    },
    {
        "signature_version": "v1",
        "deprecated": false,
        "digest": {
            "length": 499.0,
            "function_hash": "318311335626546940215551707965025750098"
        },
        "source": "https://github.com/nanomq/nanonng/commit/89ac265ec2be8397aec05b383f03aad67189060e",
        "id": "CVE-2026-32696-de2051b1",
        "signature_type": "Function",
        "target": {
            "function": "wstran_pipe_send_cb",
            "file": "src/sp/transport/mqttws/nmq_websocket.c"
        }
    }
]