{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "3.1.0"
              },
              {
                "fixed": "3.2.6"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "fb42aab19c905043535a2724530b1663296d1094"
            },
            {
              "fixed": "2c4304c742aa81f1d73a5d604ed83237d57804a1"
            }
          ],
          "repo": "https://github.com/freeciv/freeciv",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90557.json"
  },
  "details": "Freeciv versions 3.1.0 through 3.2.5 contain an out-of-bounds read vulnerability in sg_load_player_unit() when processing savegame files with invalid unit activity indices. An attacker can craft a malicious savegame file with an out-of-range activity index that bypasses bounds checking and causes a crash or limited heap memory exposure when loaded.",
  "id": "CVE-2026-90557",
  "modified": "2026-09-16T03:30:52.329688443Z",
  "published": "2026-09-12T18:06:41.706Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90557.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/freeciv/freeciv/releases/tag/R3_2_6"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-90557"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/freeciv-3.1.0-through-3.2.5-out-of-bounds-read-via-savegame"
    },
    {
      "type": "REPORT",
      "url": "https://redmine.freeciv.org/issues/2162"
    },
    {
      "type": "FIX",
      "url": "https://github.com/freeciv/freeciv/commit/ef0c76c2765fe383140eb1a70dbea1228844152e"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/freeciv/freeciv"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/freeciv/freeciv/blob/R3_2_5/server/savegame/savegame2.c#L4282"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/freeciv/freeciv/blob/R3_2_5/server/savegame/savegame3.c#L6108"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Freeciv 3.1.0 through 3.2.5 Out-of-Bounds Read via Savegame"
}