{
  "id": "security/cpp/robotraconteur__robotraconteur/2026-11-20-unchecked-message-lengths-memory-exhaustion",
  "title": "Memory exhaustion from unchecked lengths in message deserialization",
  "category": "security",
  "type": "dos",
  "severity": "high",
  "cvss": {
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
    "score": 7.5
  },
  "ecosystem": "cpp",
  "project": {
    "owner": "robotraconteur",
    "repo": "robotraconteur",
    "url": "https://github.com/robotraconteur/robotraconteur"
  },
  "affected_versions": [
    "Robot Raconteur Core <= 1.2.9",
    "robotraconteur (pip/other) <= 1.2.9",
    "RobotRaconteurNET (nuget) <= 1.2.9",
    "RobotRaconteur.jar <= 1.2.9",
    "RobotRaconteurMatlab <= 1.2.9"
  ],
  "fixed_version": "1.3.0",
  "status": "published",
  "disclosure": {
    "channel": "pvr",
    "ghsa_id": "GHSA-mp86-55qw-3rfh",
    "cve_id": null,
    "url": "https://github.com/robotraconteur/robotraconteur/security/advisories/GHSA-mp86-55qw-3rfh",
    "reported_at": "2026-11-20T02:46:59+03:00",
    "published_at": "2026-11-25T11:09:36+03:00",
    "accepted_at": null
  },
  "summary": "Message readers in the Robot Raconteur core library used wire-supplied lengths and counts (strings in format v4, numeric arrays in the async reader, Extended header, entry and element fields, and nested element lists) to allocate memory before checking that the message contained that much data (CWE-789). A few bytes per field could make the receiver allocate gigabytes. Any peer that can open a connection to a Robot Raconteur transport can reach this before a session or authentication. The TCP transport's default port is 48653. TLS and authentication do not prevent it. Affected versions are <= 1.2.9, including Robot Raconteur Core and the packages robotraconteur (pip/other), RobotRaconteurNET (nuget), RobotRaconteur.jar and RobotRaconteurMatlab. Fixed by the maintainers in 1.3.0: every length and count is checked against the remaining bytes of the section before allocating. The same release also fixes async reader format v4 header size checks and an unsigned remaining-length wraparound.",
  "discovered_at": "2026-11-20T02:46:59+03:00",
  "public": true,
  "credit": "ucsurf",
  "updated_at": "2026-11-25T11:35:00+03:00",
  "pr": null,
  "references": [
    "https://github.com/robotraconteur/robotraconteur/issues/495",
    "https://github.com/robotraconteur/robotraconteur/releases/tag/v1.3.0",
    "https://github.com/robotraconteur/robotraconteur/commit/e365de0b9fbce2a3778528399bcd4ea881af4bed",
    "https://github.com/robotraconteur/robotraconteur/commit/c023c4490a93e6f5f4585653b9e1e37b06c0b4b0",
    "https://github.com/robotraconteur/robotraconteur/commit/0da5e364b1885c4b240fd64b9ef5b647231b5790"
  ]
}
