CVE-2016-4861 json
Zend Framework Allows SQL Injection
published 2017-02-16 9 y ago modified 2026-06-17 4 mo ago also GHSA-xfjq-w3cw-h5fq , EUVD-2022-5773
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.1%
- EPSS 4.1% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
The (1) order and (2) group methods in Zend_Db_Select in the Zend Framework before 1.12.20 might allow remote attackers to conduct SQL injection attacks by leveraging failure to remove comments from an SQL statement before validation.
Patch / fix
- packagist zendframework/zendframework 1.12.20
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-4861 updated cvss 8.1
ZendFramework: SQL injection vulnerability
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.12% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- framework.zend.com https://framework.zend.com/security/advisory/ZF2016-03 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | zendframework/zendframework | <1.12.20 |
1.12.20 |
Classification
- Weakness
-
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
References
-
framework.zend.com
/security/advisory/ZF2016-03
web, exploit, technical-description, vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/UR5HXNGIUSSIZKMSZYMPBEPZEZTYFTIT/
vendor-advisory
-
security.gentoo.org
/glsa/201804-10
vendor-advisory, web
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/2JUKFTI6ABK7ZN7IEAGPCLAHCFANMID2/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/N27AV6AL6B4KGEP3VIMIHQ5LFAKF5FTU/
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2018/06/msg00012.html
mailing-list, web
-
jvndb.jvn.jp
/jvndb/JVNDB-2016-000158
third-party-advisory, web, vdb-entry
-
jvn.jp
/en/jp/JVN18926672/index.html
third-party-advisory, web, vdb-entry
-
nvd.nist.gov
/vuln/detail/CVE-2016-4861
advisory
-
github.com
/zendframework/zendframework
package
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/2JUKFTI6ABK7ZN7IEAGPCLAHCFANMID2
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/N27AV6AL6B4KGEP3VIMIHQ5LFAKF5FTU
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/UR5HXNGIUSSIZKMSZYMPBEPZEZTYFTIT
web
Sources
- CVE List CVE-2016-4861
- GitHub Advisory GHSA-xfjq-w3cw-h5fq
- NVD CVE-2016-4861
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.