CVE-2016-4000
Deserialization of Untrusted Data in Jython
CVE-2016-4000 is a critical vulnerability (CVSS 9.8) in Jython Project Jython, published June 17, 2017. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 6.21%, the 93rd percentile. Fixed in org.python:jython-standalone 2.7.1b3.
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
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
What each source reports
NVD Score used
9.8
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
- Record
CVE-2016-4000- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 7.5 High
AV:N/AC:L/Au:N/C:P/I:P/A:P - Weakness
- CWE-502
- Updated
- 2026-11-02
CVE List No score
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
- Record
CVE-2016-4000- Updated
- 2026-11-02
EUVDEUVD-2022-2855 No score
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
- Record
EUVD-2022-2855- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-6r7r-jj8h-pq6v
9.8
Deserialization of Untrusted Data in Jython
Jython before 2.7.1b3 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
- Record
GHSA-6r7r-jj8h-pq6v- CVSS 3.0
- 9.8 Critical
CVSS: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
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
- Record
CVE-2016-4000- CVSS 3.0
- 9.8 Critical
CVSS: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-4000
9.8
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
- Record
DEBIAN-CVE-2016-4000- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVGHSA-6r7r-jj8h-pq6v
9.8
Deserialization of Untrusted Data in Jython
Jython before 2.7.1b3 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
- Record
GHSA-6r7r-jj8h-pq6v- CVSS 3.0
- 9.8 Critical
CVSS: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
OSVUBUNTU-CVE-2016-4000
9.8
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
- Record
UBUNTU-CVE-2016-4000- CVSS 3.0
- 9.8 Critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.python:jython-standaloneMaven |
before 2.7.1b3 | 2.7.1b3 |
org.python:jythonMaven |
before 2.7.1b3 | 2.7.1b3 |
jythonDebian:12 |
before 2.5.3-17 | 2.5.3-17 |
jythonDebian:13 |
before 2.5.3-17 | 2.5.3-17 |
jythonDebian:14 |
before 2.5.3-17 | 2.5.3-17 |
jythonDebian:7 |
before 2.5.2-1+deb7u1, plus listed versions 2.5.2-1 |
2.5.2-1+deb7u1 |
jythonDebian:8 |
before 2.5.3-3+deb8u1, plus listed versions 2.5.3-3 |
2.5.3-3+deb8u1 |
jythonDebian:9 |
before 2.5.3-16+deb9u1, plus listed versions 2.5.3-16 |
2.5.3-16+deb9u1 |
org.python:jython-standaloneMaven |
before 2.7.1b3, plus listed versions 2.5.12.5.22.5.32.5.3-rc12.5.4-rc1 Show 10 moreShow less2.7-b12.7-b22.7-b32.7-b42.7-rc12.7-rc22.7-rc32.7.02.7.1b12.7.1b2 |
2.7.1b3 |
org.python:jythonMaven |
before 2.7.1b3, plus listed versions 2.22.2-beta12.2-beta22.2-rc12.2-rc3 Show 15 moreShow less2.2.12.5.02.5.32.5.3-rc12.5.4-rc12.7-b12.7-b22.7-b32.7-b42.7-rc12.7-rc22.7-rc32.7.02.7.1b12.7.1b2 |
2.7.1b3 |
jythonUbuntu:14.04:LTS |
before 2.5.3-1ubuntu0.1, plus listed versions 2.5.2-22.5.3-1 |
2.5.3-1ubuntu0.1 |
jythonUbuntu:16.04:LTS |
before 2.5.3-9ubuntu0.1, plus listed versions 2.5.3-62.5.3-72.5.3-82.5.3-9 |
2.5.3-9ubuntu0.1 |
History
| When | Changed | Sources |
|---|---|---|
| 2026-11-03 | aliases | EUVD |
| 2026-11-02 | created | CVE List, GitHub Advisories, NVD, OSV |
References
debian.org/security/2017/dsa-3893
security.gentoo.org/glsa/201710-28
securityfocus.com/bid/105647
lists.apache.org/thread.html/0919ec1db20b1022f22b8e78f355667df74d6142b463ff17d03ad533%40%3Cdevnull.infra.apache.org%3E
oracle.com/security-alerts/cpuapr2020.html
oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
Show 18 moreShow less
oracle.com/security-alerts/cpujul2020.html
oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
oracle.com/security-alerts/cpujan2020.html
security-tracker.debian.org/tracker/CVE-2016-4000
hg.python.org/jython/rev/d06e29d100c0
snyk.io/vuln/SNYK-JAVA-ORGPYTHON-31451
bugs.jython.org/issue2454
hg.python.org/jython/file/v2.7.1rc1/NEWS
bugs.debian.org/cgi-bin/bugreport.cgi?bug=864859
nvd.nist.gov/vuln/detail/CVE-2016-4000
lists.apache.org/thread.html/0919ec1db20b1022f22b8e78f355667df74d6142b463ff17d03ad533@%3Cdevnull.infra.apache.org%3E
github.com/jython/jython/commit/ee4200fdd5385d3f74a5cf1a781fa52d33bbb274
github.com/advisories/GHSA-6r7r-jj8h-pq6v
github.com/jython/jython
ubuntu.com/security/CVE-2016-4000
cve.org/CVERecord?id=CVE-2016-4000