{"answers":{"affected":"4 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-49014 exists.","fix":"Upgrade gdal to 3.13.1 or later.","what":"CVE-2026-49014 is a high-severity memory corruption vulnerability in GDAL, published on 27 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-49014 and fix it if it is affected.\n\nWhat it is: CVE-2026-49014 is a high-severity memory corruption vulnerability in GDAL, published on 27 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-49014 exists.\n\nAffected packages and fixed versions:\n- gdal (Bitnami): affected from 3.1.0; fixed in 3.13.1\n- gdal (PyPI): affected from 3.1.0; fixed in 3.13.1\n- gdal (PyPI): affected from 3.1.0; fixed in 3.13.1\n- gdal (PyPI): affected from 3.1.0; fixed in 3.13.1\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-49014/ (Markdown: https://insights.sbomify.com/CVE-2026-49014/index.md)","id":"CVE-2026-49014","markdown":"https://insights.sbomify.com/CVE-2026-49014/index.md","name":"CVE-2026-49014","record":{"aliases":["AZL-88380","BIT-gdal-2026-49014","DEBIAN-CVE-2026-49014","ECHO-d542-982c-16cf","GHSA-wphc-7cm7-8mf7","JLSEC-2026-766","PYSEC-2026-193","UBUNTU-CVE-2026-49014"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GDAL geospatial library","requires_auth":"none","summary":"A stack-based buffer overflow in GDAL's netCDF driver allows arbitrary code execution when processing crafted files.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"gdal","vendor":"osgeo"}],"cvss":{"score":7.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"In GDAL 3.1.0 through 3.13.0, scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow. It reads a geometry attribute into a fixed-size stack buffer without validating the attribute length. The attacker embeds the exploit as an oversized geometry attribute in a crafted NetCDF file. This achieves arbitrary code execution on the server running GDAL. This is in frmts/netcdf/netcdfsg.cpp.","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":"GDAL: scanForGeometryContainers in the netCDF driver allows code execution via a stack-based buffer overflow","id":"CVE-2026-49014","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":4,"n_references":1,"next":{"headline":"OpenStack Swift: s3api middleware enters an infinite loop when processing a truncated aws-chunked PUT request body","id":"CVE-2026-49017"},"packages":[{"ecosystem":"Bitnami","fixed":["3.13.1"],"introduced":["3.1.0"],"last_affected":[],"package":"gdal","purl":"pkg:bitnami/gdal","source":"BIT-gdal-2026-49014"},{"ecosystem":"PyPI","fixed":["3.13.1"],"introduced":["3.1.0"],"last_affected":[],"package":"gdal","purl":null,"source":"GHSA-wphc-7cm7-8mf7"},{"ecosystem":"PyPI","fixed":["3.13.1"],"introduced":["3.1.0"],"last_affected":[],"package":"gdal","purl":"pkg:pypi/gdal","source":"GHSA-wphc-7cm7-8mf7"},{"ecosystem":"PyPI","fixed":["3.13.1"],"introduced":["3.1.0"],"last_affected":[],"package":"gdal","purl":"pkg:pypi/gdal","source":"PYSEC-2026-193"}],"prev":{"headline":"Path traversal in n/a","id":"CVE-2026-49009"},"products":["GDAL"],"published":"2026-05-27","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":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":"total"},"state":"PUBLISHED","updated":"2026-05-27","vendors":["GDAL"]},"summary":"A stack-based buffer overflow in GDAL's netCDF driver allows arbitrary code execution when processing crafted files.","url":"https://insights.sbomify.com/CVE-2026-49014/"}