# CVE-2026-85440: MOOS core-moos through 10.4.0 MOOSDB Pre-Authentication Heap Overflow via Negative Packet Length

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-09-03T22:38:31.246Z
- Modified: 2026-10-14T23:29:36.057Z
- Weaknesses: CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- themoos core-moos: up to 10.4.0; before 10.4.0

## Every score

- VulnCheck: CVSS:4.0 9.3 Critical `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`
- VulnCheck: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/themoos/core-moos/pull/82> (issue-tracking, patch)
- <https://github.com/themoos/core-moos/commit/96c49c5cdda6e07ee734a5324e8d25ba5a7f2d7a> (issue-tracking, patch)
- <https://github.com/themoos/core-moos> (product)
- <https://github.com/themoos/core-moos/blob/ec9c77c68fcbdef8f5e4c60fe243acd223433f0c/Core/libMOOS/Comms/MOOSCommPkt.cpp#L67> (issue-tracking, patch, technical-description)
- <https://www.vulncheck.com/advisories/moos-core-moos-through-10.4.0-moosdb-pre-authentication-heap-overflow-via-negative-packet-length> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-85440](https://www.cve.org/CVERecord?id=CVE-2026-85440), CVE Terms of Use, modified 2026-09-04
- NVD: [CVE-2026-85440](https://nvd.nist.gov/vuln/detail/CVE-2026-85440), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-85440 · Whole record: https://cve.day/CVE-2026-85440.json · Rebuilt by cve.day 2026-11-25T22:59:36.245Z
