CVE-2016-5114 (GCVE-0-2016-5114)

Vulnerability from cvelistv5 – Published: 2016-08-07 10:00 – Updated: 2024-08-06 00:53
VLAI
Summary
sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging.
CWE
  • n/a
Date Public
2016-01-05 00:00
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-06T00:53:47.352Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://bugs.php.net/bug.php?id=70755"
          },
          {
            "name": "RHSA-2016:2750",
            "tags": [
              "vendor-advisory",
              "x_refsource_REDHAT",
              "x_transferred"
            ],
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://php.net/ChangeLog-5.php"
          },
          {
            "name": "[oss-security] 20160528 Re: Fwd: PHP-FPM fpm_log.c memory leak and buffer overflow",
            "tags": [
              "mailing-list",
              "x_refsource_MLIST",
              "x_transferred"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2016/05/29/1"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://php.net/ChangeLog-7.php"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
          },
          {
            "tags": [
              "x_refsource_CONFIRM",
              "x_transferred"
            ],
            "url": "http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1"
          },
          {
            "tags": [
              "x_refsource_MISC",
              "x_transferred"
            ],
            "url": "http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "n/a",
          "vendor": "n/a",
          "versions": [
            {
              "status": "affected",
              "version": "n/a"
            }
          ]
        }
      ],
      "datePublic": "2016-01-05T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "n/a",
              "lang": "en",
              "type": "text"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2018-01-04T19:57:01.000Z",
        "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "shortName": "mitre"
      },
      "references": [
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://bugs.php.net/bug.php?id=70755"
        },
        {
          "name": "RHSA-2016:2750",
          "tags": [
            "vendor-advisory",
            "x_refsource_REDHAT"
          ],
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://php.net/ChangeLog-5.php"
        },
        {
          "name": "[oss-security] 20160528 Re: Fwd: PHP-FPM fpm_log.c memory leak and buffer overflow",
          "tags": [
            "mailing-list",
            "x_refsource_MLIST"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2016/05/29/1"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://php.net/ChangeLog-7.php"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
        },
        {
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1"
        },
        {
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine"
        }
      ],
      "x_legacyV4Record": {
        "CVE_data_meta": {
          "ASSIGNER": "cve@mitre.org",
          "ID": "CVE-2016-5114",
          "STATE": "PUBLIC"
        },
        "affects": {
          "vendor": {
            "vendor_data": [
              {
                "product": {
                  "product_data": [
                    {
                      "product_name": "n/a",
                      "version": {
                        "version_data": [
                          {
                            "version_value": "n/a"
                          }
                        ]
                      }
                    }
                  ]
                },
                "vendor_name": "n/a"
              }
            ]
          }
        },
        "data_format": "MITRE",
        "data_type": "CVE",
        "data_version": "4.0",
        "description": {
          "description_data": [
            {
              "lang": "eng",
              "value": "sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging."
            }
          ]
        },
        "problemtype": {
          "problemtype_data": [
            {
              "description": [
                {
                  "lang": "eng",
                  "value": "n/a"
                }
              ]
            }
          ]
        },
        "references": {
          "reference_data": [
            {
              "name": "https://bugs.php.net/bug.php?id=70755",
              "refsource": "CONFIRM",
              "url": "https://bugs.php.net/bug.php?id=70755"
            },
            {
              "name": "RHSA-2016:2750",
              "refsource": "REDHAT",
              "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
            },
            {
              "name": "http://php.net/ChangeLog-5.php",
              "refsource": "CONFIRM",
              "url": "http://php.net/ChangeLog-5.php"
            },
            {
              "name": "[oss-security] 20160528 Re: Fwd: PHP-FPM fpm_log.c memory leak and buffer overflow",
              "refsource": "MLIST",
              "url": "http://www.openwall.com/lists/oss-security/2016/05/29/1"
            },
            {
              "name": "http://php.net/ChangeLog-7.php",
              "refsource": "CONFIRM",
              "url": "http://php.net/ChangeLog-7.php"
            },
            {
              "name": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731",
              "refsource": "CONFIRM",
              "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
            },
            {
              "name": "http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1",
              "refsource": "CONFIRM",
              "url": "http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1"
            },
            {
              "name": "http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine",
              "refsource": "MISC",
              "url": "http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine"
            }
          ]
        }
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
    "assignerShortName": "mitre",
    "cveId": "CVE-2016-5114",
    "datePublished": "2016-08-07T10:00:00.000Z",
    "dateReserved": "2016-05-28T00:00:00.000Z",
    "dateUpdated": "2024-08-06T00:53:47.352Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2016-5114",
      "date": "2026-09-21",
      "epss": "0.04099",
      "percentile": "0.9032"
    },
    "fkie_nvd": {
      "configurations": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                  "matchCriteriaId": "7839C9BE-8B0C-4425-84D4-28511DD7EA41",
                  "versionEndIncluding": "5.5.30",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*",
                  "matchCriteriaId": "5BF4E8FF-A3EC-43E8-A0C1-FD38AFCB77B8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*",
                  "matchCriteriaId": "54ADECFC-3C07-43BC-B296-6C25AC7F1C95",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*",
                  "matchCriteriaId": "FE192054-2FBB-4388-A52A-422E20DEA2D7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*",
                  "matchCriteriaId": "F0195D48-3B42-4AC0-B9C5-436E01C63879",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*",
                  "matchCriteriaId": "BF0E5D67-ABC1-41A5-94E1-7DD3CDB51D81",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*",
                  "matchCriteriaId": "319E0573-B1AD-40B6-B4BC-8BE67ED3EFDB",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*",
                  "matchCriteriaId": "1A7C00EB-87B7-4EB7-A4AC-8665D8C78467",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*",
                  "matchCriteriaId": "21BFCF10-786A-4D1E-9C37-50A1EC6056F1",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*",
                  "matchCriteriaId": "95A6D6C8-5F46-4897-A0B0-778631E8CE6A",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F1F13E2D-A8F7-4B74-8D03-7905C81672C9",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*",
                  "matchCriteriaId": "AE18933A-5FE6-41C7-B1B6-DA3E762C3FB6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*",
                  "matchCriteriaId": "9AE1289F-03A6-4621-B387-5F5ADAC4AE92",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*",
                  "matchCriteriaId": "383697F5-D29E-475A-84F3-46B54A928889",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*",
                  "matchCriteriaId": "786ED182-5D71-4197-9196-12AB5CF05F85",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*",
                  "matchCriteriaId": "BF90980D-74AD-44AA-A7C5-A0B294CCE4F8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*",
                  "matchCriteriaId": "48D6B69C-8F27-4F4C-B953-67A7F9C2FBA5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*",
                  "matchCriteriaId": "B53DC0C3-EA19-4465-B65A-BC7CDB10D8BF",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*",
                  "matchCriteriaId": "BEA4DFC1-6C0C-42FB-9F47-E3E1AA9E47E0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*",
                  "matchCriteriaId": "D904E21A-4B3B-4D96-850C-0C0315F14E6D",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*",
                  "matchCriteriaId": "C7CEF6D7-8966-45E7-BEBB-12055F5898C6",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*",
                  "matchCriteriaId": "171C1035-414C-4F3A-90F4-1A8ED26E3346",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*",
                  "matchCriteriaId": "725BBA4E-B3BA-4AFA-A284-E0CDE3EC8FB4",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*",
                  "matchCriteriaId": "F7793408-66A2-4DE7-B5AA-E49E8A2EE043",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*",
                  "matchCriteriaId": "95840EC0-512D-468D-99B0-17E8CFDD6BE0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*",
                  "matchCriteriaId": "E1078D15-8073-4C04-82C2-3C8111E18B6C",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
                  "matchCriteriaId": "DB6890AF-8A0A-46EE-AAD5-CF9AAE14A321",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
                  "matchCriteriaId": "6B90B947-7B54-47F3-9637-2F4AC44079EE",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging."
        },
        {
          "lang": "es",
          "value": "sapi/fpm/fpm/fpm_log.c en PHP en versiones anteriores a 5.5.31, 5.6.x en versiones anteriores a 5.6.17 y 7.x en versiones anteriores a 7.0.2 malinterpreta la sem\u00e1ntica del valor de retorno snprinfg, lo que permite a atacantes remotos obtener informaci\u00f3n sensible del proceso de memoria o provocar una denegaci\u00f3n de servicio (lectura fuera de rango y desbordamiento de b\u00fafer) a trav\u00e9s de una cadena larga, como se demuestra por una URl larga en una configuraci\u00f3n con inicio de sesi\u00f3n REQUEST_URI personalizado."
        }
      ],
      "id": "CVE-2016-5114",
      "lastModified": "2024-11-21T02:53:39.073",
      "metrics": {
        "cvssMetricV2": [
          {
            "acInsufInfo": false,
            "baseSeverity": "MEDIUM",
            "cvssData": {
              "accessComplexity": "LOW",
              "accessVector": "NETWORK",
              "authentication": "NONE",
              "availabilityImpact": "PARTIAL",
              "baseScore": 6.4,
              "confidentialityImpact": "PARTIAL",
              "integrityImpact": "NONE",
              "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:P",
              "version": "2.0"
            },
            "exploitabilityScore": 10.0,
            "impactScore": 4.9,
            "obtainAllPrivilege": false,
            "obtainOtherPrivilege": false,
            "obtainUserPrivilege": false,
            "source": "nvd@nist.gov",
            "type": "Primary",
            "userInteractionRequired": false
          }
        ],
        "cvssMetricV30": [
          {
            "cvssData": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 9.1,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "NONE",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
              "version": "3.0"
            },
            "exploitabilityScore": 3.9,
            "impactScore": 5.2,
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      },
      "published": "2016-08-07T10:59:10.947",
      "references": [
        {
          "source": "cve@mitre.org",
          "url": "http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Patch",
            "Release Notes"
          ],
          "url": "http://php.net/ChangeLog-5.php"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Patch",
            "Release Notes"
          ],
          "url": "http://php.net/ChangeLog-7.php"
        },
        {
          "source": "cve@mitre.org",
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Release Notes"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2016/05/29/1"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine"
        },
        {
          "source": "cve@mitre.org",
          "tags": [
            "Exploit"
          ],
          "url": "https://bugs.php.net/bug.php?id=70755"
        },
        {
          "source": "cve@mitre.org",
          "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Release Notes"
          ],
          "url": "http://php.net/ChangeLog-5.php"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Release Notes"
          ],
          "url": "http://php.net/ChangeLog-7.php"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Release Notes"
          ],
          "url": "http://www.openwall.com/lists/oss-security/2016/05/29/1"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Patch",
            "Third Party Advisory"
          ],
          "url": "http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "tags": [
            "Exploit"
          ],
          "url": "https://bugs.php.net/bug.php?id=70755"
        },
        {
          "source": "af854a3a-2127-422b-91ae-364da2661108",
          "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
        }
      ],
      "sourceIdentifier": "cve@mitre.org",
      "vulnStatus": "Modified",
      "weaknesses": [
        {
          "description": [
            {
              "lang": "en",
              "value": "CWE-119"
            },
            {
              "lang": "en",
              "value": "CWE-125"
            }
          ],
          "source": "nvd@nist.gov",
          "type": "Primary"
        }
      ]
    },
    "nvd": {
      "cve": {
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "7839C9BE-8B0C-4425-84D4-28511DD7EA41",
                    "versionEndIncluding": "5.5.30",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha1:*:*:*:*:*:*",
                    "matchCriteriaId": "5BF4E8FF-A3EC-43E8-A0C1-FD38AFCB77B8",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha2:*:*:*:*:*:*",
                    "matchCriteriaId": "54ADECFC-3C07-43BC-B296-6C25AC7F1C95",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha3:*:*:*:*:*:*",
                    "matchCriteriaId": "FE192054-2FBB-4388-A52A-422E20DEA2D7",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha4:*:*:*:*:*:*",
                    "matchCriteriaId": "F0195D48-3B42-4AC0-B9C5-436E01C63879",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:alpha5:*:*:*:*:*:*",
                    "matchCriteriaId": "BF0E5D67-ABC1-41A5-94E1-7DD3CDB51D81",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:beta1:*:*:*:*:*:*",
                    "matchCriteriaId": "319E0573-B1AD-40B6-B4BC-8BE67ED3EFDB",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:beta2:*:*:*:*:*:*",
                    "matchCriteriaId": "1A7C00EB-87B7-4EB7-A4AC-8665D8C78467",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:beta3:*:*:*:*:*:*",
                    "matchCriteriaId": "21BFCF10-786A-4D1E-9C37-50A1EC6056F1",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.0:beta4:*:*:*:*:*:*",
                    "matchCriteriaId": "95A6D6C8-5F46-4897-A0B0-778631E8CE6A",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F1F13E2D-A8F7-4B74-8D03-7905C81672C9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.2:*:*:*:*:*:*:*",
                    "matchCriteriaId": "AE18933A-5FE6-41C7-B1B6-DA3E762C3FB6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.3:*:*:*:*:*:*:*",
                    "matchCriteriaId": "9AE1289F-03A6-4621-B387-5F5ADAC4AE92",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.4:*:*:*:*:*:*:*",
                    "matchCriteriaId": "383697F5-D29E-475A-84F3-46B54A928889",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.5:*:*:*:*:*:*:*",
                    "matchCriteriaId": "786ED182-5D71-4197-9196-12AB5CF05F85",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.6:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BF90980D-74AD-44AA-A7C5-A0B294CCE4F8",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.7:*:*:*:*:*:*:*",
                    "matchCriteriaId": "48D6B69C-8F27-4F4C-B953-67A7F9C2FBA5",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.8:*:*:*:*:*:*:*",
                    "matchCriteriaId": "B53DC0C3-EA19-4465-B65A-BC7CDB10D8BF",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.9:*:*:*:*:*:*:*",
                    "matchCriteriaId": "BEA4DFC1-6C0C-42FB-9F47-E3E1AA9E47E0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.10:*:*:*:*:*:*:*",
                    "matchCriteriaId": "D904E21A-4B3B-4D96-850C-0C0315F14E6D",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.11:*:*:*:*:*:*:*",
                    "matchCriteriaId": "C7CEF6D7-8966-45E7-BEBB-12055F5898C6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.12:*:*:*:*:*:*:*",
                    "matchCriteriaId": "171C1035-414C-4F3A-90F4-1A8ED26E3346",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.13:*:*:*:*:*:*:*",
                    "matchCriteriaId": "725BBA4E-B3BA-4AFA-A284-E0CDE3EC8FB4",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.14:*:*:*:*:*:*:*",
                    "matchCriteriaId": "F7793408-66A2-4DE7-B5AA-E49E8A2EE043",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.15:*:*:*:*:*:*:*",
                    "matchCriteriaId": "95840EC0-512D-468D-99B0-17E8CFDD6BE0",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:5.6.16:*:*:*:*:*:*:*",
                    "matchCriteriaId": "E1078D15-8073-4C04-82C2-3C8111E18B6C",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.0:*:*:*:*:*:*:*",
                    "matchCriteriaId": "DB6890AF-8A0A-46EE-AAD5-CF9AAE14A321",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:php:php:7.0.1:*:*:*:*:*:*:*",
                    "matchCriteriaId": "6B90B947-7B54-47F3-9637-2F4AC44079EE",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "sapi/fpm/fpm/fpm_log.c in PHP before 5.5.31, 5.6.x before 5.6.17, and 7.x before 7.0.2 misinterprets the semantics of the snprintf return value, which allows attackers to obtain sensitive information from process memory or cause a denial of service (out-of-bounds read and buffer overflow) via a long string, as demonstrated by a long URI in a configuration with custom REQUEST_URI logging."
          },
          {
            "lang": "es",
            "value": "sapi/fpm/fpm/fpm_log.c en PHP en versiones anteriores a 5.5.31, 5.6.x en versiones anteriores a 5.6.17 y 7.x en versiones anteriores a 7.0.2 malinterpreta la sem\u00e1ntica del valor de retorno snprinfg, lo que permite a atacantes remotos obtener informaci\u00f3n sensible del proceso de memoria o provocar una denegaci\u00f3n de servicio (lectura fuera de rango y desbordamiento de b\u00fafer) a trav\u00e9s de una cadena larga, como se demuestra por una URl larga en una configuraci\u00f3n con inicio de sesi\u00f3n REQUEST_URI personalizado."
          }
        ],
        "id": "CVE-2016-5114",
        "lastModified": "2026-05-06T22:30:45.220",
        "metrics": {
          "cvssMetricV2": [
            {
              "acInsufInfo": false,
              "baseSeverity": "MEDIUM",
              "cvssData": {
                "accessComplexity": "LOW",
                "accessVector": "NETWORK",
                "authentication": "NONE",
                "availabilityImpact": "PARTIAL",
                "baseScore": 6.4,
                "confidentialityImpact": "PARTIAL",
                "integrityImpact": "NONE",
                "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:P",
                "version": "2.0"
              },
              "exploitabilityScore": 10.0,
              "impactScore": 4.9,
              "obtainAllPrivilege": false,
              "obtainOtherPrivilege": false,
              "obtainUserPrivilege": false,
              "source": "nvd@nist.gov",
              "type": "Primary",
              "userInteractionRequired": false
            }
          ],
          "cvssMetricV30": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.1,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H",
                "version": "3.0"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.2,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ]
        },
        "published": "2016-08-07T10:59:10.947",
        "references": [
          {
            "source": "cve@mitre.org",
            "url": "http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch",
              "Release Notes"
            ],
            "url": "http://php.net/ChangeLog-5.php"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch",
              "Release Notes"
            ],
            "url": "http://php.net/ChangeLog-7.php"
          },
          {
            "source": "cve@mitre.org",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Release Notes"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2016/05/29/1"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine"
          },
          {
            "source": "cve@mitre.org",
            "tags": [
              "Exploit"
            ],
            "url": "https://bugs.php.net/bug.php?id=70755"
          },
          {
            "source": "cve@mitre.org",
            "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://github.com/php/php-src/commit/2721a0148649e07ed74468f097a28899741eb58f?w=1"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Release Notes"
            ],
            "url": "http://php.net/ChangeLog-5.php"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Release Notes"
            ],
            "url": "http://php.net/ChangeLog-7.php"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "http://rhn.redhat.com/errata/RHSA-2016-2750.html"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Release Notes"
            ],
            "url": "http://www.openwall.com/lists/oss-security/2016/05/29/1"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Third Party Advisory"
            ],
            "url": "http://www.search-lab.hu/about-us/news/111-some-unusual-vulnerabilities-in-the-php-engine"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Exploit"
            ],
            "url": "https://bugs.php.net/bug.php?id=70755"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05240731"
          }
        ],
        "sourceIdentifier": "cve@mitre.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-119"
              },
              {
                "lang": "en",
                "value": "CWE-125"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-28T06:47:41+00:00",
      "cve": "CVE-2016-5114",
      "id": "CVE-2016-5114",
      "initial_release_date": "2016-01-01T00:00:00+00:00",
      "product_status:fixed": "251",
      "product_status:known_affected": "108",
      "product_status:known_not_affected": "2",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "php: out-of-bounds write in fpm_log.c",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2016/cve-2016-5114.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-09-02T08:54:00Z",
      "cve": "CVE-2016-5114",
      "id": "CVE-2016-5114",
      "initial_release_date": "2023-02-15T05:01:53Z",
      "product_status:known_affected": "2533",
      "product_status:known_not_affected": "17",
      "product_status:recommended": "388",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2016-5114",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2016-5114.json",
      "version": "15"
    }
  }
}



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…