{"id":"CVE-2019-25050","aliases":["DEBIAN-CVE-2019-25050","EUVD-2021-0091","GHSA-723m-9g33-2g82","JLSEC-2026-282","PYSEC-2021-888","UBUNTU-CVE-2019-25050"],"status":"published","title":"netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4_get_att (called from...","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).","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.0035,"percentile":0.28995,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-787"],"published":"2021-07-20T06:46:38Z","modified":"2026-10-20T13:55:58Z","fixes":[{"ecosystem":"Debian:12","package":"gdal","fixed_in":["3.1.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"gdal","fixed_in":["3.1.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"gdal","fixed_in":["3.1.0+dfsg-1"],"sources":["osv"]},{"ecosystem":"Julia","package":"GDAL_jll","fixed_in":["3.2.0+0"],"sources":["osv"]},{"ecosystem":"PyPI","package":"gdal","fixed_in":["3.1.0"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.0+dfsg-1"}]}]},{"source":"osv","ecosystem":"Julia","package":"GDAL_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.2.0+0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"gdal","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"767e3a56144f676ca738ef8f700e0e56035bd05a"},{"fixed":"27b9bf644bcf1208f7d6594bdd104cc8a8bb0646"}]},{"type":"ECOSYSTEM","events":[{"introduced":"2.4.2"},{"fixed":"3.1.0"}]}],"versions":["2.4.2","2.4.3","2.4.4","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:14.04:LTS","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.9.0-3.1ubuntu4","1.9.0-3.1ubuntu6","1.10.1+dfsg-2","1.10.1+dfsg-2build1","1.10.1+dfsg-3","1.10.1+dfsg-3build1","1.10.1+dfsg-3build2","1.10.1+dfsg-3ubuntu1","1.10.1+dfsg-3ubuntu2","1.10.1+dfsg-5ubuntu1","1.10.1+dfsg-5ubuntu1+esm1","1.10.1+dfsg-5ubuntu1+esm2","1.10.1+dfsg-5ubuntu1+esm3"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.11.2+dfsg-3ubuntu3","1.11.2+dfsg-3ubuntu4","1.11.3+dfsg-2build1","1.11.3+dfsg-2build2","1.11.3+dfsg-2build3","1.11.3+dfsg-3","1.11.3+dfsg-3build1","1.11.3+dfsg-3build2","1.11.3+dfsg-3ubuntu0.1~esm1","1.11.3+dfsg-3ubuntu0.1~esm2"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"gdal","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.2.1+dfsg-2build3","2.2.1+dfsg-2build5","2.2.2+dfsg-2build1","2.2.3+dfsg-1","2.2.3+dfsg-2","2.2.3+dfsg-2ubuntu0.1~esm1"]}],"products":[{"vendor":"osgeo","product":"gdal"}],"references":[{"url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2020-392.yaml","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2020-420.yaml","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web","report"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15143","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/OSGeo/gdal/commit/767e3a56144f676ca738ef8f700e0e56035bd05a","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://github.com/OSGeo/gdal/commit/27b9bf644bcf1208f7d6594bdd104cc8a8bb0646","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15156","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25050"},{"url":"https://github.com/advisories/GHSA-723m-9g33-2g82"},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-25050","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-25050","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-25050","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2019-25050","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).","status":"published","published":"2021-07-20T06:46:38Z","modified":"2024-08-05T03:00:18.922Z","updated_at":"2026-11-02T14:20:19.399352Z"}],"euvd":[{"id":"EUVD-2021-0091","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).","status":"published","published":"2021-07-20T06:46:38Z","modified":"2024-08-05T03:00:18Z","updated_at":"2026-11-03T02:40:19.824838Z"}],"ghsa":[{"id":"GHSA-723m-9g33-2g82","title":"netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4_get_att (called from...","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).","status":"published","published":"2022-05-24T19:08:30Z","modified":"2023-01-30T05:00:53Z","cwes":["CWE-787"],"updated_at":"2026-11-02T14:46:17.249643Z"}],"nvd":[{"id":"CVE-2019-25050","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).","status":"published","published":"2021-07-20T07:15:07.603Z","modified":"2026-06-17T02:31:33.347Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-787"],"updated_at":"2026-11-02T14:05:48.502374Z"}],"osv":[{"id":"CVE-2019-25050","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).","status":"published","published":"2021-07-20T07:15:07.603Z","modified":"2026-10-20T13:55:58.678267034Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:12.363788Z"},{"id":"DEBIAN-CVE-2019-25050","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).","status":"published","published":"2021-07-20T07:15:07.603Z","modified":"2026-09-21T07:02:54.906221478Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:32.221385Z"},{"id":"JLSEC-2026-282","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).","status":"published","published":"2026-04-28T13:07:10.945Z","modified":"2026-07-25T18:23:50.920089072Z","cvss":[{"version":"2.0","score":4.6,"vector":"AV:L/AC:L/Au:N/C:P/I:P/A:P","level":"medium"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:47:18.573531Z"},{"id":"PYSEC-2021-888","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).","status":"published","published":"2021-07-20T07:15:00Z","modified":"2024-11-21T14:57:32.273602Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:52:53.449407Z"},{"id":"UBUNTU-CVE-2019-25050","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).","status":"published","published":"2021-07-20T07:15:00Z","modified":"2026-09-24T18:26:42.142348925Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:21.213407Z"}]}}
