Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft savegame with out-of-range activity index
-
DeliveryDistribute malicious save to target
-
ExploitTarget loads savegame in Freeciv 3.1.0-3.2.5
-
Executionsg_load_player_unit() reads beyond activities.order[] bounds
-
ImpactCrash (DoS) or limited heap bytes exposed
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Bounds checking, read limits
MITRE ATT&CK
1 technique across 1 tactic: Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the victim actively loads a crafted savegame file using Freeciv 3.1.0-3.2.5 - this constitutes the UI:P (passive user interaction) condition in the CVSS 4.0 vector. No authentication, elevated privileges, or special server configuration is required to craft or distribute the malicious file, but the attacker must social-engineer the victim into opening it. The vulnerability is only reachable through the savegame loading code path ( |
| Impact | The CVSS 4.0 score of 6.9 with vector AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H accurately characterises the attack profile: exploitation requires local file loading with passive user interaction (UI:P), yields a high availability impact (game crash), and only limited confidentiality exposure (bounded heap bytes adjacent to the activities array). No EPSS data was provided in the input, the CVE is absent from the CISA KEV list, and no public exploit code exists, all of which align with a low real-world exploitation urgency. The 'Buffer Overflow' tag in source data is a mislabeling - the commit diff and CWE-125 classification confirm an out-of-bounds read (no write primitive, no confirmed code execution path). The worst-case outcome for the majority of users is a game crash from a specially crafted save shared over a multiplayer lobby or forum; meaningful heap data exfiltration would require additional memory layout control not demonstrated in available data. Overall priority is low: patch during normal update cycle. |
| Exploit ScenarioDerived | An attacker crafts a Freeciv savegame where a unit record contains an activity index value set outside the valid range of the server's |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 12, 2026
Out-of-bounds read in Freeciv 3.1.0-3.2.5 allows a crash or limited heap memory exposure when a user loads a maliciously crafted savegame file with an invalid unit activity index. The flaw exists in sg_load_player_unit() in both savegame2.c and savegame3.c, where the activity index ei is used to index into loading->activities.order[] without first validating it falls within [0, loading->activities.size). No public exploit has been identified and the vulnerability is not on the CISA KEV list; vendor-released patch Freeciv 3.2.6 is available.
RemediationAI
Upgrade to Freeciv 3.2.6, the confirmed patched release available at https://github.com/freeciv/freeciv/releases/tag/R3_2_6. The fix is delivered in commit ef0c76c2765fe383140eb1a70dbea1228844152e, which adds bounds validation on the activity index ei in both savegame2.c and savegame3.c before the array access occurs. For deployments that cannot immediately upgrade, the most effective compensating control is to load savegame files exclusively from trusted sources and refuse save files received from unknown parties via multiplayer lobbies, forums, or messaging platforms. There is no server-side configuration flag that bypasses the vulnerable code path - the flaw is triggered entirely during savegame parsing, so network-layer filtering is not applicable. Patching is the only definitive remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Freeciv is an open-source turn-based strategy game whose server processes binary savegame files in C. The vulnerable function sg_load_player_unit() appears in both server/savegame/savegame2.c (line 4282) and server/savegame/savegame3.c (line 6108) of the R3_2_5 tag. When loading a unit's saved state, the code extracts an activity index ei from the savegame and immediately uses it as loading->activities.order[ei] without checking whether ei is within [0, loading->activities.size). This is a CWE-125 (Out-of-Bounds Read): a negative or oversized ei causes a read beyond the allocated array, resulting in either a segmentation fault (availability impact) or leakage of a small number of adjacent heap bytes (limited confidentiality impact). The commit ef0c76c adds the necessary bounds guard and substitutes ACTIVITY_IDLE as a safe fallback when the index is out of range, identically in both savegame format parsers (savegame2 for older formats, savegame3 for the current format).
Know when Freeciv gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local file-based trigger (AV:L) requires user to open malicious savegame (UI:R); no privilege needed to craft the file (PR:N); crash likely (A:H) with only limited adjacent heap read (C:L); no integrity impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Freeciv before 2.6.7 and before 3.0.3 is prone to a buffer overflow vulnerability in the Modpack Installer utility's han
Heap buffer overflow in Freeciv's worklist_load() function allows memory corruption when a crafted savegame file declare
Same weakness CWE-125 – Out-of-bounds Read
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Package Hub 15 SP7 | Fixed |
| SUSE Package Hub 15 SP7 | Affected |
EUVD-2026-76902
GHSA-m27m-5mqj-h84f
NVD
CVE.org
EPSS
VulDB
Exploit-DB