# CVE-2023-30536: php-slim-psr7: slim/psr7 is a PSR-7 implementation for use with Slim 4

CVE-2023-30536 is fixed in 2 products on 1 platform, first by DEBIAN-CVE-2023-30536, released April 17, 2023. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2023-30536
- Priority: Routine
- CVSS: 6.5 (medium)
- EPSS: 0.0074
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 17, 2023

## Description

slim/psr7 is a PSR-7 implementation for use with Slim 4. In versions prior to 1.6.1 an attacker could sneak in a newline (\n) into both the header names and values. While the specification states that \r\n\r\n is used to terminate the header list, many servers in the wild will also accept \n\n. An attacker that is able to control the header names that are passed to Slilm-Psr7 would be able to intentionally craft invalid messages, possibly causing application errors or invalid HTTP requests being sent out with an PSR-18 HTTP client. The latter might present a denial of service vector if a remote service’s web application firewall bans the application due to the receipt of malformed requests. The issue has been patched in version 1.6.1. There are no known workarounds to this issue. Users are advised to upgrade.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | php-slim-psr7 Debian 12.15 (bookworm) | 1.6.1-1 | [DEBIAN-CVE-2023-30536](https://patchblox.com/security/data/fix/linux/debian-cve-2023-30536.md) | Apr 17, 2023 |
| Linux | php-slim-psr7 Debian 13.5 (trixie) | 1.6.1-1 | [DEBIAN-CVE-2023-30536](https://patchblox.com/security/data/fix/linux/debian-cve-2023-30536.md) | Apr 17, 2023 |
| Linux | php-slim-psr7 Debian 14 | 1.6.1-1 | [DEBIAN-CVE-2023-30536](https://patchblox.com/security/data/fix/linux/debian-cve-2023-30536.md) | Apr 17, 2023 |
| Linux | phpMyAdmin opensuse-leap 15.6 | 5.2.2-bp156.4.3.1 | [OPENSUSE-SU-2025:0081-1](https://patchblox.com/security/data/fix/linux/opensuse-su-2025-0081-1.md) | Mar 3, 2025 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
