ubuntu-cve-2026-22185
Vulnerability from osv_ubuntu
Published
2026-01-07 21:16
Modified
2026-05-20 15:24
Summary
Details

OpenLDAP Lightning Memory-Mapped Database (LMDB) versions up to and including 0.9.14, prior to commit 8e1fda8, contain a heap buffer underflow in the readline() function of mdb_load. When processing malformed input containing an embedded NUL byte, an unsigned offset calculation can underflow and cause an out-of-bounds read of one byte before the allocated heap buffer. This can cause mdb_load to crash, leading to a limited denial-of-service condition.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblmdb0",
            "binary_version": "0.9.17-3"
          },
          {
            "binary_name": "lmdb-utils",
            "binary_version": "0.9.17-3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "lmdb",
        "purl": "pkg:deb/ubuntu/lmdb@0.9.17-3?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9.15-1",
        "0.9.16-1",
        "0.9.17-1",
        "0.9.17-3"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblmdb0",
            "binary_version": "0.9.21-1ubuntu0.1"
          },
          {
            "binary_name": "lmdb-utils",
            "binary_version": "0.9.21-1ubuntu0.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "lmdb",
        "purl": "pkg:deb/ubuntu/lmdb@0.9.21-1ubuntu0.1?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9.21-1",
        "0.9.21-1ubuntu0.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblmdb0",
            "binary_version": "0.9.24-1"
          },
          {
            "binary_name": "lmdb-utils",
            "binary_version": "0.9.24-1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "lmdb",
        "purl": "pkg:deb/ubuntu/lmdb@0.9.24-1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9.23-0ubuntu1",
        "0.9.24-1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblmdb0",
            "binary_version": "0.9.24-1build2"
          },
          {
            "binary_name": "lmdb-utils",
            "binary_version": "0.9.24-1build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "lmdb",
        "purl": "pkg:deb/ubuntu/lmdb@0.9.24-1build2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9.24-1",
        "0.9.24-1build1",
        "0.9.24-1build2"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblmdb0",
            "binary_version": "0.9.31-1build1"
          },
          {
            "binary_name": "lmdb-utils",
            "binary_version": "0.9.31-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "lmdb",
        "purl": "pkg:deb/ubuntu/lmdb@0.9.31-1build1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9.31-1",
        "0.9.31-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblmdb0",
            "binary_version": "0.9.31-1build1"
          },
          {
            "binary_name": "lmdb-utils",
            "binary_version": "0.9.31-1build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "lmdb",
        "purl": "pkg:deb/ubuntu/lmdb@0.9.31-1build1?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9.31-1build1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "liblmdb0",
            "binary_version": "0.9.31-1build2"
          },
          {
            "binary_name": "lmdb-utils",
            "binary_version": "0.9.31-1build2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "lmdb",
        "purl": "pkg:deb/ubuntu/lmdb@0.9.31-1build2?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "0.9.31-1build1",
        "0.9.31-1build2"
      ]
    }
  ],
  "aliases": [],
  "details": "OpenLDAP Lightning Memory-Mapped Database (LMDB) versions up to and including 0.9.14, prior to commit 8e1fda8, contain a heap buffer underflow in the readline() function of mdb_load. When processing malformed input containing an embedded NUL byte, an unsigned offset calculation can underflow and cause an out-of-bounds read of one byte before the allocated heap buffer. This can cause mdb_load to crash, leading to a limited denial-of-service condition.",
  "id": "UBUNTU-CVE-2026-22185",
  "modified": "2026-05-20T15:24:37Z",
  "published": "2026-01-07T21:16:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2026-22185"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-22185"
    },
    {
      "type": "REPORT",
      "url": "https://seclists.org/fulldisclosure/2026/Jan/5"
    },
    {
      "type": "REPORT",
      "url": "https://seclists.org/fulldisclosure/2026/Jan/8"
    },
    {
      "type": "REPORT",
      "url": "https://www.vulncheck.com/advisories/openldap-lmdb-mdb-load-heap-buffer-underflow-in-readline"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2026-22185"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…