{"answers":{"affected":"","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22185 exists.","fix":"Apply the vendor's patch.","what":"CVE-2026-22185 is a medium-severity memory corruption vulnerability in OpenLDAP, published on 7 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-22185 and fix it if it is affected.\n\nWhat it is: CVE-2026-22185 is a medium-severity memory corruption vulnerability in OpenLDAP, published on 7 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-22185 exists.\n\nAffected product: OpenLDAP. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-22185/ (Markdown: https://insights.sbomify.com/CVE-2026-22185/index.md)","id":"CVE-2026-22185","markdown":"https://insights.sbomify.com/CVE-2026-22185/index.md","name":"CVE-2026-22185","record":{"aliases":["BELL-CVE-2026-22185","DEBIAN-CVE-2026-22185","ECHO-baa8-bd1c-cf1b","GHSA-gcc9-wqf3-69qj","OESA-2026-1334","OESA-2026-1335","OESA-2026-1425","OESA-2026-1426","OESA-2026-1427","OESA-2026-1428","OESA-2026-3283","ROOT-OS-DEBIAN-12-CVE-2026-22185","SUSE-SU-2026:0256-1","UBUNTU-CVE-2026-22185"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"LMDB database library","requires_auth":"none","summary":"A heap buffer underflow in LMDB's mdb_load tool allows attackers to cause a denial of service via malformed input.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":4.6,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"},{"id":"CWE-125","name":"Out-of-bounds Read"}],"description":"OpenLDAP Lightning Memory-Mapped Database (LMDB) versions 0.9.14 before 0.9.34, 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.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Server Applications 15 SP7","openSUSE:Leap 15.6"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OpenLDAP LMDB mdb_load Heap Buffer Underflow in readline()","id":"CVE-2026-22185","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":3,"n_references":5,"next":{"headline":"Bio-Formats \u003c= 8.3.0 XXE in Leica XLEF Metadata Parser","id":"CVE-2026-22186"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["2.5.20+11-150500.11.38.1"],"introduced":["0"],"last_affected":[],"package":"openldap2_5","purl":"pkg:rpm/suse/openldap2_5\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:0256-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP7","fixed":["2.5.20+11-150500.11.38.1"],"introduced":["0"],"last_affected":[],"package":"openldap2_5","purl":"pkg:rpm/suse/openldap2_5\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7","source":"SUSE-SU-2026:0256-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["2.5.20+11-150500.11.38.1"],"introduced":["0"],"last_affected":[],"package":"openldap2_5","purl":"pkg:rpm/opensuse/openldap2_5\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:0256-1"}],"prev":{"headline":"zlib \u003c= 1.3.1.2 untgz Global Buffer Overflow in TGZfname()","id":"CVE-2026-22184"},"products":["OpenLDAP"],"published":"2026-01-07","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-29","vendors":["OpenLDAP Foundation"]},"summary":"A heap buffer underflow in LMDB's mdb_load tool allows attackers to cause a denial of service via malformed input.","url":"https://insights.sbomify.com/CVE-2026-22185/"}