Search

Find a vulnerability

Search criteria

    Related vulnerabilities

    UBUNTU-CVE-2016-10087 (CVE-2016-10087)

    Vulnerability from osv_ubuntu – Published: 2017-01-30 00:00 – Updated: 2026-08-18 19:05 – Source website
    VLAI
    Details

    The png_set_text_2 function in libpng 0.71 before 1.0.67, 1.2.x before 1.2.57, 1.4.x before 1.4.20, 1.5.x before 1.5.28, and 1.6.x before 1.6.27 allows context-dependent attackers to cause a NULL pointer dereference vectors involving loading a text chunk into a png structure, removing the text, and then adding another text chunk to the structure.

    Upstream
    Impacted products
    Ecosystem Package Version
    Ubuntu:14.04:LTS libpng
    pkg:deb/ubuntu/libpng@1.2.50-1ubuntu2.14.04.3?arch=source&distro=trusty
    Affected: < 1.2.50-1ubuntu2.14.04.3 (ecosystem)
    1.2.49-4ubuntu11.2.49-5ubuntu11.2.50-1ubuntu11.2.50-1ubuntu21.2.50-1ubuntu2.14.04.11.2.50-1ubuntu2.14.04.2
    Ubuntu:16.04:LTS libpng
    pkg:deb/ubuntu/libpng@1.2.54-1ubuntu1.1?arch=source&distro=xenial
    Affected: < 1.2.54-1ubuntu1.1 (ecosystem)
    1.2.51-0ubuntu31.2.54-11.2.54-1ubuntu1
    Ubuntu:Pro:16.04:LTS libpng1.6
    pkg:deb/ubuntu/libpng1.6@1.6.20-2ubuntu0.1~esm4?arch=source&distro=esm-apps-legacy/xenial
    Affected: < 1.6.20-2ubuntu0.1~esm4 (ecosystem)
    1.6.20-21.6.20-2ubuntu0.1~esm11.6.20-2ubuntu0.1~esm21.6.20-2ubuntu0.1~esm3

    {
      "affected": [
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "libpng12-0",
                "binary_version": "1.2.50-1ubuntu2.14.04.3"
              },
              {
                "binary_name": "libpng3",
                "binary_version": "1.2.50-1ubuntu2.14.04.3"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:14.04:LTS",
            "name": "libpng",
            "purl": "pkg:deb/ubuntu/libpng@1.2.50-1ubuntu2.14.04.3?arch=source\u0026distro=trusty"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.2.50-1ubuntu2.14.04.3"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.2.49-4ubuntu1",
            "1.2.49-5ubuntu1",
            "1.2.50-1ubuntu1",
            "1.2.50-1ubuntu2",
            "1.2.50-1ubuntu2.14.04.1",
            "1.2.50-1ubuntu2.14.04.2"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "No subscription required",
            "binaries": [
              {
                "binary_name": "libpng12-0",
                "binary_version": "1.2.54-1ubuntu1.1"
              },
              {
                "binary_name": "libpng3",
                "binary_version": "1.2.54-1ubuntu1.1"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:16.04:LTS",
            "name": "libpng",
            "purl": "pkg:deb/ubuntu/libpng@1.2.54-1ubuntu1.1?arch=source\u0026distro=xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.2.54-1ubuntu1.1"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.2.51-0ubuntu3",
            "1.2.54-1",
            "1.2.54-1ubuntu1"
          ]
        },
        {
          "ecosystem_specific": {
            "availability": "Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro",
            "binaries": [
              {
                "binary_name": "libpng16-16",
                "binary_version": "1.6.20-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "libpng16-devtools",
                "binary_version": "1.6.20-2ubuntu0.1~esm4"
              },
              {
                "binary_name": "libpng16-tools",
                "binary_version": "1.6.20-2ubuntu0.1~esm4"
              }
            ]
          },
          "package": {
            "ecosystem": "Ubuntu:Pro:16.04:LTS",
            "name": "libpng1.6",
            "purl": "pkg:deb/ubuntu/libpng1.6@1.6.20-2ubuntu0.1~esm4?arch=source\u0026distro=esm-apps-legacy/xenial"
          },
          "ranges": [
            {
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1.6.20-2ubuntu0.1~esm4"
                }
              ],
              "type": "ECOSYSTEM"
            }
          ],
          "versions": [
            "1.6.20-2",
            "1.6.20-2ubuntu0.1~esm1",
            "1.6.20-2ubuntu0.1~esm2",
            "1.6.20-2ubuntu0.1~esm3"
          ]
        }
      ],
      "aliases": [],
      "details": "The png_set_text_2 function in libpng 0.71 before 1.0.67, 1.2.x before 1.2.57, 1.4.x before 1.4.20, 1.5.x before 1.5.28, and 1.6.x before 1.6.27 allows context-dependent attackers to cause a NULL pointer dereference vectors involving loading a text chunk into a png structure, removing the text, and then adding another text chunk to the structure.",
      "id": "UBUNTU-CVE-2016-10087",
      "modified": "2026-08-18T19:05:26Z",
      "published": "2017-01-30T00:00:00Z",
      "references": [
        {
          "type": "REPORT",
          "url": "https://ubuntu.com/security/CVE-2016-10087"
        },
        {
          "type": "REPORT",
          "url": "https://sourceforge.net/p/libpng/code/ci/243d4e5f3fe71740d52a53cf3dd77cc83a3430ba"
        },
        {
          "type": "REPORT",
          "url": "https://sourceforge.net/p/libpng/code/ci/812768d7a9c973452222d454634496b25ed415eb"
        },
        {
          "type": "REPORT",
          "url": "https://sourceforge.net/p/libpng/code/ci/794a15fad6add4d636369d0b46f603a02995b2e2/"
        },
        {
          "type": "REPORT",
          "url": "http://www.openwall.com/lists/oss-security/2016/12/30/4"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-3712-1"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-3712-2"
        },
        {
          "type": "REPORT",
          "url": "https://www.cve.org/CVERecord?id=CVE-2016-10087"
        },
        {
          "type": "ADVISORY",
          "url": "https://ubuntu.com/security/notices/USN-8639-1"
        }
      ],
      "related": [
        "USN-3712-1",
        "USN-3712-2",
        "USN-8639-1"
      ],
      "schema_version": "1.7.0",
      "severity": [
        {
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
          "type": "CVSS_V3"
        },
        {
          "score": "low",
          "type": "Ubuntu"
        }
      ],
      "upstream": [
        "CVE-2016-10087"
      ]
    }