MuPDF through 1.18.1 has an out-of-bounds write because the cached color converter does not properly consider the maximum key size of a hash table. This can, for example, be seen with crafted "mutool draw" input.
{
"binaries": [
{
"binary_name": "libmupdf-dev",
"binary_version": "1.12.0+ds1-1ubuntu0.1~esm1"
},
{
"binary_name": "mupdf",
"binary_version": "1.12.0+ds1-1ubuntu0.1~esm1"
},
{
"binary_name": "mupdf-tools",
"binary_version": "1.12.0+ds1-1ubuntu0.1~esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}
{
"binaries": [
{
"binary_name": "libmupdf-dev",
"binary_version": "1.16.1+ds1-1ubuntu1+esm1"
},
{
"binary_name": "mupdf",
"binary_version": "1.16.1+ds1-1ubuntu1+esm1"
},
{
"binary_name": "mupdf-tools",
"binary_version": "1.16.1+ds1-1ubuntu1+esm1"
}
],
"availability": "Available with Ubuntu Pro: https://ubuntu.com/pro"
}