{"id":"CVE-2026-32135","summary":"NanoMQ has Heap Buffer Overflow in URI Parameter Parsing","details":"NanoMQ MQTT Broker (NanoMQ) is an all-around Edge Messaging Platform. Versions prior to 0.24.11 have a remotely triggerable heap buffer overflow in the `uri_param_parse` function of NanoMQ's REST API. The vulnerability occurs due to an off-by-one error when allocating memory for query parameter keys and values, allowing an attacker to write a null byte beyond the allocated buffer. This can be triggered via a crafted HTTP request. Version 0.24.11 patches the issue.","aliases":["GHSA-6w96-9qw7-m599"],"modified":"2026-08-12T15:32:24.061931Z","published":"2026-04-20T19:23:09.704Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32135.json","cna_assigner":"GitHub_M","cwe_ids":["CWE-122"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/32xxx/CVE-2026-32135.json"},{"type":"ADVISORY","url":"https://github.com/nanomq/nanomq/security/advisories/GHSA-6w96-9qw7-m599"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-32135"},{"type":"REPORT","url":"https://github.com/nanomq/nanomq/issues/2247"},{"type":"FIX","url":"https://github.com/nanomq/nanomq/commit/69a97b3b39cc218f044f1c8896f4d3d8757bb394"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/nanomq/nanomq","events":[{"introduced":"0"},{"fixed":"69a97b3b39cc218f044f1c8896f4d3d8757bb394"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.24.11"}],"source":["AFFECTED_FIELD","CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:emqx:nanomq:*:*:*:*:*:*:*:*"}}],"versions":["0.24.10","0.24.9","0.24.8","0.24.7","0.24.6","0.24.5","0.24.4","0.24.3-5","0.24.3","0.24.2","0.24.1","0.24.0","0.23.10","0.23.9","0.23.8","0.23.7-11","0.23.7","0.23.6","0.23.5","0.23.4","0.23.3","0.23.2","0.23.1","0.23.0","0.22.10","0.22.8","0.22.7","0.22.6","0.22.2","0.22.3","0.22.1","0.22.0","0.21.10","0.21.9","0.21.8","0.21.7","0.21.6","0.21.5","0.21.2","0.21.1","0.21","0.20.8","0.20.6","0.20.5","0.20.0","0.19.5","0.19.1","0.19.0","0.18.2","0.18.1","0.17.8","0.17.5","0.17.2","0.16.5","0.16.3","0.16.2","0.16.0","0.15.5","0.15.3","0.15.2","0.15.1","0.15.0","0.14.8","0.14.5","0.12.1","0.14.1","0.14.0","0.13.8","0.13.6","0.13.0","0.12.5","0.12.2","0.12.0","0.11.82","0.11.8","0.11.5","0.11.3","0.11.2","0.11.0","0.10.8","0.10.5","0.10.1","0.9.7","0.9.5","0.9.2","0.9.0","0.8.6log","0.8.5","0.8.3","0.8.0","0.7.9","0.7.8","0.7.5","0.7.5rc","0.7.4rc","0.7.4","0.7.3","0.7.2","0.6.8","0.7.0","0.6.7rc","0.6.4","0.6.3","0.6.2","0.6.0","0.5.9","0.5.8","0.5.5","0.5.2","0.5.0","0.4.8","0.4.5","0.4.3","0.4.2","0.4.1","0.4.0","0.3.8","0.3.5","0.3.4","0.3.3","0.3.2","0.3.0","0.2.5","0.2.2","0.2.1","0.2.0","0.1.0","0.0.3","0.0.2","0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-32135.json","vanir_signatures_modified":"2026-08-12T15:32:24Z","vanir_signatures":[{"signature_version":"v1","source":"https://github.com/nanomq/nanomq/commit/69a97b3b39cc218f044f1c8896f4d3d8757bb394","target":{"file":"nanomq/rest_api.c","function":"URLDecoding"},"deprecated":false,"digest":{"function_hash":"9404688613459076675520313305819057131","length":400},"id":"CVE-2026-32135-6b8e96dc","signature_type":"Function"},{"deprecated":false,"digest":{"line_hashes":["314939031063357473425211000091759825555","79922476334093433481878188188230999595","115263727495026806456280480745001946541","335218920824431505626218604016560156406","109158426613458411923007034979039306216","263681326533205234187064883824333311768","139441057993715914564204102246260204056","163275836091019848639868326419883599422","232121921634077527089748850232063524540","137394070370141786835294877511344983945","309685692115858805372826425817723344625","180388931056228509517262893763708737544","253428475422003770740128093206280066637","83550170779872102422996397850477648840","157313739316912141087249248541460484873","125769424802170566273063628751569605473","168414094773912658563452953649189013304","332362556983238829505363368071561531910","139080809027202171145826152883316190111","74558128130252978070217973971791797169","57183551417306817156709030268492486682","188941984843814473912361960001297154924","34506272294443398337174980782299368690","293093021700596718330870323291220891427","218751175568408722690396640046618194911","264659906953652634920202064776704951932","183224120377393872789845349723215242491","192835487626449624614785956582916206428","151761993079419734514314841474824734052","209483360540906363404199890844243360425","259839083518275882442824479080929806326","165164928652970171162734450120824360205","342063255244962909075184816900792588","250741181287203539435992289254546992053","240888907075867659452765873170276375840"],"threshold":0.9},"id":"CVE-2026-32135-845bbb84","signature_type":"Line","signature_version":"v1","source":"https://github.com/nanomq/nanomq/commit/69a97b3b39cc218f044f1c8896f4d3d8757bb394","target":{"file":"nanomq/rest_api.c"}},{"deprecated":false,"digest":{"length":8677,"function_hash":"5795522914121648582782519407379809587"},"id":"CVE-2026-32135-dc67de60","signature_type":"Function","signature_version":"v1","source":"https://github.com/nanomq/nanomq/commit/69a97b3b39cc218f044f1c8896f4d3d8757bb394","target":{"file":"nanomq/rest_api.c","function":"process_request"}}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P"}]}