An issue was discovered in ezXML 0.8.2 through 0.8.6. The function
ezxml_str2utf8, while parsing a crafted XML file, performs zero-length
reallocation in ezxml.c, leading to returning a NULL pointer (in some
compilers). After this, the function ezxml_parse_str does not check whether
the s variable is not NULL in ezxml.c, leading to a NULL pointer
dereference and crash (segmentation fault).
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 18.04 | noarch | mapcache | < any | UNKNOWN |
ubuntu | 20.04 | noarch | mapcache | < any | UNKNOWN |
ubuntu | 22.04 | noarch | mapcache | < any | UNKNOWN |
ubuntu | 23.10 | noarch | mapcache | < any | UNKNOWN |
ubuntu | 24.04 | noarch | mapcache | < any | UNKNOWN |
ubuntu | 16.04 | noarch | mapcache | < any | UNKNOWN |
ubuntu | 18.04 | noarch | netcdf | < any | UNKNOWN |
ubuntu | 20.04 | noarch | netcdf | < any | UNKNOWN |
ubuntu | 22.04 | noarch | netcdf | < any | UNKNOWN |
ubuntu | 23.10 | noarch | netcdf | < any | UNKNOWN |