CVE-2026-33250: 
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2026-33250 is a stack-based buffer overflow vulnerability in Freeciv21, a free open-source turn-based strategy game, caused by recursive processing of specially-crafted compressed (jumbo) packets. All versions prior to 3.1.1 are affected across all supported platforms including snap, Windows, Mac, Debian packages, Arch User Repository, and Flatpak distributions. The vulnerability was discovered and published on March 21–24, 2026, with a patch released simultaneously. It carries a CVSS v3.1 base score of 7.5 (High) (GitHub Advisory, Feedly).

Technical details

The root cause is improper input validation (CWE-20) leading to a stack-based buffer overflow (CWE-121) in the packet decompression logic of common/networking/packets.cpp. Freeciv21's network protocol supports compressing individual packets or merging streams into "jumbo" packets; the vulnerable implementation recursively called get_packet_from_connection() when processing jumbo packets, allowing a malicious sender to craft nested jumbo-within-jumbo packets that trigger unbounded recursion and stack exhaustion. No authentication is required to send such packets, and by default the application logs do not record sufficient information to detect the attack. The fix (commit ad8e18c) eliminates the recursion by refactoring decompression into a separate non-recursive decompress_buffer() function and explicitly rejecting any compressed packet found inside a decompressed result (zip-bomb prevention) (GitHub Advisory, Fix Commit).

Impact

Successful exploitation causes a crash (stack overflow) of the targeted Freeciv21 process, resulting in a complete denial of service. A remote unauthenticated attacker can crash any publicly accessible Freeciv21 server, disrupting all active game sessions. Conversely, a malicious game server can exploit connecting clients, crashing the game on the player's machine. There is no confidentiality or integrity impact; the vulnerability is purely an availability issue. Local single-player games are not affected, as Freeciv21 restricts local connections to the current user (GitHub Advisory).

Exploitability

No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported. The EPSS score is approximately 0.0023 (0.23%), indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been identified. The attack requires no authentication and no user interaction, making it trivially exploitable against any reachable public server once the attack vector is understood (Feedly, GitHub Advisory).

Exploitation steps

  1. Reconnaissance: Identify publicly accessible Freeciv21 servers running versions prior to 3.1.1 using network scanning tools (e.g., Shodan, Censys) targeting the default Freeciv21 port (5556/TCP).
  2. Connect to the target: Establish a network connection to the target server or connect a game client to a malicious server — no credentials are required.
  3. Craft malicious jumbo packets: Construct specially-crafted network packets that exploit the recursive decompression logic by nesting jumbo compressed packets within other jumbo packets (e.g., a jumbo containing another jumbo, recursively).
  4. Send the payload: Transmit the crafted packet stream to the target. The server (or client) will attempt to recursively decompress the nested jumbos, exhausting the call stack.
  5. Trigger crash: The stack overflow causes the Freeciv21 process to crash, achieving denial of service against the server or the connecting player's client (GitHub Advisory, Fix Commit).

Indicators of compromise

  • Network: Unexpected or malformed TCP connections to Freeciv21 server port (default 5556/TCP) from unknown or untrusted IP addresses; unusually large or deeply nested compressed packet streams in network captures.
  • Logs: Freeciv21 process termination with no preceding error messages (default logging does not capture useful information about the attack); OS-level crash reports or core dumps from the Freeciv21 binary.
  • Process: Sudden unexpected termination of the freeciv21-server or freeciv21 client process; operating system crash reports (e.g., Windows Event Log application crash entries, Linux dmesg stack overflow messages, or core dump files in the working directory) (GitHub Advisory).

Mitigation and workarounds

All users should upgrade to Freeciv21 version 3.1.1, which is available across all supported package formats (snap, Windows/Mac/Debian installers, AUR, and Flatpak). The fix removes recursive compressed packet processing and adds explicit rejection of compressed packets nested within decompressed content. As a temporary workaround for non-public servers, placing the server behind a firewall to restrict network access reduces exposure. Local single-player games are not affected and require no action (GitHub Advisory, Release v3.1.1).

Community reactions

The vulnerability was discovered and reported by lmoureaux, a Freeciv21 maintainer, and patched in the same release cycle as disclosure (March 21, 2026). The release notes explicitly label v3.1.1 as a security release. Downstream Linux distributions including openSUSE and Mageia issued security update advisories, and Tenable published Nessus detection plugins (IDs 303284, 303285, 304224) shortly after disclosure. No significant broader media coverage or notable social media discussion has been identified (Release v3.1.1, openSUSE Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

freeciv: 3.0.6-1+deb12u1

Fixed

sid

freeciv: 3.2.4+ds-1

Fixed

trixie

freeciv: 3.1.4+ds-2+deb13u1

Fixed

Ubuntu

Fixed

bionic (esm-apps)

freeciv: 2.5.10-1ubuntu0.1~esm1

Fixed

devel

freeciv

Not Affected

focal (esm-apps)

freeciv: 2.6.2-1ubuntu0.1~esm1

Fixed

jammy

freeciv

Affected

jammy (esm-apps)

freeciv: 2.6.6-1ubuntu0.1~esm1

Fixed

noble

freeciv

Affected

noble (esm-apps)

freeciv: 3.1.0+ds-1ubuntu0.1~esm1

Fixed

resolute

freeciv

Not Affected

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116612HIGH7.8
  • Linux Debian logoLinux Debian
  • gstreamer-editing-services1.0
NoYesOct 26, 2026
CVE-2026-115909HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115907HIGH7.5
  • Linux Debian logoLinux Debian
  • rust-zip
NoNoOct 26, 2026
CVE-2026-115910MEDIUM6.8
  • Python logoPython
  • social-auth-core
NoYesOct 26, 2026
CVE-2026-2270MEDIUM5.9
  • NixOS logoNixOS
  • kubernetes
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management