GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration
ubuntu-cve-2026-90557
Vulnerability from osv_ubuntu
Published
2026-09-14 00:00
Modified
2026-09-14 00:00
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "freeciv",
            "binary_version": "2.5.3-1"
          },
          {
            "binary_name": "freeciv-client-extras",
            "binary_version": "2.5.3-1"
          },
          {
            "binary_name": "freeciv-client-gtk",
            "binary_version": "2.5.3-1"
          },
          {
            "binary_name": "freeciv-client-qt",
            "binary_version": "2.5.3-1"
          },
          {
            "binary_name": "freeciv-client-sdl",
            "binary_version": "2.5.3-1"
          },
          {
            "binary_name": "freeciv-data",
            "binary_version": "2.5.3-1"
          },
          {
            "binary_name": "freeciv-server",
            "binary_version": "2.5.3-1"
          },
          {
            "binary_name": "freeciv-sound-standard",
            "binary_version": "2.5.3-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "freeciv",
        "purl": "pkg:deb/ubuntu/freeciv@2.5.3-1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5.1-1",
        "2.5.2-1",
        "2.5.3-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "freeciv",
            "binary_version": "2.5.10-1"
          },
          {
            "binary_name": "freeciv-client-extras",
            "binary_version": "2.5.10-1"
          },
          {
            "binary_name": "freeciv-client-gtk",
            "binary_version": "2.5.10-1"
          },
          {
            "binary_name": "freeciv-client-gtk3",
            "binary_version": "2.5.10-1"
          },
          {
            "binary_name": "freeciv-client-qt",
            "binary_version": "2.5.10-1"
          },
          {
            "binary_name": "freeciv-client-sdl",
            "binary_version": "2.5.10-1"
          },
          {
            "binary_name": "freeciv-data",
            "binary_version": "2.5.10-1"
          },
          {
            "binary_name": "freeciv-server",
            "binary_version": "2.5.10-1"
          },
          {
            "binary_name": "freeciv-sound-standard",
            "binary_version": "2.5.10-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "freeciv",
        "purl": "pkg:deb/ubuntu/freeciv@2.5.10-1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.5.9-1",
        "2.5.10-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "freeciv",
            "binary_version": "2.6.2-1"
          },
          {
            "binary_name": "freeciv-client-extras",
            "binary_version": "2.6.2-1"
          },
          {
            "binary_name": "freeciv-client-gtk",
            "binary_version": "2.6.2-1"
          },
          {
            "binary_name": "freeciv-client-gtk3",
            "binary_version": "2.6.2-1"
          },
          {
            "binary_name": "freeciv-client-qt",
            "binary_version": "2.6.2-1"
          },
          {
            "binary_name": "freeciv-client-sdl",
            "binary_version": "2.6.2-1"
          },
          {
            "binary_name": "freeciv-data",
            "binary_version": "2.6.2-1"
          },
          {
            "binary_name": "freeciv-server",
            "binary_version": "2.6.2-1"
          },
          {
            "binary_name": "freeciv-sound-standard",
            "binary_version": "2.6.2-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "freeciv",
        "purl": "pkg:deb/ubuntu/freeciv@2.6.2-1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.6.0-3",
        "2.6.0-4",
        "2.6.1-1",
        "2.6.2-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "freeciv",
            "binary_version": "2.6.6-1"
          },
          {
            "binary_name": "freeciv-client-extras",
            "binary_version": "2.6.6-1"
          },
          {
            "binary_name": "freeciv-client-gtk",
            "binary_version": "2.6.6-1"
          },
          {
            "binary_name": "freeciv-client-gtk3",
            "binary_version": "2.6.6-1"
          },
          {
            "binary_name": "freeciv-client-qt",
            "binary_version": "2.6.6-1"
          },
          {
            "binary_name": "freeciv-client-sdl",
            "binary_version": "2.6.6-1"
          },
          {
            "binary_name": "freeciv-data",
            "binary_version": "2.6.6-1"
          },
          {
            "binary_name": "freeciv-server",
            "binary_version": "2.6.6-1"
          },
          {
            "binary_name": "freeciv-sound-standard",
            "binary_version": "2.6.6-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "freeciv",
        "purl": "pkg:deb/ubuntu/freeciv@2.6.6-1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.6.3-1",
        "2.6.5-1",
        "2.6.6-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "freeciv",
            "binary_version": "3.1.0+ds-1build5"
          },
          {
            "binary_name": "freeciv-client-extras",
            "binary_version": "3.1.0+ds-1build5"
          },
          {
            "binary_name": "freeciv-client-gtk3",
            "binary_version": "3.1.0+ds-1build5"
          },
          {
            "binary_name": "freeciv-client-qt",
            "binary_version": "3.1.0+ds-1build5"
          },
          {
            "binary_name": "freeciv-client-sdl",
            "binary_version": "3.1.0+ds-1build5"
          },
          {
            "binary_name": "freeciv-data",
            "binary_version": "3.1.0+ds-1build5"
          },
          {
            "binary_name": "freeciv-ruleset-tools",
            "binary_version": "3.1.0+ds-1build5"
          },
          {
            "binary_name": "freeciv-server",
            "binary_version": "3.1.0+ds-1build5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "freeciv",
        "purl": "pkg:deb/ubuntu/freeciv@3.1.0+ds-1build5?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.8-1",
        "3.0.8-2",
        "3.0.8-2build1",
        "3.1.0+ds-1build3",
        "3.1.0+ds-1build4",
        "3.1.0+ds-1build5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "freeciv",
            "binary_version": "3.2.4+ds-1"
          },
          {
            "binary_name": "freeciv-client-extras",
            "binary_version": "3.2.4+ds-1"
          },
          {
            "binary_name": "freeciv-client-gtk3",
            "binary_version": "3.2.4+ds-1"
          },
          {
            "binary_name": "freeciv-client-gtk4",
            "binary_version": "3.2.4+ds-1"
          },
          {
            "binary_name": "freeciv-client-qt",
            "binary_version": "3.2.4+ds-1"
          },
          {
            "binary_name": "freeciv-client-sdl",
            "binary_version": "3.2.4+ds-1"
          },
          {
            "binary_name": "freeciv-data",
            "binary_version": "3.2.4+ds-1"
          },
          {
            "binary_name": "freeciv-ruleset-tools",
            "binary_version": "3.2.4+ds-1"
          },
          {
            "binary_name": "freeciv-server",
            "binary_version": "3.2.4+ds-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "freeciv",
        "purl": "pkg:deb/ubuntu/freeciv@3.2.4+ds-1?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.2.0+ds-1",
        "3.2.1+ds-1",
        "3.2.1+ds-1build1",
        "3.2.2+ds-1",
        "3.2.4+ds-1"
      ]
    }
  ],
  "aliases": [],
  "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": "UBUNTU-CVE-2026-90557",
  "modified": "2026-09-14T00:00:00Z",
  "published": "2026-09-14T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-90557"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-90557"
    },
    {
      "type": "REPORT",
      "url": "https://redmine.freeciv.org/issues/2162"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/freeciv/freeciv"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/freeciv/freeciv/blob/R3_2_5/server/savegame/savegame2.c#L4282"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/freeciv/freeciv/blob/R3_2_5/server/savegame/savegame3.c#L6108"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/freeciv/freeciv/commit/ef0c76c2765fe383140eb1a70dbea1228844152e"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/freeciv/freeciv/releases/tag/R3_2_6"
    },
    {
      "type": "REPORT",
      "url": "https://www.vulncheck.com/advisories/freeciv-3.1.0-through-3.2.5-out-of-bounds-read-via-savegame"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "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"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-90557"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…