{
  "id": "security/cpp/CelestiaProject__Celestia/2026-11-22-3ds-mesh-out-of-range-indices",
  "title": "Out-of-range face and material indices in the 3DS model loader",
  "category": "security",
  "type": "memory-safety",
  "severity": "low",
  "cvss": null,
  "ecosystem": "cpp",
  "project": {
    "owner": "CelestiaProject",
    "repo": "Celestia",
    "url": "https://github.com/CelestiaProject/Celestia"
  },
  "affected_versions": null,
  "status": "fixed",
  "disclosure": {
    "channel": "email",
    "ghsa_id": null,
    "cve_id": null,
    "url": "https://github.com/CelestiaProject/Celestia/pull/2788",
    "reported_at": "2026-11-21T19:08:00+03:00",
    "published_at": "2026-11-22T11:13:53+03:00"
  },
  "summary": "The 3DS model loader in src/cel3ds/3dsread.cpp does not bounds-check face vertex indices, material-group face indices, or accumulated point and face counts, so a crafted .3ds file can use out-of-range indices when Celestia loads it. Levin Li (levinli303) wrote and merged the fix in pull request 2788 on 2026-11-22; the pull request says it was reported by @ucsurf.",
  "discovered_at": "2026-11-21T19:08:00+03:00",
  "public": true,
  "credit": "ucsurf",
  "updated_at": "2026-11-24T13:50:00+03:00",
  "pr": {
    "url": "https://github.com/CelestiaProject/Celestia/pull/2788",
    "state": "merged",
    "merged_at": null,
    "number": 2788
  },
  "references": [
    "https://github.com/CelestiaProject/Celestia/pull/2788"
  ]
}
