Skip to content
Heist/ feed
Back to feed
Critical

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-7398

A type confusion vulnerability in the merge_param() function of php_http_params.c in PHP's pecl-http extension 3.1.0beta2 (PHP 7) and earlier as well as 2.6.0beta2 (PHP 5) and earlier allows attackers to crash PHP and possibly execute arbitrary code via crafted HTTP requests.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-7398
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:13 UTC · Revision 1

Source evidence

CVE-2016-7398

core-osv · Original source

Published 6 Sept 2019, 19:15 UTC

A type confusion vulnerability in the merge_param() function of php_http_params.c in PHP's pecl-http extension 3.1.0beta2 (PHP 7) and earlier as well as 2.6.0beta2 (PHP 5) and earlier allows attackers to crash PHP and possibly execute arbitrary code via crafted HTTP requests.

osv:CVE-2016-7398
Complete source record
{
  "id": "005402866b12e0d27c11fbeddffa09fe17c08e838630d80f393a9dda1a1d084e",
  "url": "https://osv.dev/vulnerability/CVE-2016-7398",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-7398",
    "summary": "A type confusion vulnerability in the merge_param() function of php_http_params.c in PHP's pecl-http extension 3.1.0beta2 (PHP 7) and earlier as well as 2.6.0beta2 (PHP 5) and earlier allows attackers to crash PHP and possibly execute arbitrary code via crafted HTTP requests.",
    "evidence": "osv:CVE-2016-7398",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2016-7398",
      "aliases": [
        "CVE-2016-7398"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/m6w6/ext-http",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "4f48201b690b6b10bffa348833364d1a3760483c"
                },
                {
                  "introduced": "1eef7cfb325e57887432f6bba837c8e39d3e7f34"
                },
                {
                  "last_affected": "9d607c62df6393665a82f4997eae68345395c0fc"
                },
                {
                  "introduced": "78b1171bc5e44396d142957532d7b3992a818d16"
                },
                {
                  "last_affected": "9dd0b2cfed592d833ab46eca976d50e0c5696d77"
                },
                {
                  "fixed": "17137d4ab1ce81a2cee0fae842340a344ef3da83"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.5.6"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.0.0"
                      },
                      {
                        "last_affected": "3.0.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:2.6.0:-:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.6.0-NA"
                      },
                      {
                        "last_affected": "2.6.0-NA"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:2.6.0:beta1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.6.0-beta1"
                      },
                      {
                        "last_affected": "2.6.0-beta1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:2.6.0:beta2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.6.0-beta2"
                      },
                      {
                        "last_affected": "2.6.0-beta2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:2.6.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "2.6.0-rc1"
                      },
                      {
                        "last_affected": "2.6.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:3.1.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.0"
                      },
                      {
                        "last_affected": "3.1.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:3.1.0:beta1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.0-beta1"
                      },
                      {
                        "last_affected": "3.1.0-beta1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:3.1.0:beta2:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.0-beta2"
                      },
                      {
                        "last_affected": "3.1.0-beta2"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:ext-http:3.1.0:rc1:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "3.1.0-rc1"
                      },
                      {
                        "last_affected": "3.1.0-rc1"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "range": [
                      {
                        "fixed": "17137d4ab1ce81a2cee0fae842340a344ef3da83"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.6.0-NA",
            "2.6.0-beta1",
            "2.6.0-beta2",
            "2.6.0-rc1",
            "3.1.0",
            "3.1.0-beta1",
            "3.1.0-beta2",
            "3.1.0-rc1",
            "RELEASE_2_5_6",
            "RELEASE_2_5_5",
            "RELEASE_2_5_3",
            "RELEASE_2_5_2",
            "RELEASE_2_5_1",
            "RELEASE_2_5_0",
            "RELEASE_2_5_0_RC1",
            "RELEASE_2_0_4",
            "RELEASE_2_0_3",
            "RELEASE_2_0_2",
            "RELEASE_2_0_1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7398.json",
            "vanir_signatures": [
              {
                "id": "CVE-2016-7398-1d33e960",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "131021496443385898743292904032294007741",
                    "91232038910744409217388444223265266793",
                    "261318667876175873601489787703585171531",
                    "167123906585228430315616853570800366652"
                  ]
                },
                "source": "https://github.com/m6w6/ext-http/commit/17137d4ab1ce81a2cee0fae842340a344ef3da83",
                "target": {
                  "file": "src/php_http_params.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T13:23:26Z"
          }
        }
      ],
      "modified": "2026-10-20T13:23:26.277528538Z",
      "provider": "osv",
      "references": [
        "https://lists.debian.org/debian-lts-announce/2019/09/msg00022.html",
        "https://github.com/m6w6/ext-http/commit/17137d4ab1ce81a2cee0fae842340a344ef3da83",
        "https://bugs.php.net/bug.php?id=73055",
        "https://bugs.php.net/bug.php?id=73055&edit=1"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-7398",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 387606,
  "published_at": "2019-09-06T19:15:11.387+00:00"
}