{"answers":{"affected":"1 open source package ship an affected version, including gdal. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-25050 in the wild and no public exploit code.","fix":"Upgrade gdal to 3.1.0 or later.","what":"CVE-2019-25050 is a high-severity memory corruption vulnerability in n/a, published on 20 Jul 2021. 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-2019-25050 and fix it if it is affected.\n\nWhat it is: CVE-2019-25050 is a high-severity memory corruption vulnerability in n/a, published on 20 Jul 2021. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2019-25050 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- gdal (PyPI): affected from 2.4.2; fixed in 3.1.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-2019-25050/ (Markdown: https://insights.sbomify.com/CVE-2019-25050/index.md)","id":"CVE-2019-25050","markdown":"https://insights.sbomify.com/CVE-2019-25050/index.md","name":"CVE-2019-25050","record":{"aliases":["DEBIAN-CVE-2019-25050","GHSA-723m-9g33-2g82","JLSEC-2026-282","PYSEC-2021-888","UBUNTU-CVE-2019-25050"],"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 netCDF library","requires_auth":"low_privilege","summary":"A stack-based buffer overflow in GDAL's netCDF handling allows attackers to execute arbitrary code or cause denial of service via 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.8,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-787","name":"Out-of-bounds Write"}],"description":"netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4_get_att (called from nc4_get_att_tc and nc_get_att_text) and in uffd_cleanup (called from netCDFDataset::~netCDFDataset and netCDFDataset::~netCDFDataset).","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Memory corruption in n/a","id":"CVE-2019-25050","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"memory_corruption","year":"2019"},"n_packages":1,"n_references":6,"next":{"headline":"Memory corruption in n/a","id":"CVE-2019-25051"},"packages":[{"ecosystem":"PyPI","fixed":["3.1.0"],"introduced":["2.4.2"],"last_affected":[],"package":"gdal","purl":"pkg:pypi/gdal","source":"PYSEC-2021-888"}],"prev":{"headline":"Information disclosure in n/a","id":"CVE-2019-25049"},"products":["n/a"],"published":"2021-07-20","related":[{"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":"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-05","vendors":["n/a"]},"summary":"A stack-based buffer overflow in GDAL's netCDF handling allows attackers to execute arbitrary code or cause denial of service via crafted files.","url":"https://insights.sbomify.com/CVE-2019-25050/"}