CVE-2026-90557
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/freeciv/freeciv
- https://github.com/freeciv/freeciv/blob/R3_2_5/server/savegame/savegame2.c#L4282
- https://github.com/freeciv/freeciv/blob/R3_2_5/server/savegame/savegame3.c#L6108
- https://github.com/freeciv/freeciv/commit/ef0c76c2765fe383140eb1a70dbea1228844152e
- https://github.com/freeciv/freeciv/releases/tag/R3_2_6
- https://redmine.freeciv.org/issues/2162
- https://www.vulncheck.com/advisories/freeciv-3.1.0-through-3.2.5-out-of-bounds-read-via-savegame
CWEs
CWE-125
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.