{"answers":{"affected":"4 open source packages ship an affected version, including gdal and GDAL. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8087 exists.","fix":"Upgrade gdal to 3.13.0 or later.","what":"CVE-2026-8087 is a medium-severity memory corruption vulnerability in OSGeo gdal, published on 7 May 2026. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-8087 and fix it if it is affected.\n\nWhat it is: CVE-2026-8087 is a medium-severity memory corruption vulnerability in OSGeo gdal, published on 7 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8087 exists.\n\nAffected packages and fixed versions:\n- gdal (Bitnami): affected all versions; fixed in 3.13.0\n- gdal (PyPI): affected all versions; fixed in 3.13.0\n- gdal (PyPI): affected all versions; fixed in 3.13.0\n- GDAL (PyPI): affected all versions; fixed in 3.13.0\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-8087/ (Markdown: https://insights.sbomify.com/CVE-2026-8087/index.md)","id":"CVE-2026-8087","markdown":"https://insights.sbomify.com/CVE-2026-8087/index.md","name":"CVE-2026-8087","record":{"aliases":["AZL-86229","BIT-gdal-2026-8087","DEBIAN-CVE-2026-8087","ECHO-2fea-eb73-2884","GHSA-h9rh-5ffh-h669","JLSEC-2026-769","PYSEC-2026-2155","UBUNTU-CVE-2026-8087"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GDAL geospatial library","requires_auth":"low_privilege","summary":"A heap-based buffer overflow in GDAL allows local attackers to execute arbitrary code or cause denial of service via manipulated data fields.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"gdal","vendor":"osgeo"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P","version":"4.0"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A security flaw has been discovered in OSGeo gdal up to 3.13.0dev-4. Impacted is the function GDnentries of the file frmts/hdf4/hdf-eos/GDapi.c. Performing a manipulation of the argument DataFieldName results in heap-based buffer overflow. The attack must be initiated from a local position. The exploit has been released to the public and may be used for attacks. Upgrading to version 3.13.0RC1 is recommended to address this issue. The patch is named 184f77dbcc74118c062c05e464c88161d3c37b9b. You should upgrade the affected component.","ecosystems":["Bitnami","PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"OSGeo gdal GDapi.c GDnentries heap-based overflow","id":"CVE-2026-8087","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":4,"n_references":8,"next":{"headline":"OSGeo gdal GDapi.c GDfieldinfo out-of-bounds","id":"CVE-2026-8088"},"packages":[{"ecosystem":"Bitnami","fixed":["3.13.0"],"introduced":["0"],"last_affected":[],"package":"gdal","purl":"pkg:bitnami/gdal","source":"BIT-gdal-2026-8087"},{"ecosystem":"PyPI","fixed":["3.13.0"],"introduced":["0"],"last_affected":[],"package":"GDAL","purl":null,"source":"GHSA-h9rh-5ffh-h669"},{"ecosystem":"PyPI","fixed":["3.13.0"],"introduced":["0"],"last_affected":[],"package":"gdal","purl":"pkg:pypi/gdal","source":"GHSA-h9rh-5ffh-h669"},{"ecosystem":"PyPI","fixed":["3.13.0"],"introduced":["0"],"last_affected":[],"package":"gdal","purl":"pkg:pypi/gdal","source":"PYSEC-2026-2155"}],"prev":{"headline":"OSGeo gdal SWapi.c SWnentries heap-based overflow","id":"CVE-2026-8086"},"products":["gdal"],"published":"2026-05-07","related":[{"cvss_score":7.8,"headline":"Memory corruption in n/a","id":"CVE-2019-25050","kev_date_added":null,"published":"2021-07-20"},{"cvss_score":7.4,"headline":"GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow","id":"CVE-2026-49014","kev_date_added":null,"published":"2026-05-27"},{"cvss_score":5.5,"headline":"Memory corruption in n/a","id":"CVE-2025-29480","kev_date_added":null,"published":"2025-04-07"},{"cvss_score":4.8,"headline":"OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow","id":"CVE-2026-8212","kev_date_added":null,"published":"2026-05-09"},{"cvss_score":4.8,"headline":"OSGeo gdal Grid File GDapi.c GDSDfldsrch heap-based overflow","id":"CVE-2026-8213","kev_date_added":null,"published":"2026-05-09"},{"cvss_score":4.8,"headline":"OSGeo gdal HDF-EOS Grid File SWapi.c memmove out-of-bounds","id":"CVE-2026-8084","kev_date_added":null,"published":"2026-05-07"},{"cvss_score":4.8,"headline":"OSGeo gdal SWapi.c SWnentries heap-based overflow","id":"CVE-2026-8086","kev_date_added":null,"published":"2026-05-07"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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-05-08","vendors":["OSGeo"]},"summary":"A heap-based buffer overflow in GDAL allows local attackers to execute arbitrary code or cause denial of service via manipulated data fields.","url":"https://insights.sbomify.com/CVE-2026-8087/"}