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-07-15T22:25:38.402304Z
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"
    ],
    "cna_assigner": "GitHub_M",
    "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
{
    "cpe": "cpe:2.3:a:emqx:nanomq:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "0.24.7"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}
Type
GIT
Repo
https://github.com/nanomq/nanonng
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "0.24.6"
        },
        {
            "fixed": "0.24.7"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ]
}

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

vanir_signatures_modified
"2026-07-15T22:25:38Z"
vanir_signatures
[
    {
        "signature_type": "Function",
        "deprecated": false,
        "digest": {
            "length": 4623.0,
            "function_hash": "12081595238386818138118310863616874923"
        },
        "signature_version": "v1",
        "source": "https://github.com/nanomq/nanonng/commit/c20aa27e5290bb480a5315099952480d35f37a8b",
        "id": "CVE-2026-32696-0bfee3d0",
        "target": {
            "function": "set_data",
            "file": "src/sp/protocol/mqtt/auth_http.c"
        }
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "94940091925855522222004541940775408739",
                "218290455991831011243121887278712093507",
                "67934702557345372143078401308618975788",
                "261317529484141723142602823488134955794",
                "66728917186788997754808855098114605944",
                "301698243749248529717284532828550222984",
                "75985527154376133731396751135922316093",
                "7751025232809709338654827822110748718",
                "44561041180091789080643977813476707308",
                "4180653322119908880501221426222482622"
            ]
        },
        "signature_version": "v1",
        "source": "https://github.com/nanomq/nanonng/commit/c20aa27e5290bb480a5315099952480d35f37a8b",
        "id": "CVE-2026-32696-cfa63009",
        "target": {
            "file": "src/sp/protocol/mqtt/auth_http.c"
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32696.json"