{"answers":{"affected":"3 open source packages ship an affected version, including github.com/eclipse/paho.mqtt.golang. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-10543 in the wild and no public exploit code.","fix":"Upgrade github.com/eclipse/paho.mqtt.golang to 1.5.1 or later.","what":"CVE-2025-10543 is a medium-severity vulnerability in Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library), published on 2 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-10543 and fix it if it is affected.\n\nWhat it is: CVE-2025-10543 is a medium-severity vulnerability in Eclipse Foundation paho.mqtt.golang (Go MQTT v3.1 library), published on 2 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-10543 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/eclipse/paho.mqtt.golang (Go): affected all versions; fixed in 1.5.1\n- github.com/eclipse/paho.mqtt.golang (Go): affected all versions; fixed in 1.5.1\n- github.com/eclipse/paho.mqtt.golang (Go): affected all versions; fixed in 1.5.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-10543/ (Markdown: https://insights.sbomify.com/CVE-2025-10543/index.md)","id":"CVE-2025-10543","markdown":"https://insights.sbomify.com/CVE-2025-10543/index.md","name":"CVE-2025-10543","record":{"aliases":["AZL-71299","AZL-71311","AZL-71320","AZL-71332","CLEANSTART-2026-QA96824","GHSA-32fw-gq77-f2f2","GO-2025-4173","MINI-3w7p-6j6p-cvr4","MINI-4gp3-cm78-q8w6","MINI-gjm4-h254-9hw5","MINI-j2m8-jx6w-8mpw","MINI-r4w5-qh4w-rfcg","MINI-r849-qfww-22m3","MINI-wcj8-rx5p-vm46","MINI-wp34-8ff5-c6fm","ROOT-APP-GOBINARY-CVE-2025-10543"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","other"],"network_reachable":"yes","non_default_config":false,"product_category":"Go MQTT library","requires_auth":"none","summary":"An integer overflow in the Eclipse Paho Go MQTT library allows attackers to cause data leakage or packet corruption by sending oversized UTF-8 strings.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"eclipse","cpe":[{"product":"paho_mqtt","vendor":"eclipse"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-681","name":"Incorrect Conversion between Numeric Types"},{"id":"CWE-197","name":"Numeric Truncation Error"}],"description":"In Eclipse Paho Go MQTT v3.1 library (paho.mqtt.golang) versions \u003c=1.5.0 UTF-8 encoded strings, passed into the library, may be incorrectly encoded if their length exceeds 65535 bytes. This may lead to unexpected content in packets sent to the server (for example, part of an MQTT topic may leak into the message body in a PUBLISH packet).\n\nThe issue arises because the length of the data passed in was converted from an int64/int32 (depending upon CPU) to an int16 without checks for overflows. The int16 length was then written, followed by the data (e.g. topic). This meant that when the data (e.g. topic) was over 65535 bytes then the amount of data written exceeds what the length field indicates. This could lead to a corrupt packet, or mean that the excess data leaks into another field (e.g. topic leaks into message body).","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Eclipse Paho Go MQTT may incorrectly encode strings if length exceeds 65535 bytes","id":"CVE-2025-10543","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"integer_overflow","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"Unrestricted uploading of dangerous file types to AvePoint products","id":"CVE-2025-10544"},"packages":[{"ecosystem":"Go","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"github.com/eclipse/paho.mqtt.golang","purl":null,"source":"GHSA-32fw-gq77-f2f2"},{"ecosystem":"Go","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"github.com/eclipse/paho.mqtt.golang","purl":"pkg:golang/github.com/eclipse/paho.mqtt.golang","source":"GHSA-32fw-gq77-f2f2"},{"ecosystem":"Go","fixed":["1.5.1"],"introduced":["0"],"last_affected":[],"package":"github.com/eclipse/paho.mqtt.golang","purl":"pkg:golang/github.com/eclipse/paho.mqtt.golang","source":"GO-2025-4173"}],"prev":{"headline":"Insecure Default Admin Credentials Enable Full Administrative Access in iMonitor EAM","id":"CVE-2025-10542"},"products":["paho.mqtt.golang (Go MQTT v3.1 library)"],"published":"2025-12-02","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-12-02","vendors":["Eclipse Foundation"]},"summary":"An integer overflow in the Eclipse Paho Go MQTT library allows attackers to cause data leakage or packet corruption by sending oversized UTF-8 strings.","url":"https://insights.sbomify.com/CVE-2025-10543/"}