ubuntu-cve-2018-5727
Vulnerability from osv_ubuntu
Published
2018-01-16 22:29
Modified
2026-05-20 14:50
Summary
Details

In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libopenjpeg2",
            "binary_version": "1.3+dfsg-4.7ubuntu1"
          },
          {
            "binary_name": "openjpeg-tools",
            "binary_version": "1.3+dfsg-4.7ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "openjpeg",
        "purl": "pkg:deb/ubuntu/openjpeg@1.3+dfsg-4.7ubuntu1?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.3+dfsg-4.6ubuntu2",
        "1.3+dfsg-4.7ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ghostscript",
            "binary_version": "9.26~dfsg+0-0ubuntu0.16.04.14"
          },
          {
            "binary_name": "ghostscript-x",
            "binary_version": "9.26~dfsg+0-0ubuntu0.16.04.14"
          },
          {
            "binary_name": "libgs9",
            "binary_version": "9.26~dfsg+0-0ubuntu0.16.04.14"
          },
          {
            "binary_name": "libgs9-common",
            "binary_version": "9.26~dfsg+0-0ubuntu0.16.04.14"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "ghostscript",
        "purl": "pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.16.04.14?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.26~dfsg+0-0ubuntu0.16.04.14"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.16~dfsg~0-0ubuntu3",
        "9.16~dfsg~0-0ubuntu4",
        "9.18~dfsg~0-0ubuntu1",
        "9.18~dfsg~0-0ubuntu2",
        "9.18~dfsg~0-0ubuntu2.2",
        "9.18~dfsg~0-0ubuntu2.3",
        "9.18~dfsg~0-0ubuntu2.4",
        "9.18~dfsg~0-0ubuntu2.6",
        "9.18~dfsg~0-0ubuntu2.7",
        "9.18~dfsg~0-0ubuntu2.8",
        "9.18~dfsg~0-0ubuntu2.9",
        "9.25~dfsg+1-0ubuntu0.16.04.1",
        "9.25~dfsg+1-0ubuntu0.16.04.2",
        "9.25~dfsg+1-0ubuntu0.16.04.3",
        "9.26~dfsg+0-0ubuntu0.16.04.1",
        "9.26~dfsg+0-0ubuntu0.16.04.3",
        "9.26~dfsg+0-0ubuntu0.16.04.4",
        "9.26~dfsg+0-0ubuntu0.16.04.5",
        "9.26~dfsg+0-0ubuntu0.16.04.6",
        "9.26~dfsg+0-0ubuntu0.16.04.7",
        "9.26~dfsg+0-0ubuntu0.16.04.8",
        "9.26~dfsg+0-0ubuntu0.16.04.9",
        "9.26~dfsg+0-0ubuntu0.16.04.10",
        "9.26~dfsg+0-0ubuntu0.16.04.11",
        "9.26~dfsg+0-0ubuntu0.16.04.12",
        "9.26~dfsg+0-0ubuntu0.16.04.13"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libopenjp2-7",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjp2-tools",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjp3d-tools",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjp3d7",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjpip-dec-server",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjpip-server",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjpip-viewer",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjpip7",
            "binary_version": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "openjpeg2",
        "purl": "pkg:deb/ubuntu/openjpeg2@2.1.2-1.1+deb9u6ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.1.2-1.1+deb9u6ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.1.0-2.1",
        "2.1.0-2.1ubuntu0.1",
        "2.1.2-1.1+deb9u2build0.1",
        "2.1.2-1.1+deb9u3build0.16.04.1",
        "2.1.2-1.1+deb9u3ubuntu0.1~esm1",
        "2.1.2-1.1+deb9u5build0.16.04.1",
        "2.1.2-1.1+deb9u5ubuntu0.1~esm1",
        "2.1.2-1.1+deb9u6build0.16.04.1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "libopenjpeg-java",
            "binary_version": "1:1.5.2-3.1ubuntu0.1~esm2"
          },
          {
            "binary_name": "libopenjpeg5",
            "binary_version": "1:1.5.2-3.1ubuntu0.1~esm2"
          },
          {
            "binary_name": "openjpeg-tools",
            "binary_version": "1:1.5.2-3.1ubuntu0.1~esm2"
          },
          {
            "binary_name": "openjpip-dec-server",
            "binary_version": "1:1.5.2-3.1ubuntu0.1~esm2"
          },
          {
            "binary_name": "openjpip-server",
            "binary_version": "1:1.5.2-3.1ubuntu0.1~esm2"
          },
          {
            "binary_name": "openjpip-viewer",
            "binary_version": "1:1.5.2-3.1ubuntu0.1~esm2"
          },
          {
            "binary_name": "openjpip-viewer-xerces",
            "binary_version": "1:1.5.2-3.1ubuntu0.1~esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "openjpeg",
        "purl": "pkg:deb/ubuntu/openjpeg@1:1.5.2-3.1ubuntu0.1~esm2?arch=source\u0026distro=esm-apps/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:1.5.2-3.1",
        "1:1.5.2-3.1ubuntu0.1~esm2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "ghostscript",
            "binary_version": "9.26~dfsg+0-0ubuntu0.18.04.14"
          },
          {
            "binary_name": "ghostscript-x",
            "binary_version": "9.26~dfsg+0-0ubuntu0.18.04.14"
          },
          {
            "binary_name": "libgs9",
            "binary_version": "9.26~dfsg+0-0ubuntu0.18.04.14"
          },
          {
            "binary_name": "libgs9-common",
            "binary_version": "9.26~dfsg+0-0ubuntu0.18.04.14"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "ghostscript",
        "purl": "pkg:deb/ubuntu/ghostscript@9.26~dfsg+0-0ubuntu0.18.04.14?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "9.26~dfsg+0-0ubuntu0.18.04.14"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "9.21~dfsg+1-0ubuntu3",
        "9.22~dfsg+1-0ubuntu1",
        "9.22~dfsg+1-0ubuntu1.1",
        "9.22~dfsg+1-0ubuntu1.2",
        "9.25~dfsg+1-0ubuntu0.18.04.1",
        "9.25~dfsg+1-0ubuntu0.18.04.2",
        "9.26~dfsg+0-0ubuntu0.18.04.1",
        "9.26~dfsg+0-0ubuntu0.18.04.3",
        "9.26~dfsg+0-0ubuntu0.18.04.4",
        "9.26~dfsg+0-0ubuntu0.18.04.5",
        "9.26~dfsg+0-0ubuntu0.18.04.6",
        "9.26~dfsg+0-0ubuntu0.18.04.7",
        "9.26~dfsg+0-0ubuntu0.18.04.8",
        "9.26~dfsg+0-0ubuntu0.18.04.9",
        "9.26~dfsg+0-0ubuntu0.18.04.10",
        "9.26~dfsg+0-0ubuntu0.18.04.11",
        "9.26~dfsg+0-0ubuntu0.18.04.12",
        "9.26~dfsg+0-0ubuntu0.18.04.13"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "libopenjp2-7",
            "binary_version": "2.3.0-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjp2-tools",
            "binary_version": "2.3.0-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjp3d-tools",
            "binary_version": "2.3.0-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjp3d7",
            "binary_version": "2.3.0-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjpip-dec-server",
            "binary_version": "2.3.0-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjpip-server",
            "binary_version": "2.3.0-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjpip-viewer",
            "binary_version": "2.3.0-2ubuntu0.1~esm1"
          },
          {
            "binary_name": "libopenjpip7",
            "binary_version": "2.3.0-2ubuntu0.1~esm1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "openjpeg2",
        "purl": "pkg:deb/ubuntu/openjpeg2@2.3.0-2ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "2.3.0-2ubuntu0.1~esm1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "2.2.0-1",
        "2.3.0-1",
        "2.3.0-2build0.18.04.1"
      ]
    }
  ],
  "aliases": [],
  "details": "In OpenJPEG 2.3.0, there is an integer overflow vulnerability in the opj_t1_encode_cblks function (openjp2/t1.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted bmp file.",
  "id": "UBUNTU-CVE-2018-5727",
  "modified": "2026-05-20T14:50:31Z",
  "published": "2018-01-16T22:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2018-5727"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4686-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-4782-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2018-5727"
    }
  ],
  "related": [
    "USN-4686-1",
    "USN-4782-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "negligible",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2018-5727"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…