pkg.sopackage field notes

brew / rank 1051

Install libmaxminddb with Homebrew

C library for the MaxMind DB file format. Version 1.13.3 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install libmaxminddb

provider-native install command

overview

Package summary

C library for the MaxMind DB file format

Commands and aliases

  • mmdblookup

history

Project history and usage

libmaxminddb is MaxMind's C reader library for MaxMind DB files, the binary database format used by MaxMind GeoIP and GeoLite datasets. It packages IP-address lookup against a compact database into a C library and the mmdblookup command-line tool.

Project history

MaxMind introduced libmaxminddb as the native C implementation for reading MaxMind DB files. The repository describes the format as a custom binary format for fast IP-address lookups with flexible associated data, and links to the public MaxMind DB specification.

The MaxMind DB specification documents a binary search tree, data section, and metadata area. That format became the foundation for MaxMind's newer GeoIP database distribution and replaced older GeoIP Legacy database handling in many downstream systems.

Adoption history

The library is distributed by MaxMind and is packaged broadly across Unix-like systems, including Homebrew, Debian, Ubuntu, Fedora, Alpine, Arch, MacPorts, Nix, and openSUSE. MaxMind's README also documents installation through its Ubuntu PPA and through Homebrew or MacPorts on macOS.

Its adoption follows the adoption of GeoIP2 and GeoLite2 database files: web servers, analytics systems, fraud tooling, CDN infrastructure, and log-processing tools need a small local reader for IP geolocation databases.

How it is used

Applications link libmaxminddb to open .mmdb files and look up IPv4 or IPv6 addresses. Operators use mmdblookup for debugging, inspection, and shell-level checks against database files.

The package does not provide the GeoIP data itself; it provides the reader and utility around MaxMind DB files. That separation is why it appears as a library dependency in many packages that leave database download or licensing to the user.

Why package nerds care

libmaxminddb is important because it is the small ABI-stable-ish native reader sitting underneath a large amount of geolocation plumbing. Packaging it correctly gives higher-level bindings and tools one common implementation for the MaxMind DB format.

For package maintainers, it is also an example of a data-format reader whose security profile matters: release notes include fixes for crafted database files, integer overflow, recursion depth, and mmdblookup behavior.

Timeline

  • 2013: MaxMind copyright notices in the repository begin for libmaxminddb.
  • 2010s: MaxMind DB becomes the documented binary format for GeoIP2 and GeoLite2-style IP lookup databases.
  • 2024: libmaxminddb 1.10.0 adds build options and fixes lookup behavior for databases with very large search trees.
  • 2026: libmaxminddb 1.13.0 through 1.13.3 releases fix validation, overflow, double-close, recursion-depth, and metadata edge cases.

Related projects

  • MaxMind DB is the underlying file-format specification.
  • GeoIP2 and GeoLite2 databases are the main data products commonly read through libmaxminddb.
  • Bindings in other languages and database writer tools depend on the same format and often interoperate with libmaxminddb-generated expectations.

security posture

Risk level: green

library-like package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • library-like package without higher-risk signals

Signals

  • metadata:library-like

Install behavior

  • No Homebrew bottle metadata was recorded.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mmdblookupexecutableindexed executableDiscovered from the local executable index.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-08-03
manager version1.13.3
manager updated
local dataunknown
upstreamnot available
latest detectednot detected
  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:libmaxminddb
Version1.13.3
Package managerHomebrew
Homepagehttps://maxmind.github.io/libmaxminddb/
Repositoryhttps://github.com/maxmind/libmaxminddb
Bottlenot recorded
Servicenone declared

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • curated package history
  • pkgdb category and tag curation