{
  "cveId": "CVE-2021-31291",
  "url": "https://patchblox.com/security/cve/CVE-2021-31291",
  "summary": "CVE-2021-31291 is fixed in 7 products on 1 platform, first by exiv2 0.25-3.1ubuntu0.18.04.10, released July 26, 2021. It is not reported as exploited. Patch Radar priority: High.",
  "title": "exiv2-devel: Exiv2 is a C\u002B\u002B library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata,...",
  "description": "Exiv2 is a C\u002B\u002B library to access image metadata, supporting read and write access to the Exif, IPTC and XMP metadata, Exif MakerNote support, extract and delete methods for Exif thumbnails, classes to access Ifd, and support for various image formats.\n\nSecurity Fix(es):\n\n* exiv2: Heap-based buffer overflow vulnerability in jp2image.cpp (CVE-2021-31291)\n\nFor more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.",
  "published": "2021-07-26T10:15:00Z",
  "severity": "Important",
  "cvss": 8.1,
  "priority": "High",
  "priorityTier": 3,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "compat-exiv2-026",
      "release": "RHEL 8",
      "fixedVersion": "0:0.26-4.el8_4",
      "fix": "RHSA-2021:3153",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3153",
      "released": "2021-08-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "compat-exiv2-026",
      "release": "ol 8",
      "fixedVersion": "0:0.26-4.el8_4",
      "fix": "ELSA-2021-3153",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3153",
      "released": "2021-08-17T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2",
      "release": "RHEL 8",
      "fixedVersion": "0:0.27.3-3.el8_4",
      "fix": "RHSA-2021:3152",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3152",
      "released": "2021-08-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.25-3.1ubuntu0.18.04.10",
      "fix": "exiv2 0.25-3.1ubuntu0.18.04.10",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-exiv2-0.25-3.1ubuntu0.18.04.10",
      "released": "2021-07-26T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.27.2-8ubuntu2.5",
      "fix": "exiv2 0.27.2-8ubuntu2.5",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-exiv2-0.27.2-8ubuntu2.5",
      "released": "2021-07-26T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2",
      "release": "ol 8",
      "fixedVersion": "0:0.27.3-3.el8_4",
      "fix": "ELSA-2021-3152",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3152",
      "released": "2021-08-17T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2-devel",
      "release": "RHEL 8",
      "fixedVersion": "0:0.27.3-3.el8_4",
      "fix": "RHSA-2021:3152",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3152",
      "released": "2021-08-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2-devel",
      "release": "ol 8",
      "fixedVersion": "0:0.27.3-3.el8_4",
      "fix": "ELSA-2021-3152",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3152",
      "released": "2021-08-17T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2-doc",
      "release": "RHEL 8",
      "fixedVersion": "0:0.27.3-3.el8_4",
      "fix": "RHSA-2021:3152",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3152",
      "released": "2021-08-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2-doc",
      "release": "ol 8",
      "fixedVersion": "0:0.27.3-3.el8_4",
      "fix": "ELSA-2021-3152",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3152",
      "released": "2021-08-17T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2-libs",
      "release": "RHEL 8",
      "fixedVersion": "0:0.27.3-3.el8_4",
      "fix": "RHSA-2021:3152",
      "url": "https://patchblox.com/security/fix/linux/rhsa-2021-3152",
      "released": "2021-08-16T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "exiv2-libs",
      "release": "ol 8",
      "fixedVersion": "0:0.27.3-3.el8_4",
      "fix": "ELSA-2021-3152",
      "url": "https://patchblox.com/security/fix/linux/elsa-2021-3152",
      "released": "2021-08-17T00:00:00Z"
    },
    {
      "platform": "linux",
      "product": "libexiv2-14",
      "release": "Ubuntu 18.04.6 LTS (bionic)",
      "fixedVersion": "0.25-3.1ubuntu0.18.04.10",
      "fix": "libexiv2-14 0.25-3.1ubuntu0.18.04.10",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-bionic-libexiv2-14-0.25-3.1ubuntu0.18.04.10",
      "released": "2021-07-26T10:15:00Z"
    },
    {
      "platform": "linux",
      "product": "libexiv2-27",
      "release": "Ubuntu 20.04 LTS (focal)",
      "fixedVersion": "0.27.2-8ubuntu2.5",
      "fix": "libexiv2-27 0.27.2-8ubuntu2.5",
      "url": "https://patchblox.com/security/fix/linux/ubuntu-focal-libexiv2-27-0.27.2-8ubuntu2.5",
      "released": "2021-07-26T10:15:00Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T00:53:09Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}