Skip to main content

PHP CVE-2026-14355

| EUVDEUVD-2026-41609 MEDIUM
Heap-based Buffer Overflow (CWE-122)
2026-07-03 php
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify PHP endpoint invoking AES-WRAP-PAD with external input
  2. Delivery
    Submit crafted plaintext to key-wrap operation
  3. Exploit
    Trigger undersized heap buffer allocation in OpenSSL extension
  4. Execution
    OpenSSL writes RFC 5649 padded output beyond buffer boundary
  5. Persist
    Heap metadata corrupted
  6. Impact
    PHP worker process aborts

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the PHP application explicitly uses the AES key-wrap-with-padding algorithm via the OpenSSL extension - specifically, that openssl_encrypt() or openssl_decrypt() is called with a cipher mode of aes-128-wrap-pad, aes-192-wrap-pad, or aes-256-wrap-pad, and that the attacker can supply or influence the plaintext argument to that call. This is a non-default, application-specific code path; AES-WRAP-PAD is not invoked by any standard PHP framework or CMS operation automatically. High attack complexity (AC:H in CVSS) reflects this dependency. No authentication is required at the network or PHP engine level (PR:N), but the application must expose this code path to external input, which is uncommon. PHP applications that do not use AES key-wrap-with-padding operations are completely unaffected regardless of PHP version.

Impact

The CVSS 5.6 Medium score is derived from the vector AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L. The high attack complexity (AC:H) is the dominant mitigating factor: an attacker must reach a specific application code path that invokes AES-WRAP-PAD with attacker-influenced plaintext - a non-default, non-ubiquitous usage pattern. The C:L/I:L/A:L triple impact is credible: heap corruption can leak adjacent memory contents (partial confidentiality), corrupt in-process data structures (partial integrity), and most reliably cause process abort (availability). In practice, denial-of-service is the most realistic outcome; reliable code execution via heap corruption in modern hardened environments is significantly harder than the CVSS score implies. No EPSS score was available in the provided data; no CISA KEV listing and no public exploit code are identified, consistent with an opportunistic-exploitation risk being low. However, PHP is ubiquitously deployed, so even a medium-severity flaw with narrow exploitability merits prompt patching during the next maintenance window. Security teams should prioritize applications that expose key-wrapping functionality to external input.

Exploit ScenarioDerived

An attacker targets a PHP web application that accepts user-supplied cryptographic material - for example, a key-management API endpoint that wraps submitted key bytes using openssl_encrypt() with an aes-256-wrap-pad cipher. By submitting a crafted plaintext payload, the attacker causes the PHP OpenSSL extension to allocate an undersized heap buffer and trigger an overflow when OpenSSL writes the RFC 5649-padded output, corrupting heap metadata and aborting the PHP-FPM worker process, resulting in a denial of service for concurrent requests handled by that worker.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 03, 2026

Heap-based buffer overflow in PHP's OpenSSL extension affects all maintained PHP branches (8.2.x, 8.3.x, 8.4.x, 8.5.x) when the AES key-wrap-with-padding (AES-WRAP-PAD) algorithm per RFC 5649 is invoked. The output buffer is allocated based only on plaintext length, omitting the mandatory RFC 5649 padding expansion, causing OpenSSL to write beyond the allocated heap region, corrupt heap metadata, and abort the process. No public exploit has been identified at time of analysis; vendor-released patches are available for all affected branches.

RemediationAI

Upgrade PHP to the patched releases: 8.2.32, 8.3.32, 8.4.23, or 8.5.8, as applicable to the installed branch, per the vendor advisory at https://github.com/php/php-src/security/advisories/GHSA-7jrw-539f-x6vr. Patch is available from the vendor (php.net and distribution package managers). If immediate upgrading is not feasible, the most targeted compensating control is to audit and disable application-level use of AES-WRAP-PAD cipher modes (aes-128-wrap-pad, aes-192-wrap-pad, aes-256-wrap-pad) in openssl_encrypt() and openssl_decrypt() calls; note this will break any key-wrapping features relying on RFC 5649 and is only viable if those features can be temporarily suspended. PHP applications that do not invoke AES key-wrap-with-padding operations are not exposed to this flaw regardless of PHP version, so a code audit to confirm usage can help scope the actual risk before patching is scheduled.

Affected VersionsENISA

PHP 8.3.0 <8.3.32
PHP 8.4.0 <8.4.23
PHP 8.5.0 <8.5.8
PHP 8.2.0 <8.2.32

Affected Packages

euvd php fix: 8.2.32, 8.3.32, 8.4.23, 8.5.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

PHP's built-in OpenSSL extension wraps the system OpenSSL library, exposing cipher operations including AES key-wrap-with-padding (AES-WRAP-PAD) via functions such as openssl_encrypt() and openssl_decrypt() with cipher modes like aes-128-wrap-pad or aes-256-wrap-pad. RFC 5649 defines this algorithm to pad the plaintext to a multiple of 8 bytes and prepend an 8-byte integrity check value, meaning the ciphertext output is always larger than the plaintext. The flaw (CWE-122, Heap-based Buffer Overflow) is a classic size-miscalculation: the PHP extension allocates the output buffer using only the plaintext length, ignoring the expansion bytes that RFC 5649 mandates. When OpenSSL writes the padded, wrapped ciphertext into this undersized buffer, it overflows into adjacent heap memory, corrupting allocator metadata and triggering an application abort. Affected CPE: cpe:2.3:a:php:php:*:*:*:*:*:*:*:* across the 8.2, 8.3, 8.4, and 8.5 major lines.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (php) PRIMARY MEDIUM
NVD 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
vuln.today AI 5.6 MEDIUM

AV:N reflects network-reachable PHP applications; AC:H reflects the requirement for an application-specific AES-WRAP-PAD code path reachable by attacker input; PR:N reflects worst-case unauthenticated exposure; C/I/A:L reflects partial heap-corruption impact with no scope change.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
SUSE 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Red Hat 5.6 MEDIUM

Primary rating from Vendor (php).

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

Lifecycle Timeline

3
CVSS changed
Jul 08, 2026 - 20:22 NVD
5.6 (MEDIUM) 5.3 (MEDIUM)
Patch available
Jul 03, 2026 - 22:01 EUVD
CVE Published
Jul 03, 2026 - 20:57 cve.org
MEDIUM 5.6

DescriptionNVD

In PHP versions 8.2.* before 8.2.32, 8.3.* before 8.3.32, 8.4.* before 8.4.23, 8.5.* before 8.5.8, the AES-WRAP-PAD algorithm implementation in OpenSSL extension contains a buffer allocation flaw. The output buffer for the AES key-wrap-with-padding operation is sized from the plaintext length without accounting for RFC 5649 expansion. This may cause OpenSSL to write beyond allocated memory, corrupting heap metadata and triggering application abort.

Threat Intelligence Overview

EPSS Score
0.3%
Top 84% exploitable
Prevalence
Ubiquitous
PHP powers a large fraction of all web servers globally
Social Media
8
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Module for Legacy 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy