ubuntu-cve-2015-8865
Vulnerability from osv_ubuntu
Published
2015-12-31 00:00
Modified
2026-04-22 07:37
Summary
Details

The file_check_mem function in funcs.c in file before 5.23, as used in the Fileinfo component in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5, mishandles continuation-level jumps, which allows context-dependent attackers to cause a denial of service (buffer overflow and application crash) or possibly execute arbitrary code via a crafted magic file.


{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "file",
            "binary_version": "1:5.14-2ubuntu3.4"
          },
          {
            "binary_name": "libmagic1",
            "binary_version": "1:5.14-2ubuntu3.4"
          },
          {
            "binary_name": "python-magic",
            "binary_version": "1:5.14-2ubuntu3.4"
          },
          {
            "binary_name": "python3-magic",
            "binary_version": "1:5.14-2ubuntu3.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "file",
        "purl": "pkg:deb/ubuntu/file@1:5.14-2ubuntu3.4?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:5.14-2ubuntu3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.11-2ubuntu4",
        "1:5.14-2ubuntu1",
        "1:5.14-2ubuntu2",
        "1:5.14-2ubuntu3",
        "1:5.14-2ubuntu3.1",
        "1:5.14-2ubuntu3.2",
        "1:5.14-2ubuntu3.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libapache2-mod-php5",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "libapache2-mod-php5filter",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "libphp5-embed",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php-pear",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-cgi",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-cli",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-common",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-curl",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-enchant",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-fpm",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-gd",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-gmp",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-intl",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-ldap",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-mysql",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-mysqlnd",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-odbc",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-pgsql",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-pspell",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-readline",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-recode",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-snmp",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-sqlite",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-sybase",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-tidy",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-xmlrpc",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          },
          {
            "binary_name": "php5-xsl",
            "binary_version": "5.5.9+dfsg-1ubuntu4.16"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:14.04:LTS",
        "name": "php5",
        "purl": "pkg:deb/ubuntu/php5@5.5.9+dfsg-1ubuntu4.16?arch=source\u0026distro=trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.5.9+dfsg-1ubuntu4.16"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.5.3+dfsg-1ubuntu2",
        "5.5.3+dfsg-1ubuntu3",
        "5.5.6+dfsg-1ubuntu1",
        "5.5.6+dfsg-1ubuntu2",
        "5.5.8+dfsg-2ubuntu1",
        "5.5.9+dfsg-1ubuntu1",
        "5.5.9+dfsg-1ubuntu2",
        "5.5.9+dfsg-1ubuntu3",
        "5.5.9+dfsg-1ubuntu4",
        "5.5.9+dfsg-1ubuntu4.1",
        "5.5.9+dfsg-1ubuntu4.2",
        "5.5.9+dfsg-1ubuntu4.3",
        "5.5.9+dfsg-1ubuntu4.4",
        "5.5.9+dfsg-1ubuntu4.5",
        "5.5.9+dfsg-1ubuntu4.6",
        "5.5.9+dfsg-1ubuntu4.7",
        "5.5.9+dfsg-1ubuntu4.9",
        "5.5.9+dfsg-1ubuntu4.11",
        "5.5.9+dfsg-1ubuntu4.12",
        "5.5.9+dfsg-1ubuntu4.13",
        "5.5.9+dfsg-1ubuntu4.14"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libapache2-mod-php7.0",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "libphp7.0-embed",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-bcmath",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-bz2",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-cgi",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-cli",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-common",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-curl",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-enchant",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-fpm",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-gd",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-gmp",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-imap",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-interbase",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-intl",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-json",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-ldap",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-mbstring",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-mcrypt",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-mysql",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-odbc",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-opcache",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-pgsql",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-phpdbg",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-pspell",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-readline",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-recode",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-snmp",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-soap",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-sqlite3",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-sybase",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-tidy",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-xml",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-xmlrpc",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-xsl",
            "binary_version": "7.0.4-7ubuntu2.1"
          },
          {
            "binary_name": "php7.0-zip",
            "binary_version": "7.0.4-7ubuntu2.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "php7.0",
        "purl": "pkg:deb/ubuntu/php7.0@7.0.4-7ubuntu2.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.0.4-7ubuntu2.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "7.0.1-5",
        "7.0.1-6",
        "7.0.2-1",
        "7.0.2-3",
        "7.0.2-4",
        "7.0.2-5",
        "7.0.3-2",
        "7.0.3-3",
        "7.0.3-9ubuntu1",
        "7.0.4-5ubuntu1",
        "7.0.4-5ubuntu2",
        "7.0.4-7ubuntu1",
        "7.0.4-7ubuntu2"
      ]
    }
  ],
  "aliases": [],
  "details": "The file_check_mem function in funcs.c in file before 5.23, as used in the Fileinfo component in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5, mishandles continuation-level jumps, which allows context-dependent attackers to cause a denial of service (buffer overflow and application crash) or possibly execute arbitrary code via a crafted magic file.",
  "id": "UBUNTU-CVE-2015-8865",
  "modified": "2026-04-22T07:37:52Z",
  "published": "2015-12-31T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2015-8865"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-2952-1"
    },
    {
      "type": "REPORT",
      "url": "http://www.openwall.com/lists/oss-security/2016/04/11/7"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-2984-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3686-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-3686-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2015-8865"
    }
  ],
  "related": [
    "USN-2952-1",
    "USN-2984-1",
    "USN-3686-1",
    "USN-3686-2"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2015-8865"
  ]
}



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…