{"answers":{"affected":"2 open source packages ship an affected version, including gdal. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8213 exists.","fix":"Upgrade gdal to 3.13.0 or later.","what":"CVE-2026-8213 is a medium-severity memory corruption vulnerability in OSGeo gdal, published on 9 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-8213 and fix it if it is affected.\n\nWhat it is: CVE-2026-8213 is a medium-severity memory corruption vulnerability in OSGeo gdal, published on 9 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-8213 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\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-8213/ (Markdown: https://insights.sbomify.com/CVE-2026-8213/index.md)","id":"CVE-2026-8213","markdown":"https://insights.sbomify.com/CVE-2026-8213/index.md","name":"CVE-2026-8213","record":{"aliases":["AZL-86406","BIT-gdal-2026-8213","DEBIAN-CVE-2026-8213","ECHO-d3f2-76a4-b677","GHSA-8q76-c96g-j64j","JLSEC-2026-772","PYSEC-2026-2157","UBUNTU-CVE-2026-8213"],"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's Grid File Handler allows local attackers to execute arbitrary code or cause denial of service.","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-125","name":"Out-of-bounds Read"},{"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 vulnerability has been found in OSGeo gdal up to 3.13.0dev-4. Affected by this issue is the function GDSDfldsrch of the file frmts/hdf4/hdf-eos/GDapi.c of the component Grid File Handler. The manipulation leads to heap-based buffer overflow. An attack has to be approached locally. The exploit has been disclosed to the public and may be used. Upgrading to version 3.13.0RC1 can resolve this issue. The identifier of the patch is 3e04c0385630e4d42517046d9a4967dfccfeb7fd. It is suggested to 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 Grid File GDapi.c GDSDfldsrch heap-based overflow","id":"CVE-2026-8213","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":2,"n_references":8,"next":{"headline":"Industrial Application Software IAS Canias ERP RMI doAction improper authentication","id":"CVE-2026-8214"},"packages":[{"ecosystem":"Bitnami","fixed":["3.13.0"],"introduced":["0"],"last_affected":[],"package":"gdal","purl":"pkg:bitnami/gdal","source":"BIT-gdal-2026-8213"},{"ecosystem":"PyPI","fixed":["3.13.0"],"introduced":["0"],"last_affected":[],"package":"gdal","purl":"pkg:pypi/gdal","source":"PYSEC-2026-2157"}],"prev":{"headline":"OSGeo gdal SWapi.c SWSDfldsrch heap-based overflow","id":"CVE-2026-8212"},"products":["gdal"],"published":"2026-05-09","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 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":"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-11","vendors":["OSGeo"]},"summary":"A heap-based buffer overflow in GDAL's Grid File Handler allows local attackers to execute arbitrary code or cause denial of service.","url":"https://insights.sbomify.com/CVE-2026-8213/"}