{"id":"CVE-2026-85440","summary":"MOOS core-moos through 10.4.0 MOOSDB Pre-Authentication Heap Overflow via Negative Packet Length","details":"MOOS core-moos through 10.4.0 contains a pre-authentication heap overflow vulnerability in MOOSCommPkt packet handling that allows remote attackers to write arbitrary data by declaring a negative packet length. Attackers can exploit the signed integer check in InflateTo() and negative size conversion in recv() to overflow a four-byte heap buffer during the HandShake phase before authentication.","modified":"2026-09-06T03:30:27.906815759Z","published":"2026-09-03T22:38:31.246Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85440.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-787"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85440.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85440"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/moos-core-moos-through-10.4.0-moosdb-pre-authentication-heap-overflow-via-negative-packet-length"},{"type":"FIX","url":"https://github.com/themoos/core-moos/commit/96c49c5cdda6e07ee734a5324e8d25ba5a7f2d7a"},{"type":"FIX","url":"https://github.com/themoos/core-moos/pull/82"},{"type":"PACKAGE","url":"https://github.com/themoos/core-moos"},{"type":"ARTICLE","url":"https://github.com/themoos/core-moos/blob/ec9c77c68fcbdef8f5e4c60fe243acd223433f0c/Core/libMOOS/Comms/MOOSCommPkt.cpp#L67"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/themoos/core-moos","events":[{"introduced":"0"},{"fixed":"19d06a9aefc910b0504c2c8589b1403f3b6e77a8"},{"fixed":"96c49c5cdda6e07ee734a5324e8d25ba5a7f2d7a"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"10.4.0"}],"source":["DESCRIPTION","REFERENCES"]}}],"versions":["v10.0.4-alpha","10.0.3-devel-candidate","10.0.2-devel","10.0.1-devel","PreProfilingmerge","IvPCompatibility"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85440.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}