# CVE-2019-25050: netCDF in GDAL 2.4.2 through 3.0.4 has a stack-based buffer overflow in nc4getatt (called from nc4getatttc and ncgetatttext) and in uffdcle…

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2021-07-20T06:46:38.000Z
- Modified: 2026-06-17T02:31:33.347Z
- Also known as: PYSEC-2021-888
- Weaknesses: CWE-787
- Assigned by: mitre

## 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).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- osgeo gdal: from 2.4.2 up to 3.0.4
- gdal (PyPI): before 767e3a56144f676ca738ef8f700e0e56035bd05a; before 27b9bf644bcf1208f7d6594bdd104cc8a8bb0646; from 2.4.2 before 3.1.0

## Every score

- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 4.6 Medium `AV:L/AC:L/Au:N/C:P/I:P/A:P`
- PyPA Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2020-392.yaml> (third-party-advisory, web)
- <https://github.com/google/oss-fuzz-vulns/blob/main/vulns/gdal/OSV-2020-420.yaml> (third-party-advisory, web)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15143> (patch, third-party-advisory, web)
- <https://github.com/OSGeo/gdal/commit/767e3a56144f676ca738ef8f700e0e56035bd05a> (fix, patch, third-party-advisory)
- <https://github.com/OSGeo/gdal/commit/27b9bf644bcf1208f7d6594bdd104cc8a8bb0646> (fix, patch, third-party-advisory)
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=15156> (patch, third-party-advisory, web)

## Sources

- CVE List: [CVE-2019-25050](https://www.cve.org/CVERecord?id=CVE-2019-25050), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-25050](https://nvd.nist.gov/vuln/detail/CVE-2019-25050), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-888](https://osv.dev/vulnerability/PYSEC-2021-888), CC-BY-4.0, modified 2024-11-21

---

Page: https://cve.day/CVE-2019-25050 · Whole record: https://cve.day/CVE-2019-25050.json · Rebuilt by cve.day 2026-11-25T22:57:50.155Z
