# openSUSE-SU-2026:21800-1: Security update for freeciv

> Attackers can execute arbitrary code or cause denial of service by tricking users into opening crafted save files in Freeciv.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 7 Sep 2026

## What is openSUSE-SU-2026:21800-1?

openSUSE-SU-2026:21800-1 is a memory corruption vulnerability in freeciv, published on 7 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

This update for freeciv fixes the following issues:

Changes in freeciv:

- freeciv 3.2.6:
  * Fix Heap Buffer Overflow in worklist_load() via Crafted Save
    File (boo#1278695)
  * Fix Out-of-Bounds Read in activities.order[] via Crafted Save
    File (boo#1278696)
  * Fix some unit move legality checks and path finding issues
  * Improve logging about player authentication
  * Fix infinite audio loop in the client exit with the SDL3 audio
  * Fix issue with displayed "turns to grow" for the city to be
    wrong after city shrank
  * Made tech tree not to show buildings or governments which tech
    actually makes unavailable
  * Bug fixes, translation updates, docummentation updates

- freeciv 3.2.5:
  * Fix No First City vs Currently has cities inconsistency on savegame loading
  * AI: Enable rampage with more attack types
  * Fixed floating point exception at air unit handling
  * Clients: Display NeverProtects unit help in correct place
  * gtk4: Fixed city trading
  * qt: Fixed "Save Options pn Exit" toggle
  * Miscellaneous changes to developer/install/ruleset docs
  * Corrected encoding of the Hungarian translation
  * Compatibility fixes for glibc-2.43, g++16, Qt-6.11

## Which versions are affected by openSUSE-SU-2026:21800-1?


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `freeciv` | openSUSE:Leap 16.0 | All versions | 3.2.6-bp160.1.1 |

## How do I fix openSUSE-SU-2026:21800-1?

Upgrade to a fixed version.

## Is openSUSE-SU-2026:21800-1 being exploited?

There is no known exploitation of openSUSE-SU-2026:21800-1 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for openSUSE-SU-2026:21800-1 and fix it if it is affected.

What it is: openSUSE-SU-2026:21800-1 is a memory corruption vulnerability in freeciv, published on 7 Sep 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of openSUSE-SU-2026:21800-1 in the wild and no public exploit code.

Affected product: freeciv. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/openSUSE-SU-2026-21800-1/ (Markdown: https://insights.sbomify.com/openSUSE-SU-2026-21800-1/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/openSUSE-SU-2026:21800-1

---
From sbomify Insights: https://insights.sbomify.com/openSUSE-SU-2026-21800-1/
Summaries are generated and may contain mistakes; the official description above is the record.
