Every CVE Search/ Get API key

CVE-2016-6814

Deserialization of Untrusted Data in Groovy

9.8 CriticalFix available

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

17.2%Up 12.5 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 9.8

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Record
CVE-2016-6814
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-502
Updated
2026-11-02
CVE List No score

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Record
CVE-2016-6814
Updated
2026-11-02
EUVDEUVD-2022-5835 No score

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Record
EUVD-2022-5835
Updated
2026-11-03
GitHub AdvisoriesGHSA-xphj-m9cc-8fmq 9.8

Deserialization of Untrusted Data in Groovy

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Record
GHSA-xphj-m9cc-8fmq
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
OSV 9.8

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Record
CVE-2016-6814
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2016-6814 9.8

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Record
DEBIAN-CVE-2016-6814
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 6 moreShow less
OSVGHSA-xphj-m9cc-8fmq 9.8

Deserialization of Untrusted Data in Groovy

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Record
GHSA-xphj-m9cc-8fmq
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-502
Updated
2026-11-02
OSVRHSA-2017:2486 9.6

Red Hat Security Advisory: groovy security update

Record
RHSA-2017:2486
CVSS 3.0
9.6 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2017:2596 9.6

Red Hat Security Advisory: rh-maven33-groovy security update

Record
RHSA-2017:2596
CVSS 3.0
9.6 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2016-6814 9.8

When an application with unsupported Codehaus versions of Groovy from 1.7.0 to 2.4.3, Apache Groovy 2.4.4 to 2.4.7 on classpath uses standard Java serialization mechanisms, e.g. to communicate between servers or to store local data, it was possible for an attacker to bake a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects were subject to this vulnerability.

Record
UBUNTU-CVE-2016-6814
CVSS 3.0
9.8 CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVMGASA-2017-0311 No score

Updated groovy and groovy18 packages fix security vulnerability

It was found that a flaw in Apache groovy library allows remote code execution wherever deserialization occurs in the application. It is possible for an attacker to craft a special serialized object that will execute code directly when deserialized. All applications which rely on serialization and do not isolate the code which deserializes objects are subject to this vulnerability (CVE-2016-6814).

Record
MGASA-2017-0311
Updated
2026-11-02
OSVUSN-4795-1 No score

groovy2 vulnerability

It was discovered that Apache Groovy incorrectly handled serialization mechanisms. An attacker could possibly use this issue to execute arbitrary code.

Record
USN-4795-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.codehaus.groovy:groovy
Maven
1.7.0 to 2.4.7
2.4.8
org.codehaus.groovy:groovy-all
Maven
1.7.0 to 2.4.7
2.4.8
groovy
Debian:12
before 2.4.8-1
2.4.8-1
groovy
Debian:13
before 2.4.8-1
2.4.8-1
groovy
Debian:14
before 2.4.8-1
2.4.8-1
groovy
Debian:7
before 1.8.6-1+deb7u2, plus listed versions
1.8.6-11.8.6-1+deb7u1
1.8.6-1+deb7u2
org.codehaus.groovy:groovy
Maven
1.7.0 up to 2.4.8, plus listed versions
1.7.11.7.101.7.111.7.21.7.3
Show 45 moreShow less
1.7.41.7.51.7.61.7.71.7.81.7.91.8.01.8.0-beta-11.8.0-beta-21.8.0-beta-31.8.0-beta-41.8.0-rc-11.8.0-rc-21.8.0-rc-31.8.0-rc-41.8.11.8.21.8.31.8.41.8.51.8.61.8.71.8.81.8.91.9.0-beta-11.9.0-beta-21.9.0-beta-31.9.0-beta-42.0.02.0.0-beta-12.0.0-beta-22.0.0-beta-32.0.0-rc-12.0.0-rc-22.0.0-rc-32.0.0-rc-42.0.12.0.22.0.32.0.42.0.52.0.62.0.72.0.82.1.0
2.4.8
org.codehaus.groovy:groovy-all
Maven
1.7.0 up to 2.4.8, plus listed versions
1.7.11.7.101.7.111.7.21.7.3
Show 45 moreShow less
1.7.41.7.51.7.61.7.71.7.81.7.91.8.01.8.0-beta-11.8.0-beta-21.8.0-beta-31.8.0-beta-41.8.0-rc-11.8.0-rc-21.8.0-rc-31.8.0-rc-41.8.11.8.21.8.2-jenkins-11.8.31.8.41.8.51.8.61.8.71.8.81.8.91.9.0-beta-11.9.0-beta-21.9.0-beta-31.9.0-beta-42.0.02.0.0-beta-12.0.0-beta-22.0.0-beta-32.0.0-rc-12.0.0-rc-22.0.0-rc-32.0.0-rc-42.0.12.0.22.0.32.0.42.0.52.0.62.0.72.0.8
2.4.8
groovy
Mageia:5
before 1.8.9-5.2.mga5
1.8.9-5.2.mga5
groovy18
Mageia:6
before 1.8.9-26.1.mga6
1.8.9-26.1.mga6
Show 14 moreShow less
Affected packages
PackageAffectedFixed
groovy
Red Hat:enterprise_linux:7::client
before 0:1.8.9-8.el7_4
0:1.8.9-8.el7_4
groovy-javadoc
Red Hat:enterprise_linux:7::client
before 0:1.8.9-8.el7_4
0:1.8.9-8.el7_4
groovy
Red Hat:enterprise_linux:7::computenode
before 0:1.8.9-8.el7_4
0:1.8.9-8.el7_4
groovy-javadoc
Red Hat:enterprise_linux:7::computenode
before 0:1.8.9-8.el7_4
0:1.8.9-8.el7_4
groovy
Red Hat:enterprise_linux:7::server
before 0:1.8.9-8.el7_4
0:1.8.9-8.el7_4
groovy-javadoc
Red Hat:enterprise_linux:7::server
before 0:1.8.9-8.el7_4
0:1.8.9-8.el7_4
groovy
Red Hat:enterprise_linux:7::workstation
before 0:1.8.9-8.el7_4
0:1.8.9-8.el7_4
groovy-javadoc
Red Hat:enterprise_linux:7::workstation
before 0:1.8.9-8.el7_4
0:1.8.9-8.el7_4
rh-maven33-groovy
Red Hat:rhel_software_collections:2::el6
before 0:1.8.9-7.19.el6
0:1.8.9-7.19.el6
rh-maven33-groovy-javadoc
Red Hat:rhel_software_collections:2::el6
before 0:1.8.9-7.19.el6
0:1.8.9-7.19.el6
rh-maven33-groovy
Red Hat:rhel_software_collections:2::el7
before 0:1.8.9-7.19.el7
0:1.8.9-7.19.el7
rh-maven33-groovy-javadoc
Red Hat:rhel_software_collections:2::el7
before 0:1.8.9-7.19.el7
0:1.8.9-7.19.el7
groovy2
Ubuntu:Pro:16.04:LTS
before 2.4.5-1ubuntu0.1~esm1, plus listed versions
2.4.3+dfsg-2ubuntu12.4.3+dfsg-32.4.5-1
2.4.5-1ubuntu0.1~esm1
groovy
Ubuntu:16.04:LTS
All versions, plus listed versions
2.0.0~beta2+isreally1.8.6-4ubuntu1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-6814 is a critical vulnerability (CVSS 9.8) in Apache Groovy, published January 22, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 17.2%, the 97th percentile. Fixed in org.codehaus.groovy:groovy 2.4.8.

References

Show 31 moreShow less
This page doesn't list everything

Left out here: 106 versions. The JSON record has them.

MoveEnter Open