GraphicsMagick 1.3.26 is vulnerable to a heap-based buffer overflow vulnerability found in the "Display visual image directory" feature of the DescribeImage() function of the magick/describe.c file. One possible way to trigger the vulnerability is to run the identify command on a specially crafted MIFF format file with the verbose flag.
{
"availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
"binaries": [
{
"binary_version": "1.3.18-1ubuntu3.1+esm4",
"binary_name": "graphicsmagick"
},
{
"binary_version": "1.3.18-1ubuntu3.1+esm4",
"binary_name": "graphicsmagick-imagemagick-compat"
},
{
"binary_version": "1.3.18-1ubuntu3.1+esm4",
"binary_name": "graphicsmagick-libmagick-dev-compat"
},
{
"binary_version": "1.3.18-1ubuntu3.1+esm4",
"binary_name": "libgraphics-magick-perl"
},
{
"binary_version": "1.3.18-1ubuntu3.1+esm4",
"binary_name": "libgraphicsmagick++1-dev"
},
{
"binary_version": "1.3.18-1ubuntu3.1+esm4",
"binary_name": "libgraphicsmagick++3"
},
{
"binary_version": "1.3.18-1ubuntu3.1+esm4",
"binary_name": "libgraphicsmagick1-dev"
},
{
"binary_version": "1.3.18-1ubuntu3.1+esm4",
"binary_name": "libgraphicsmagick3"
}
]
}
{
"availability": "No subscription required",
"binaries": [
{
"binary_version": "1.3.23-1ubuntu0.4",
"binary_name": "graphicsmagick"
},
{
"binary_version": "1.3.23-1ubuntu0.4",
"binary_name": "graphicsmagick-imagemagick-compat"
},
{
"binary_version": "1.3.23-1ubuntu0.4",
"binary_name": "graphicsmagick-libmagick-dev-compat"
},
{
"binary_version": "1.3.23-1ubuntu0.4",
"binary_name": "libgraphics-magick-perl"
},
{
"binary_version": "1.3.23-1ubuntu0.4",
"binary_name": "libgraphicsmagick++-q16-12"
},
{
"binary_version": "1.3.23-1ubuntu0.4",
"binary_name": "libgraphicsmagick++1-dev"
},
{
"binary_version": "1.3.23-1ubuntu0.4",
"binary_name": "libgraphicsmagick-q16-3"
},
{
"binary_version": "1.3.23-1ubuntu0.4",
"binary_name": "libgraphicsmagick1-dev"
}
]
}