Skip to content
Fencer Vulns
medium 6.5

CVE-2021-31229 json

An issue was discovered in libezxml.a in ezXML 0.8.6.

published 2021-04-15 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-18142

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
0.9%
EPSS 0.9% chance of exploitation in 30 days, percentile 60%
public exploits
0
none known

Summary

An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_internal_dtd() performs incorrect memory handling while parsing crafted XML files, which leads to an out-of-bounds write of a one byte constant.

Patch / fix

  • netcdf Debian 14, Debian 13, Debian 12 1:4.9.0-1
  • scilab Debian 14 2024.1.0+dfsg1-1
  • netcdf-parallel Debian 14, Debian 13, Debian 12 1:4.9.0-1

debian advisories DEBIAN-CVE-2021-31229

  • scilab Ubuntu Pro 16.04 LTS 5.5.2-2ubuntu3+esm1

ubuntu advisories UBUNTU-CVE-2021-31229

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • netcdf_4_7_4-gnu-hpc SLE Module for Package Hub 15 SP3, SLE Module for HPC 15 SP3 4.7.4-4.3.2
  • netcdf_4_7_4-gnu-mpich-hpc SLE Module for Package Hub 15 SP3, SLE Module for HPC 15 SP3 4.7.4-4.3.2
  • netcdf_4_7_4-gnu-mvapich2-hpc SLE Module for Package Hub 15 SP3, SLE Module for HPC 15 SP3 4.7.4-4.3.2
  • netcdf_4_7_4-gnu-openmpi3-hpc SLE Module for Package Hub 15 SP3, SLE Module for HPC 15 SP3 4.7.4-4.3.2
  • netcdf_4_7_4-gnu-openmpi4-hpc SLE Module for Package Hub 15 SP3, SLE Module for HPC 15 SP3 4.7.4-4.3.2
  • netcdf_4_6_1-gnu-hpc SLE High Performance Computing 15 SP1-LTSS, SLE High Performance Computing 15 SP1-ESPOS 4.6.1-10.7.2
  • netcdf_4_6_1-gnu-mpich-hpc SLE High Performance Computing 15 SP1-LTSS, SLE High Performance Computing 15 SP1-ESPOS 4.6.1-10.7.2
  • netcdf_4_6_1-gnu-mvapich2-hpc SLE High Performance Computing 15 SP1-LTSS, SLE High Performance Computing 15 SP1-ESPOS 4.6.1-10.7.2

suse advisories SUSE-SU-2021:3873-1SUSE-SU-2021:3815-1SUSE-SU-2021:3805-1SUSE-SU-2021:3804-1

  • netcdf openSUSE Leap 15.3 4.7.4-4.3.2
  • netcdf-openmpi2 openSUSE Leap 15.3 4.7.4-4.3.2
  • netcdf-openmpi3 openSUSE Leap 15.3 4.7.4-4.3.2
  • netcdf-openmpi4 openSUSE Leap 15.3 4.7.4-4.3.2
  • netcdf_4_7_4-gnu-hpc openSUSE Leap 15.3 4.7.4-4.3.2
  • netcdf_4_7_4-gnu-mpich-hpc openSUSE Leap 15.3 4.7.4-4.3.2
  • netcdf_4_7_4-gnu-mvapich2-hpc openSUSE Leap 15.3 4.7.4-4.3.2
  • netcdf_4_7_4-gnu-openmpi2-hpc openSUSE Leap 15.3 4.7.4-4.3.2

opensuse advisories openSUSE-SU-2021:3873-1openSUSE-SU-2021:3815-1openSUSE-SU-2021:1505-1openSUSE-SU-2021:3805-1openSUSE-SU-2021:3804-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-31229 updated

ezXML: multiple vulnerabilities

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.92% chance of exploitation in the next 30 days, higher than 60% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • sourceforge.net https://sourceforge.net/p/ezxml/bugs/26/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:N/A:P

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.