CVE-2021-31348 json
An issue was discovered in libezxml.a in ezXML 0.8.6.
published 2021-04-16 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-18258
- cvss
- 6.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 65%
- public exploits
- 0
- none known
Summary
An issue was discovered in libezxml.a in ezXML 0.8.6. The function ezxml_parse_str() performs incorrect memory handling while parsing crafted XML files (out-of-bounds read after a certain strcspn failure).
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-31348
- 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
- sourceforge.net/p/ezxml/bugs/27/ advisory
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-31348 updated
ezXML: multiple vulnerabilities
-
Red Hat All currently supported Red Hat productsnot 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
1.09% chance of exploitation in the next 30 days, higher than 65% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- sourceforge.net https://sourceforge.net/p/ezxml/bugs/27/ 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
-
- CWE-125 Out-of-bounds Read
References
-
sourceforge.net
/p/ezxml/bugs/27/
exploit, issue-tracking, patch, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2021/07/msg00005.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2021-31348
- NVD CVE-2021-31348
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.