CVE-2020-28241
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-28241 is a security vulnerability discovered in libmaxminddb, affecting versions before 1.4.3. The issue involves an improper initialization in the dump_entry_data_list() function in maxminddb.c, which could lead to a heap-based buffer over-read when processing specially crafted MaxMind DB files (Red Hat Portal, Ubuntu Security).

Technical details

The vulnerability stems from a heap-based buffer over-read in the dump_entry_data_list() function within maxminddb.c. The specific issue occurs when the mmdblookup tool is used to open a specially crafted database file, where the code fails to properly null terminate strings when the size is zero. This was identified through AddressSanitizer testing which revealed a heap-buffer-overflow at address 0x6020000000d1 (GitHub Issue).

Impact

The vulnerability could allow an attacker to cause a Denial of Service condition by enticing a user to process a specially crafted database file. The issue has been assigned a CVSS base score of 6.5 (Medium severity) (Ubuntu Security, Gentoo Security).

Exploitability

The vulnerability can be triggered remotely by sending a specially crafted MaxMind DB file to a system using the affected versions of libmaxminddb. The exploitation requires user interaction in the form of processing the malicious database file (Red Hat Portal).

Mitigation and workarounds

The vulnerability was fixed in libmaxminddb version 1.4.3. The fix involved replacing most malloc uses with calloc to ensure proper memory initialization. Users are advised to upgrade to version 1.4.3 or later. For systems that cannot immediately upgrade, there are no known workarounds (GitHub PR, Gentoo Security).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-86993MEDIUM5.9
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 2026
CVE-2026-86996MEDIUM5.3
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 2026
CVE-2026-86995MEDIUM5.3
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 2026
CVE-2026-86994MEDIUM5.3
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 2026
CVE-2026-86085MEDIUM5.1
  • NixOS logoNixOS
  • n8n
NoYesSep 08, 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