Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2012-5645
Freeciv vulnerability analysis and mitigation

Overview

CVE-2012-5645 is a denial of service vulnerability affecting the server component of Freeciv before version 2.3.4. The vulnerability was discovered in December 2012 and involves the way the server processes certain network packets. This flaw specifically relates to the processing of invalid packets with whole packet length lower than packet header size, which could lead to memory exhaustion (Openwall OSS).

Technical details

The vulnerability exists in the packet processing mechanism of the Freeciv server component. When processing certain packets with invalid packet lengths (specifically where the whole packet length is lower than the packet header size), the server could be forced into a state leading to memory exhaustion. The issue was fixed in version 2.3.4 through a patch that implements sanity checks for packet length received over network against values less than header length alone (Debian Bug).

Impact

When exploited, this vulnerability could cause the Freeciv server to terminate due to memory exhaustion, resulting in a denial of service condition. This would affect the availability of the game server for all connected players (CVE Mitre).

Exploitability

The vulnerability can be exploited remotely by sending specially-crafted packets to the Freeciv server. An attacker could trigger the vulnerability by sending invalid packets with packet lengths lower than the packet header size (Openwall OSS).

Mitigation and workarounds

The vulnerability was fixed in Freeciv version 2.3.4. Users should upgrade to this version or later to mitigate the issue. The fix implements proper sanity checks for packet lengths received over the network (Debian Bug).

Additional resources


SourceThis report was generated using AI

Related Freeciv vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2022-39047HIGH8.8
  • NixOS logoNixOS
  • freeciv
NoYesAug 31, 2022
CVE-2026-90556HIGH8.5
  • Freeciv logoFreeciv
  • freeciv
NoYesSep 12, 2026
CVE-2012-6083HIGH7.5
  • Freeciv logoFreeciv
  • cpe:2.3:a:freeciv:freeciv
NoYesJan 23, 2020
CVE-2012-5645HIGH7.5
  • Freeciv logoFreeciv
  • cpe:2.3:a:freeciv:freeciv
NoYesDec 30, 2019
CVE-2026-90557MEDIUM6.9
  • Freeciv logoFreeciv
  • cpe:2.3:a:freeciv:freeciv
NoYesSep 12, 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

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