UBUNTU-CVE-2017-12932 (CVE-2017-12932)

Vulnerability from osv_ubuntu – Published: 2017-08-18 03:29 – Updated: 2026-04-22 07:38 – Source website
VLAI
Details

ext/standard/var_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. Exploitation of this issue can have an unspecified impact on the integrity of PHP.

Severity

{
  "affected": [
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "libapache2-mod-php7.0",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "libphp7.0-embed",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-bcmath",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-bz2",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-cgi",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-cli",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-common",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-curl",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-dba",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-enchant",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-fpm",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-gd",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-gmp",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-imap",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-interbase",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-intl",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-json",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-ldap",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-mbstring",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-mcrypt",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-mysql",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-odbc",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-opcache",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-pgsql",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-phpdbg",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-pspell",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-readline",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-recode",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-snmp",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-soap",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-sqlite3",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-sybase",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-tidy",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-xml",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-xmlrpc",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-xsl",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          },
          {
            "binary_name": "php7.0-zip",
            "binary_version": "7.0.25-0ubuntu0.16.04.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:16.04:LTS",
        "name": "php7.0",
        "purl": "pkg:deb/ubuntu/php7.0@7.0.25-0ubuntu0.16.04.1?arch=source\u0026distro=xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "7.0.25-0ubuntu0.16.04.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",
        "7.0.4-7ubuntu2.1",
        "7.0.8-0ubuntu0.16.04.1",
        "7.0.8-0ubuntu0.16.04.2",
        "7.0.8-0ubuntu0.16.04.3",
        "7.0.13-0ubuntu0.16.04.1",
        "7.0.15-0ubuntu0.16.04.1",
        "7.0.15-0ubuntu0.16.04.2",
        "7.0.15-0ubuntu0.16.04.4",
        "7.0.18-0ubuntu0.16.04.1",
        "7.0.22-0ubuntu0.16.04.1"
      ]
    }
  ],
  "aliases": [],
  "details": "ext/standard/var_unserializer.re in PHP 7.0.x through 7.0.22 and 7.1.x through 7.1.8 is prone to a heap use after free while unserializing untrusted data, related to improper use of the hash API for key deletion in a situation with an invalid array size. Exploitation of this issue can have an unspecified impact on the integrity of PHP.",
  "id": "UBUNTU-CVE-2017-12932",
  "modified": "2026-04-22T07:38:19Z",
  "published": "2017-08-18T03:29:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2017-12932"
    },
    {
      "type": "REPORT",
      "url": "http://php.net/ChangeLog-7.php"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2017-12932"
    }
  ],
  "related": [],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2017-12932"
  ]
}



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…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…