Description
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.
Published: 2026-09-03
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

MOOS core‑moos versions up to 10.4.0 contain a pre‑authentication heap overflow in the MOOSCommPkt packet handling routine. By sending a packet with a negative length, an attacker can overflow a four‑byte heap buffer during the HandShake phase before authentication. This overflow allows the attacker to write arbitrary data into memory, which can lead to remote code execution or the execution of malicious commands on the vulnerable system.

Affected Systems

The vulnerability affects installations of themoos: core‑moos through version 10.4.0. Any machine running this software exposed to a network that can send packet data to the MOOS database is potentially impacted.

Risk and Exploitability

With a CVSS score of 9.3 the vulnerability is classified as critical; the EPSS score is not available, so the exact exploitation likelihood is unknown, but the lack of a KEV listing suggests no widespread active exploitation has been observed yet. The vulnerability can be triggered remotely by an attacker who can reach the MOOS database before authentication is completed, making the attack surface dependent on network exposure. Exploit code would need to construct a packet with a negative length and send it during the handshake phase, taking advantage of the signed integer check in InflateTo() and the negative size conversion in recv().

Generated by OpenCVE AI on September 3, 2026 at 23:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade core‑moos to a version newer than 10.4.0 or apply the patch referenced in commit 96c49c5cdda6e07ee734a5324e8d25ba5a7f2d7a.
  • Restrict network access to the MOOS database so that only trusted hosts can reach the handshake endpoint, reducing the attack surface before authentication.
  • If an upgrade is not immediately possible, block the port used by MOOSComm with a firewall rule until the patch or newer release is deployed.

Generated by OpenCVE AI on September 3, 2026 at 23:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 03 Sep 2026 22:45:00 +0000

Type Values Removed Values Added
Description 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.
Title MOOS core-moos through 10.4.0 MOOSDB Pre-Authentication Heap Overflow via Negative Packet Length
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-03T22:38:31.246Z

Reserved: 2026-09-03T19:50:57.793Z

Link: CVE-2026-85440

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-03T23:17:23.590

Modified: 2026-09-03T23:17:23.590

Link: CVE-2026-85440

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T23:30:11Z

Weaknesses