Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2017-12933

The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is prone to a buffer over-read while unserializing untrusted data. Exploitation of this issue can have an unspecified impact on the integrity of PHP.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-12933
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:32 UTC · Revision 1

Source evidence

CVE-2017-12933

core-osv · Original source

Published 18 Aug 2017, 03:29 UTC

The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is prone to a buffer over-read while unserializing untrusted data. Exploitation of this issue can have an unspecified impact on the integrity of PHP.

osv:CVE-2017-12933
Complete source record
{
  "id": "c0aaa47f0d49e887ca4b748b977caf702db3226fc2c667e9abe52ac9c7b72465",
  "url": "https://osv.dev/vulnerability/CVE-2017-12933",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-12933",
    "summary": "The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is prone to a buffer over-read while unserializing untrusted data. Exploitation of this issue can have an unspecified impact on the integrity of PHP.",
    "evidence": "osv:CVE-2017-12933",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2017-12933",
      "aliases": [
        "CVE-2017-12933"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "195427c55481d9913ac9dd3fbcedf2f7c637e6de"
                },
                {
                  "introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
                },
                {
                  "last_affected": "5b34dc2d52841bfab425cbb24e9111172de20ef9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "5.6.30"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "last_affected": "7.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.1"
                      },
                      {
                        "last_affected": "7.0.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.2"
                      },
                      {
                        "last_affected": "7.0.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.3"
                      },
                      {
                        "last_affected": "7.0.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.4"
                      },
                      {
                        "last_affected": "7.0.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.5"
                      },
                      {
                        "last_affected": "7.0.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.6"
                      },
                      {
                        "last_affected": "7.0.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.7:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.7"
                      },
                      {
                        "last_affected": "7.0.7"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.8:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.8"
                      },
                      {
                        "last_affected": "7.0.8"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.9:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.9"
                      },
                      {
                        "last_affected": "7.0.9"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.10:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.10"
                      },
                      {
                        "last_affected": "7.0.10"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.11:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.11"
                      },
                      {
                        "last_affected": "7.0.11"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.12:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.12"
                      },
                      {
                        "last_affected": "7.0.12"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.13:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.13"
                      },
                      {
                        "last_affected": "7.0.13"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.14:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.14"
                      },
                      {
                        "last_affected": "7.0.14"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.15:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.15"
                      },
                      {
                        "last_affected": "7.0.15"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.16:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.16"
                      },
                      {
                        "last_affected": "7.0.16"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.17:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.17"
                      },
                      {
                        "last_affected": "7.0.17"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.18:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.18"
                      },
                      {
                        "last_affected": "7.0.18"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.19:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.19"
                      },
                      {
                        "last_affected": "7.0.19"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.0.20:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.20"
                      },
                      {
                        "last_affected": "7.0.20"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.1.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.0"
                      },
                      {
                        "last_affected": "7.1.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.1.1:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.1"
                      },
                      {
                        "last_affected": "7.1.1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.1.2:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.2"
                      },
                      {
                        "last_affected": "7.1.2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.1.3:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.3"
                      },
                      {
                        "last_affected": "7.1.3"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.1.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.4"
                      },
                      {
                        "last_affected": "7.1.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.1.5:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.5"
                      },
                      {
                        "last_affected": "7.1.5"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:7.1.6:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.6"
                      },
                      {
                        "last_affected": "7.1.6"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "7.0.0",
            "7.0.1",
            "7.0.10",
            "7.0.11",
            "7.0.12",
            "7.0.13",
            "7.0.14",
            "7.0.15",
            "7.0.16",
            "7.0.17",
            "7.0.18",
            "7.0.19",
            "7.0.2",
            "7.0.20",
            "7.0.3",
            "7.0.4",
            "7.0.5",
            "7.0.6",
            "7.0.7",
            "7.0.8",
            "7.0.9",
            "7.1.0",
            "7.1.1",
            "7.1.2",
            "7.1.3",
            "7.1.4",
            "7.1.5",
            "7.1.6",
            "php-7.1.6",
            "php-7.1.6RC1",
            "php-5.6.30",
            "php-5.6.30RC1",
            "POST_PHP7_NSAPI_REMOVAL",
            "PRE_PHP7_NSAPI_REMOVAL",
            "PRE_PHP7_EREG_MYSQL_REMOVALS",
            "PRE_PHP7_REMOVALS",
            "POST_PHP7_REMOVALS",
            "POST_AST_MERGE",
            "PRE_AST_MERGE",
            "POST_64BIT_BRANCH_MERGE",
            "PRE_64BIT_BRANCH_MERGE",
            "POST_PHPNG_MERGE"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-12933.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:30.001484886Z",
      "provider": "osv",
      "references": [
        "https://usn.ubuntu.com/3566-1/",
        "https://usn.ubuntu.com/3566-2/",
        "https://access.redhat.com/errata/RHSA-2018:1296",
        "https://bugs.php.net/bug.php?id=74111",
        "https://www.debian.org/security/2018/dsa-4080",
        "https://www.debian.org/security/2018/dsa-4081"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-12933",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432474,
  "published_at": "2017-08-18T03:29:00.23+00:00"
}