CVE-2021-3007Laminas-HTTP Insecure Deserialization
Remote code execution in zendframework and laminas-http
Published Jan 4, 2021 · Updated Oct 24, 2026 · Also known as CLSA-2026-1779151616, CLSA-2026-1782867594, CLSA-2026-1783645389, GHSA-xx8f-qf9f-5fgw
Key Facts
Patch immediately- CVE-2021-3007 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Laminas-HTTP (Getlaminas), Zend Framework, laminas/laminas-http (composer) and 2 more products.
- It is exploited in the wild, listed in Industry KEV feed since Jan 14, 2021. No public exploit code is known.
- EPSS estimates a 75% probability of exploitation in the next 30 days.
- Fixed versions are available, including Laminas-HTTP 2.14.2, laminas/laminas-http 2.14.2, laminas/laminas-http 2.5.6-p1+tuxcare.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Scores
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
75%
Higher than 99.6% of all scored CVEs
Exploit maturity
Exploited (KEV)
ATLAS score
71/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Jan 14, 2021
10 days after publication
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
Exploited (KEV)
Public exploit code
1
Proof-of-concept links
In-the-wild evidence
6
Reports of active use
Advisories And Exploit References
- advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2021-3007
- advisoryGHSA advisory
- advisoryhttps://github.com/laminas/laminas-http/releases/tag/2.14.2
- advisoryhttps://research.checkpoint.com/2021/freakout-leveraging-newest-vulnerabilities-for-creating-a-botnet
- patchhttps://github.com/laminas/laminas-http/commits/2.15.x/src/Response/Stream.php
- patchhttps://github.com/laminas/laminas-http/pull/48
Description
Laminas Project laminas-http before 2.14.2, and Zend Framework 3.0.0, has a deserialization vulnerability that can lead to remote code execution if the content is controllable, related to the __destruct method of the Zend\Http\Response\Stream class in Stream.php. NOTE: Zend Framework is no longer supported by the maintainer.
NOTE: the laminas-http vendor considers this a "vulnerability in the PHP language itself" but has added certain type checking as a way to prevent exploitation in (unrecommended) use cases where attacker-supplied data can be deserialized
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Jan 14, 2021 | n/a | Not reported |
Affected Products
5 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| Laminas-HTTPGetlaminas | See advisory | 2.14.2 |
| Zend FrameworkZend | 3.0.0 | n/a |
| laminas/laminas-httpcomposer | See advisory | 2.14.2 |
| zendframework/zendframeworkcomposer | See advisory | 2.4.13-p1+tuxcare |
| zendframework/zend-httptuxcare | >= 2.5.6 | 2.5.6-p1+tuxcare |
Patched Releases
Laminas-HTTP
2.14.2
laminas/laminas-http
2.14.2, 2.5.6-p1+tuxcare
zendframework/zend-http
2.5.6-p1+tuxcare
zendframework/zendframework
2.4.13-p1+tuxcare
Timeline
Publicly disclosed
Jan 4, 2021
Added to Industry KEV feed
Jan 14, 2021
Last updated
Oct 24, 2026
Weakness Type
- CWE-502 Deserialization of Untrusted Data
References
- advisorynvd.nist.gov · CVE-2021-3007
- advisoryGHSA advisory
- advisorygithub.com · 2.14.2
- advisoryresearch.checkpoint.com · freakout-leveraging-newest-vulnerabilities-for-…
- patchgithub.com · Stream.php
FAQ
Common Questions.
Laminas Project laminas-http before 2.14.2, and Zend Framework 3.0.0, has a deserialization vulnerability that can lead to remote code execution if the content is controllable, related to the destruct method of the Zend\Http\Response\Stream class in Stream.php.
Affected: Laminas-HTTP (Getlaminas); Zend Framework versions 3.0.0; laminas/laminas-http (composer), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Jan 14, 2021.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Laminas-HTTP 2.14.2, laminas/laminas-http 2.14.2, laminas/laminas-http 2.5.6-p1+tuxcare.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2021-3007 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo