# CVE-2026-14355: ext/openssl: Memory corruption in openssl_encrypt with AES-WRAP-PAD

> A buffer allocation flaw in PHP's OpenSSL extension allows heap corruption and application abort when using AES-WRAP-PAD encryption.

- **Severity:** Medium 5.6 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 3 Jul 2026
- **Updated:** 6 Jul 2026
- **Also known as:** ALSA-2026:40416, ALSA-2026:47749, ALSA-2026:47750, ALSA-2026:49914, AZL-92001, BELL-CVE-2026-14355, BIT-libphp-2026-14355, BIT-php-2026-14355, BIT-php-min-2026-14355, CLSA-2026-1790263653, DEBIAN-CVE-2026-14355, ECHO-0120-92a1-42e7, MGASA-2026-0274, MGASA-2026-0285, MINI-4xph-8vj2-fgv5, MINI-hfwc-j37x-9449, MINI-qw67-g3f3-h5m6, MINI-rr96-j824-g5c3, OESA-2026-3048, OESA-2026-3052, RHSA-2026:34164, RHSA-2026:40416, RHSA-2026:47749, RHSA-2026:47750, RHSA-2026:48170, RHSA-2026:48197, RHSA-2026:49914, RLSA-2026:40416, RLSA-2026:47749, RLSA-2026:47750, RLSA-2026:48170, RLSA-2026:48197, RLSA-2026:49914, SUSE-SU-2026:3165-1, UBUNTU-CVE-2026-14355

## What is CVE-2026-14355?

CVE-2026-14355 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 3 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-122 (Heap-based Buffer Overflow)

## Which versions are affected by CVE-2026-14355?

3 open source packages ship an affected version, including libphp, php and php-min. It affects 2 products.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `libphp` | Bitnami | From 8.2.0 | 8.2.32, 8.3.32, 8.4.23, 8.5.8 |
| `php` | Bitnami | From 8.2.0 | 8.2.32, 8.3.32, 8.4.23, 8.5.8 |
| `php-min` | Bitnami | From 8.2.0 | 8.2.32, 8.3.32, 8.4.23, 8.5.8 |
| `php8.4` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-bcmath` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-cli` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-common` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-dba` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-dbg` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-devel` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-embedded` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-enchant` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-ffi` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-fpm` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-gd` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-gmp` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-intl` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-ldap` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-mbstring` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-mysqlnd` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-odbc` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-opcache` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-pdo` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-pgsql` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-process` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-snmp` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-soap` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `php8.4-xml` | AlmaLinux:10 | All versions | 8.4.23-1.el10_2 |
| `apcu-panel` | AlmaLinux:8 | All versions | 5.1.18-1.module_el8.6.0+2750+78feabcb |
| `apcu-panel` | AlmaLinux:8 | All versions | 5.1.23-1.module_el8.10.0+3796+30ed3ef7 |
| `libzip` | AlmaLinux:8 | All versions | 1.6.1-1.module_el8.10.0+3935+28808425 |
| `libzip` | AlmaLinux:8 | All versions | 1.6.1-1.module_el8.6.0+2750+78feabcb |
| `libzip` | AlmaLinux:8 | All versions | 1.6.1-1.module_el8.6.0+3239+bedf0508 |
| `libzip` | AlmaLinux:8 | All versions | 1.7.3-1.module_el8.10.0+3796+30ed3ef7 |
| `libzip-devel` | AlmaLinux:8 | All versions | 1.6.1-1.module_el8.10.0+3935+28808425 |
| `libzip-devel` | AlmaLinux:8 | All versions | 1.6.1-1.module_el8.6.0+3239+bedf0508 |
| `libzip-devel` | AlmaLinux:8 | All versions | 1.7.3-1.module_el8.10.0+3796+30ed3ef7 |
| `libzip-tools` | AlmaLinux:8 | All versions | 1.6.1-1.module_el8.10.0+3935+28808425 |
| `libzip-tools` | AlmaLinux:8 | All versions | 1.6.1-1.module_el8.6.0+2750+78feabcb |
| `libzip-tools` | AlmaLinux:8 | All versions | 1.6.1-1.module_el8.6.0+3239+bedf0508 |

Products: Debian Debian Linux, Php Php.

## How do I fix CVE-2026-14355?

Upgrade libphp to a fixed version for your release line: 8.2.32, 8.3.32, 8.4.23 or 8.5.8.

## Is CVE-2026-14355 being exploited?

There is no known exploitation of CVE-2026-14355 in the wild and no public exploit code.

## Other vulnerabilities in Debian Debian Linux

- [CVE-2015-3306](https://insights.sbomify.com/CVE-2015-3306/): ProFTPD Improper Access Control (critical 10.0, exploited in the wild)
- [CVE-2025-49113](https://insights.sbomify.com/CVE-2025-49113/): RoundCube Webmail Deserialization of Untrusted Data (critical 9.9, exploited in the wild)
- [CVE-2026-24061](https://insights.sbomify.com/CVE-2026-24061/): GNU InetUtils Argument Injection (critical 9.8, exploited in the wild)
- [CVE-2025-39682](https://insights.sbomify.com/CVE-2025-39682/): Linux Kernel Improper Check for Unusual or Exceptional Conditions (critical 9.8, exploited in the wild)
- [CVE-2024-9680](https://insights.sbomify.com/CVE-2024-9680/): Mozilla Firefox Use-After-Free (critical 9.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-14355 and fix it if it is affected.

What it is: CVE-2026-14355 is a medium-severity memory corruption vulnerability in Debian Debian Linux, published on 3 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-14355 in the wild and no public exploit code.

Affected packages and fixed versions:
- libphp (Bitnami): affected from 8.2.0; fixed in 8.2.32, 8.3.32, 8.4.23, 8.5.8
- php (Bitnami): affected from 8.2.0; fixed in 8.2.32, 8.3.32, 8.4.23, 8.5.8
- php-min (Bitnami): affected from 8.2.0; fixed in 8.2.32, 8.3.32, 8.4.23, 8.5.8

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-14355/ (Markdown: https://insights.sbomify.com/CVE-2026-14355/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-14355
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-14355
- OSV: https://osv.dev/vulnerability/CVE-2026-14355

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-14355/
Summaries are generated and may contain mistakes; the official description above is the record.
