CVE-2021-31598
An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_decode() performs incorrect memory handling while parsing crafted XML files, leading to a heap-based buffer overflow.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mapcache | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 26.10 | scilab | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 26.04 | mapcache | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 26.04 | netcdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | netcdf-parallel | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 26.04 | scilab | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 25.10 | mapcache | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 25.10 | netcdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | netcdf-parallel | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 25.10 | scilab | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 24.04 | mapcache | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 24.04 | netcdf | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | netcdf-parallel | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 24.04 | scilab | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 22.04 | mapcache | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 22.04 | netcdf | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 22.04 | netcdf-parallel | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 22.04 | scilab | Fix pending | UBUNTU-CVE-2021-31598 | |
| Ubuntu 20.04 | mapcache | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 20.04 | netcdf | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 20.04 | netcdf-parallel | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 20.04 | scilab | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 18.04 | mapcache | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 18.04 | netcdf | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 18.04 | scilab | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 16.04 | mapcache | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2021-31598 | |
| Ubuntu 16.04 | netcdf | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 16.04 | scilab | Will not fix Ubuntu decided not to fix this in this release | 5.5.2-2ubuntu3+esm1 (Ubuntu Pro) | UBUNTU-CVE-2021-31598 |
| Ubuntu 14.04 | mapcache | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | netcdf | Will not fix Ubuntu decided not to fix this in this release | ||
| Ubuntu 14.04 | scilab | Will not fix Ubuntu decided not to fix this in this release | ||
| Debian 14 | mapcache | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2021-31598 | |
| Debian 14 | netcdf | Fixed | 1:4.9.0-1 | DEBIAN-CVE-2021-31598 |
| Debian 14 | netcdf-parallel | Fixed | 1:4.9.0-1 | DEBIAN-CVE-2021-31598 |
| Debian 14 | scilab | Fixed | 2024.1.0+dfsg1-1 | DEBIAN-CVE-2021-31598 |
| Debian 13 | mapcache | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2021-31598 | |
| Debian 13 | netcdf | Fixed | 1:4.9.0-1 | DEBIAN-CVE-2021-31598 |
| Debian 13 | netcdf-parallel | Fixed | 1:4.9.0-1 | DEBIAN-CVE-2021-31598 |
| Debian 13 | scilab | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2021-31598 | |
| Debian 12 | mapcache | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2021-31598 | |
| Debian 12 | netcdf | Fixed | 1:4.9.0-1 | DEBIAN-CVE-2021-31598 |
| Debian 12 | netcdf-parallel | Fixed | 1:4.9.0-1 | DEBIAN-CVE-2021-31598 |
| Debian 12 | scilab | Will not fix Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned. | DEBIAN-CVE-2021-31598 |
References
- https://sourceforge.net/p/ezxml/bugs/28/
- https://lists.debian.org/debian-lts-announce/2021/07/msg00005.html
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.