Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-10545

An issue was discovered in PHP before 5.6.35, 7.0.x before 7.0.29, 7.1.x before 7.1.16, and 7.2.x before 7.2.4. Dumpable FPM child processes allow bypassing opcache access controls because fpm_unix.c makes a PR_SET_DUMPABLE prctl call, allowing one user (in a multiuser environment) to obtain sensitive information from the process memory of a second user's PHP applications by running gcore on the PID of the PHP-FPM worker process.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-10545
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 09:04 UTC · Revision 1

Source evidence

CVE-2018-10545

core-osv · Original source

Published 29 Apr 2018, 21:29 UTC

An issue was discovered in PHP before 5.6.35, 7.0.x before 7.0.29, 7.1.x before 7.1.16, and 7.2.x before 7.2.4. Dumpable FPM child processes allow bypassing opcache access controls because fpm_unix.c makes a PR_SET_DUMPABLE prctl call, allowing one user (in a multiuser environment) to obtain sensitive information from the process memory of a second user's PHP applications by running gcore on the PID of the PHP-FPM worker process.

osv:CVE-2018-10545
Complete source record
{
  "id": "b3a1f882ec5a9ea354431c2861c33cac41f5e6f850ba3e9e9d88b5e4933e2ec6",
  "url": "https://osv.dev/vulnerability/CVE-2018-10545",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-10545",
    "summary": "An issue was discovered in PHP before 5.6.35, 7.0.x before 7.0.29, 7.1.x before 7.1.16, and 7.2.x before 7.2.4. Dumpable FPM child processes allow bypassing opcache access controls because fpm_unix.c makes a PR_SET_DUMPABLE prctl call, allowing one user (in a multiuser environment) to obtain sensitive information from the process memory of a second user's PHP applications by running gcore on the PID of the PHP-FPM worker process.",
    "evidence": "osv:CVE-2018-10545",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-10545",
      "aliases": [
        "CVE-2018-10545"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/php/php-src",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "404e8465429616e6cf04f5c4ad65ebef759c525b"
                },
                {
                  "introduced": "60fffd296abce5fc071f3c173c25a2696cf683c6"
                },
                {
                  "fixed": "b4c9234d03f0a2aab5b35dee0df08530626210d7"
                },
                {
                  "introduced": "0221e9f827632942225586687a33cfd554860d5e"
                },
                {
                  "fixed": "f52597c960e2e3f46fb96bf1d11b7b03ed338f84"
                },
                {
                  "introduced": "8148cbb78841c8ec0759c0836e7f35dec799d300"
                },
                {
                  "fixed": "e474a0439a9e89d98c2728ed4a1c9d029c107682"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.6.35"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.0.0"
                      },
                      {
                        "fixed": "7.0.29"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.1.0"
                      },
                      {
                        "fixed": "7.1.16"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:php:php:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "7.2.0"
                      },
                      {
                        "fixed": "7.2.4"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "php-7.1.16RC1",
            "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-2018-10545.json",
            "vanir_signatures": [
              {
                "id": "CVE-2018-10545-0ba347cc",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "256365884870753358372710319244770316957",
                    "230611153719690024403978117961271284794",
                    "102921983361664405159817029964854163626",
                    "314773791019620477757473304779551723829"
                  ]
                },
                "source": "https://github.com/php/php-src/commit/f52597c960e2e3f46fb96bf1d11b7b03ed338f84",
                "target": {
                  "file": "sapi/fpm/fpm/fpm_unix.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-10545-3cbcde99",
                "digest": {
                  "length": 3862,
                  "function_hash": "287442094763772067342266346183851523533"
                },
                "source": "https://github.com/php/php-src/commit/f52597c960e2e3f46fb96bf1d11b7b03ed338f84",
                "target": {
                  "file": "sapi/fpm/fpm/fpm_unix.c",
                  "function": "fpm_unix_init_child"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-10545-4f93f49d",
                "digest": {
                  "length": 5732,
                  "function_hash": "277853390626986811607452198894226224441"
                },
                "source": "https://github.com/php/php-src/commit/f52597c960e2e3f46fb96bf1d11b7b03ed338f84",
                "target": {
                  "file": "sapi/fpm/fpm/fpm_conf.c",
                  "function": "fpm_conf_dump"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-10545-acf8bc68",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "256511797819681255547969006441959424448",
                    "170070270104641774874597543346518647493",
                    "121743950867872505806597948820614470705",
                    "242090551949141085346613766795016436438",
                    "295134697379924912630054271846860817862",
                    "260598572435739408847505379837062082534",
                    "216713436482603700555238819130138446343",
                    "304870878083177849104934347341857056093",
                    "108754229275187834165973092560493734346",
                    "173508882186227559114645650907357673409",
                    "42193457222507860198891650040648699561",
                    "256217340988184821380731613952953168297"
                  ]
                },
                "source": "https://github.com/php/php-src/commit/f52597c960e2e3f46fb96bf1d11b7b03ed338f84",
                "target": {
                  "file": "sapi/fpm/fpm/fpm_conf.c"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-10545-b65a498f",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "40588419778845794792413482029445539851",
                    "164442732053218752669806283308602697138",
                    "22712446989311435435055743798677487384",
                    "206944676588201666044630381716353874484"
                  ]
                },
                "source": "https://github.com/php/php-src/commit/f52597c960e2e3f46fb96bf1d11b7b03ed338f84",
                "target": {
                  "file": "sapi/fpm/fpm/fpm_conf.h"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2018-10545-ff51c531",
                "digest": {
                  "length": 671,
                  "function_hash": "267983799647513806905976755268945309230"
                },
                "source": "https://github.com/php/php-src/commit/f52597c960e2e3f46fb96bf1d11b7b03ed338f84",
                "target": {
                  "file": "sapi/fpm/fpm/fpm_conf.c",
                  "function": "fpm_worker_pool_config_alloc"
                },
                "deprecated": false,
                "signature_type": "Function",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-24T14:05:39Z"
          }
        }
      ],
      "modified": "2026-10-24T14:05:39.607072557Z",
      "provider": "osv",
      "references": [
        "https://access.redhat.com/errata/RHSA-2019:2519",
        "https://lists.debian.org/debian-lts-announce/2018/05/msg00004.html",
        "https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html",
        "https://security.gentoo.org/glsa/201812-01",
        "https://security.netapp.com/advisory/ntap-20180607-0003/",
        "https://usn.ubuntu.com/3646-1/",
        "https://usn.ubuntu.com/3646-2/",
        "https://www.debian.org/security/2018/dsa-4240",
        "https://www.tenable.com/security/tns-2018-12",
        "https://bugs.php.net/bug.php?id=75605"
      ],
      "provider_metadata": {
        "unresolved_ranges": [
          {
            "cpes": [
              "cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*",
              "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"
            ],
            "vendor_product": "canonical:ubuntu_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "12.04"
                  },
                  {
                    "last_affected": "12.04"
                  },
                  {
                    "introduced": "14.04"
                  },
                  {
                    "last_affected": "14.04"
                  },
                  {
                    "introduced": "16.04"
                  },
                  {
                    "last_affected": "16.04"
                  },
                  {
                    "introduced": "17.10"
                  },
                  {
                    "last_affected": "17.10"
                  },
                  {
                    "introduced": "18.04"
                  },
                  {
                    "last_affected": "18.04"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          },
          {
            "cpes": [
              "cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
              "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
            ],
            "vendor_product": "debian:debian_linux",
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "7.0"
                  },
                  {
                    "last_affected": "7.0"
                  },
                  {
                    "introduced": "8.0"
                  },
                  {
                    "last_affected": "8.0"
                  },
                  {
                    "introduced": "9.0"
                  },
                  {
                    "last_affected": "9.0"
                  }
                ],
                "source": "CPE_STRING"
              }
            ]
          }
        ]
      }
    },
    "related_cves": [
      {
        "value": "CVE-2018-10545",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 442994,
  "published_at": "2018-04-29T21:29:00.277+00:00"
}