Skip to main content

PHP memory flaws may allow remote code execution

4 companies named across 2 categories, the first article referencing Data.

Companies mentioned

Best suited for

Seniority
Staff
Job function
Cybersecurity / Information Security
Persona
Security Operations Practitioner
Buyer role
Technical Implementer / Administrator
Decision stage
Post Buy
Adoption curve
Early Majority
Technology maturity
Established Technology
Industry
Information Technology / Cybersecurity / Exposure, Risk & Governance / Vulnerability Management & Attack Surface Management

Our classification, not the publisher's statement. Best suited for, not only for.

Two memory-related vulnerabilities affect PHP versions prior to 8.2.35, 8.3.36, 8.4.27, and 8.5.12. An unauthenticated remote attacker with network access to PHP web services can exploit them through specially crafted HTTP requests, potentially achieving arbitrary code execution.

CVE-2026-109618 is a memory corruption flaw in out-of-memory handling, triggered when an out-of-memory condition interrupts request processing while internal request data is only partly initialized, so later cleanup routines may touch invalid memory. CVE-2026-109619 is a use-after-free in global state management, where a worker retains a reference to request-owned state after its memory is freed and a later request on that worker can read it before initialization resets it.

Successful exploitation allows an unauthenticated attacker to execute arbitrary code remotely through specially crafted HTTP requests, compromising confidentiality, integrity, and availability of the web service and underlying infrastructure. Apache mod_php deployments are at particularly high risk, since proof-of-concept exploitation has shown unauthenticated requests can trigger the attack before any application code executes.

Patched releases 8.2.35, 8.3.36, 8.4.27, and 8.5.12 remediate these vulnerabilities, with source downloads at php.net/downloads, and all users are strongly encouraged to update immediately. Linux users should check with their distribution vendor, as many distributions received patches in advance. PHP 8.1 and older no longer receive official updates; contact an LTS vendor for backports or upgrade to a supported version. Limited source backports for PHP 7.4, 8.0, and 8.1 are available from the PHP security team.

If immediate patching is not feasible, these temporary measures may reduce exposure to specific attack paths but do not provide complete protection. For CVE-2026-109618, set memory_limit=-1 at an administrative level, set post_max_size to 8M or 32M if uploads are needed, keep upload_max_filesize below it, and enforce request limits at the web server or proxy. Container or cgroup limits can serve as an availability boundary, but RLIMIT_AS and RLIMIT_DATA should not bound memory because they make mmap() fail and trigger the vulnerable path.

For CVE-2026-109619, set session.upload_progress.enabled=0 and restart all workers, set fatal_error_backtraces=0 on PHP 8.5, and remove per-request settings that emit diagnostics before initialization. Remediate attacker-reachable fatal errors and timeouts. System owners can limit impact through network segmentation and minimum necessary privileges, and users are advised to monitor for unusual PHP process behavior or unexpected memory allocation patterns.

Blog post, originally published by Molly Jaconski at kb.cert.org.

Structured data (JSON-LD)

The schema.org markup this page publishes for search engines and AI agents, exactly as they read it.

[
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/#website",
    "@type": "WebSite",
    "name": "Decision Insights",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://decisioninsights.ai/search/?q={search_term_string}&submit=1"
      }
    },
    "publisher": {
      "@id": "https://decisioninsights.ai/#organization"
    },
    "url": "https://decisioninsights.ai"
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/#organization",
    "@type": "Organization",
    "contactPoint": {
      "@type": "ContactPoint",
      "contactType": "customer support",
      "email": "[email protected]"
    },
    "description": "Decision Insights is a Registry of technology companies, open source projects, and industry terms, built for people and for AI agents that need sourced, structured information.",
    "logo": {
      "@type": "ImageObject",
      "url": "https://wiretap-cdn-assets.nyc3.cdn.digitaloceanspaces.com/decision-insights/[email protected]"
    },
    "name": "Decision Insights",
    "parentOrganization": {
      "@type": "Organization",
      "name": "Wiretap Labs",
      "sameAs": [
        "https://www.linkedin.com/company/wiretap-labs",
        "https://www.crunchbase.com/organization/wiretap-labs"
      ],
      "url": "https://wiretaplabs.com"
    },
    "publishingPrinciples": "https://decisioninsights.ai/standards/",
    "sameAs": [
      "https://www.linkedin.com/company/decisioninsights"
    ],
    "url": "https://decisioninsights.ai"
  },
  {
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai",
        "name": "Decision Insights",
        "position": 1
      },
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai/records/",
        "name": "Records",
        "position": 2
      },
      {
        "@type": "ListItem",
        "item": "https://decisioninsights.ai/php-memory-flaws-may-allow-remote-code-execution/",
        "name": "PHP memory flaws may allow remote code execution",
        "position": 3
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/php-memory-flaws-may-allow-remote-code-execution/#blogposting",
    "@type": "BlogPosting",
    "about": {
      "@id": "https://decisioninsights.ai/registry/the-php-foundation/#organization",
      "@type": "Organization",
      "mainEntityOfPage": "https://decisioninsights.ai/registry/the-php-foundation/",
      "name": "The PHP Foundation"
    },
    "audience": [
      {
        "@type": "Audience",
        "additionalType": "Seniority",
        "audienceType": "Staff"
      },
      {
        "@type": "Audience",
        "additionalType": "Job function",
        "audienceType": "Cybersecurity / Information Security"
      },
      {
        "@type": "Audience",
        "additionalType": "Persona",
        "audienceType": "Security Operations Practitioner"
      },
      {
        "@type": "Audience",
        "additionalType": "Buyer role",
        "audienceType": "Technical Implementer / Administrator"
      },
      {
        "@type": "Audience",
        "additionalType": "Adoption curve",
        "audienceType": "Early Majority"
      },
      {
        "@type": "Audience",
        "additionalType": "Technology maturity",
        "audienceType": "Established Technology"
      },
      {
        "@type": "Audience",
        "additionalType": "Industry",
        "audienceType": "Information Technology / Cybersecurity / Exposure, Risk & Governance / Vulnerability Management & Attack Surface Management"
      }
    ],
    "author": {
      "@id": "https://decisioninsights.ai/author/decision-insights-threat-desk/#person",
      "@type": "Person",
      "name": "Decision Insights Threat Desk",
      "url": "https://decisioninsights.ai/author/decision-insights-threat-desk/"
    },
    "dateModified": "2026-10-22T19:07:52-06:00",
    "datePublished": "2026-10-22T19:07:47-06:00",
    "description": "CERT/CC reports two PHP memory corruption vulnerabilities affecting versions before 8.2.35, 8.3.36, 8.4.27, and 8.5.12, with patched releases available.",
    "headline": "PHP memory flaws may allow remote code execution",
    "isBasedOn": {
      "@type": "CreativeWork",
      "author": {
        "@type": "Person",
        "name": "Molly Jaconski"
      },
      "sourceOrganization": {
        "@id": "https://decisioninsights.ai/registry/department-of-homeland-security/#organization",
        "@type": "Organization",
        "mainEntityOfPage": "https://decisioninsights.ai/registry/department-of-homeland-security/",
        "name": "Department of Homeland Security"
      },
      "url": "https://kb.cert.org/vuls/id/763488"
    },
    "keywords": [
      "Attack",
      "Data",
      "Vulnerabilities"
    ],
    "mainEntityOfPage": {
      "@id": "https://decisioninsights.ai/php-memory-flaws-may-allow-remote-code-execution/",
      "@type": "WebPage",
      "sdDatePublished": "2026-10-23",
      "sdPublisher": {
        "@id": "https://decisioninsights.ai/#organization"
      }
    },
    "mentions": [
      {
        "@id": "https://decisioninsights.ai/registry/data/#organization",
        "@type": "Organization",
        "mainEntityOfPage": "https://decisioninsights.ai/registry/data/",
        "name": "Data"
      },
      {
        "@id": "https://decisioninsights.ai/registry/services/#organization",
        "@type": "Organization",
        "mainEntityOfPage": "https://decisioninsights.ai/registry/services/",
        "name": "services"
      },
      {
        "@id": "https://decisioninsights.ai/registry/the-php-foundation/#organization",
        "@type": "Organization",
        "mainEntityOfPage": "https://decisioninsights.ai/registry/the-php-foundation/",
        "name": "The PHP Foundation"
      },
      {
        "@id": "https://decisioninsights.ai/registry/touch/#organization",
        "@type": "Organization",
        "mainEntityOfPage": "https://decisioninsights.ai/registry/touch/",
        "name": "touch"
      },
      {
        "@id": "https://decisioninsights.ai/projects/php/#project",
        "@type": "SoftwareSourceCode",
        "mainEntityOfPage": "https://decisioninsights.ai/projects/php/",
        "name": "PHP"
      }
    ],
    "publisher": {
      "@id": "https://decisioninsights.ai/#organization"
    }
  },
  {
    "@context": "https://schema.org",
    "@id": "https://decisioninsights.ai/author/decision-insights-threat-desk/#person",
    "@type": "Person",
    "description": "CISA advisories, vendor security bulletins, and CVE disclosures, summarized into sourced briefs. Produced under our Standards & Methodology.",
    "name": "Decision Insights Threat Desk",
    "sameAs": [
      "https://www.linkedin.com/showcase/decisioninsights/"
    ],
    "url": "https://decisioninsights.ai/author/decision-insights-threat-desk/"
  }
]

Is this your company? Get structured data for your own pages