Home / laminas / laminas-diactoros / CVE-2023-29530
CVE-2023-29530: is it exploited, and which versions of laminas-diactoros are affected and fixed?
CVE-2023-29530 is an improper input validation vulnerability in laminas-diactoros. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: laminas/laminas-diactoros before 2.18.1, laminas/laminas-diactoros from 2.19.0 before 2.19.1, laminas/laminas-diactoros from 2.20.0 before 2.20.1 and 5 more (GitHub advisory GHSA-xv3h-4844-9h36). Fixed in 2.18.1, 2.19.1, 2.20.1, 2.21.1 and 2 more (GitHub advisory GHSA-xv3h-4844-9h36). Severity: High (7.5, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:39 UTC.
What is CVE-2023-29530?
Laminas Diactoros vulnerable to HTTP Multiline Header Termination
Laminas Diactoros provides PSR HTTP Message implementations. In versions 2.18.0 and prior, 2.19.0, 2.20.0, 2.21.0, 2.22.0, 2.23.0, 2.24.0, and 2.25.0, users who create HTTP requests or responses using laminas/laminas-diactoros, when providing a newline at the start or end of a header key or value, can cause an invalid message. This can lead to denial of service vectors or application errors. The problem has been patched in following versions 2.18.1, 2.19.1, 2.20.1, 2.21.1, 2.22.1, 2.23.1, 2.24.1, and 2.25.1. As a workaround, validate HTTP header keys and/or values, and if using user-supplied values, filter them to strip off leading or trailing newline characters before calling `withHeader()`.
From the CVE record by GitHub_M, last updated February 13, 2025, 16:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| laminas | laminas-diactoros | < 2.18.1 = 2.19.0 = 2.20.0 = 2.21.0 = 2.22.0 = 2.23.0 = 2.24.0 = 2.25.0 |
As the CVE record by GitHub_M states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | laminas/laminas-diactoros | < 2.18.1 | 2.18.1 | GHSA-xv3h-4844-9h36 |
| Packagist | laminas/laminas-diactoros | >= 2.19.0, < 2.19.1 | 2.19.1 | GHSA-xv3h-4844-9h36 |
| Packagist | laminas/laminas-diactoros | >= 2.20.0, < 2.20.1 | 2.20.1 | GHSA-xv3h-4844-9h36 |
| Packagist | laminas/laminas-diactoros | >= 2.21.0, < 2.21.1 | 2.21.1 | GHSA-xv3h-4844-9h36 |
| Packagist | laminas/laminas-diactoros | >= 2.22.0, < 2.22.1 | 2.22.1 | GHSA-xv3h-4844-9h36 |
| Packagist | laminas/laminas-diactoros | >= 2.23.0, < 2.23.1 | 2.23.1 | GHSA-xv3h-4844-9h36 |
| Packagist | laminas/laminas-diactoros | >= 2.24.0, < 2.24.2 | 2.24.2 | GHSA-xv3h-4844-9h36 |
| Packagist | laminas/laminas-diactoros | >= 2.25.0, < 2.25.2 | 2.25.2 | GHSA-xv3h-4844-9h36 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 28, 2023. Summary: HTTP Multiline Header Termination.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| getlaminas | laminas-diactoros | before 2.18.1 | application |
| getlaminas | laminas-diactoros | 2.19.0 | application |
| getlaminas | laminas-diactoros | 2.20.0 | application |
| getlaminas | laminas-diactoros | 2.21.0 | application |
| getlaminas | laminas-diactoros | 2.22.0 | application |
| getlaminas | laminas-diactoros | 2.23.0 | application |
| getlaminas | laminas-diactoros | 2.24.0 | application |
| getlaminas | laminas-diactoros | 2.25.0 | application |
| guzzlephp | psr-7 | before 1.9.1 | application |
| guzzlephp | psr-7 | from 2.0.0 before 2.4.5 | application |
| fedoraproject | fedora | 38 | operating system |
NVD analysis (status Modified), last modified June 17, 2026, 05:50 UTC.
How severe is CVE-2023-29530?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | GitHub_M |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-29530 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, February 12, 2025)
- EPSS
- 0.97% probability of exploitation activity in the next 30 days, percentile 62.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
Where are the vendor advisories and references?
- https://github.com/laminas/laminas-diactoros/security/advisories/GHSA-xv3h-4844-9h36 x_refsource_CONFIRM
- https://github.com/advisories/GHSA-wxmh-65f7-jcvw x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BPW54QK7ISDALPLP2CKODU4ZIVRYS336/
When was it published, and where is the official record?
- Reserved
- April 7, 2023
- Published
- April 24, 2023, 19:34 UTC
- CVE record updated
- February 13, 2025, 16:49 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 05:50 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:39 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect laminas-diactoros?
- Aug 1, 2022CVE-2022-31109 laminas-diactoros: cross-site scripting (XSS)
Every CVE in laminas-diactoros
Questions about CVE-2023-29530
Is CVE-2023-29530 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.97% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of laminas-diactoros are affected by CVE-2023-29530?
laminas/laminas-diactoros before 2.18.1, laminas/laminas-diactoros from 2.19.0 before 2.19.1, laminas/laminas-diactoros from 2.20.0 before 2.20.1, laminas/laminas-diactoros from 2.21.0 before 2.21.1, laminas/laminas-diactoros from 2.22.0 before 2.22.1, laminas/laminas-diactoros from 2.23.0 before 2.23.1 and 2 more, per the GitHub advisory GHSA-xv3h-4844-9h36. The tables above give every range the sources list.
Which version fixes CVE-2023-29530?
2.18.1, 2.19.1, 2.20.1, 2.21.1, 2.22.1 and 2.23.1, per the GitHub advisory GHSA-xv3h-4844-9h36. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-29530?
High (7.5, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2023-29530?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.