CVE-2023-29530Laminas Diactoros vulnerable to HTTP Multiline Header Termination
- 7.5HighCVSS base score
- 0.97%Exploitation in 30 daysEPSS · top 38% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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()`.
Timeline
ID reserved
By GitHub_M
- 17 days later
· 17 days later
Published
- 22 months later
· 22 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.97% · top 38% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Affected products
- affected < 2.18.1
- affected = 2.19.0
- affected = 2.20.0
- affected = 2.21.0
- affected = 2.22.0
- affected = 2.23.0
- affected = 2.24.0
- affected = 2.25.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistlaminas/laminas-diactorosGHSA-xv3h-4844-9h36 (opens in a new tab)
References
References3
- https://github.com/laminas/laminas-diactoros/security/advisories/GHSA-xv3h-4844-9h36 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/advisories/GHSA-wxmh-65f7-jcvw (opens in a new tab)x_refsource_MISCx_transferred
- https://lists.fedoraproject.org/archives/list/[email protected]/message/BPW54QK7ISDALPLP2CKODU4ZIVRYS336/ (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2023-1431 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-xv3h-4844-9h36 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2023-29530)Record last updated .