Skip to main content

Freeciv CVE-2026-90557

| EUVDEUVD-2026-76902 MEDIUM
Out-of-bounds Read (CWE-125)
2026-09-12 VulnCheck GHSA-m27m-5mqj-h84f
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft savegame with out-of-range activity index
  2. Delivery
    Distribute malicious save to target
  3. Exploit
    Target loads savegame in Freeciv 3.1.0-3.2.5
  4. Execution
    sg_load_player_unit() reads beyond activities.order[] bounds
  5. Impact
    Crash (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 (sg_load_player_unit()); it is not triggered during normal network gameplay that does not involve loading a saved game. Exploitation is limited to the affected version range (3.1.0-3.2.5); Freeciv 3.2.6 and later include the bounds check and are not exploitable.

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 activities.order[] array, then shares the file through a multiplayer game lobby, community forum, or direct message. When the victim loads the save file in their Freeciv client or server (versions 3.1.0-3.2.5), sg_load_player_unit() accesses memory beyond the allocated array boundary, most likely causing an immediate crash; in a less common outcome, a small number of adjacent heap bytes may be returned. No public exploit code exists at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

freeciv 3.1.0 <3.2.6

Affected Packages

euvd freeciv fix: 3.2.6

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

Vendor (VulnCheck) PRIMARY 6.9 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE MEDIUM

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
open-source strategy game, niche gaming community footprint
Data Quality
7 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Package Hub 15 SP7 Fixed
SUSE Package Hub 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy