{"id":"CVE-2016-4000","aliases":["DEBIAN-CVE-2016-4000","DLA-989-1","DSA-3893-1","EUVD-2022-2855","GHSA-6r7r-jj8h-pq6v","UBUNTU-CVE-2016-4000"],"status":"published","title":"Deserialization of Untrusted Data in Jython","description":"Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.06206,"percentile":0.93564,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-502"],"published":"2017-06-17T00:00:00Z","modified":"2026-09-22T07:00:47Z","fixes":[{"ecosystem":"Maven","package":"org.python:jython-standalone","fixed_in":["2.7.1b3"],"sources":["ghsa","osv"]},{"ecosystem":"Maven","package":"org.python:jython","fixed_in":["2.7.1b3"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"jython","fixed_in":["2.5.3-17"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"jython","fixed_in":["2.5.3-17"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"jython","fixed_in":["2.5.3-17"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"jython","fixed_in":["2.5.2-1+deb7u1"],"sources":["osv"]},{"ecosystem":"Debian:8","package":"jython","fixed_in":["2.5.3-3+deb8u1"],"sources":["osv"]},{"ecosystem":"Debian:9","package":"jython","fixed_in":["2.5.3-16+deb9u1"],"sources":["osv"]},{"ecosystem":"Ubuntu:14.04:LTS","package":"jython","fixed_in":["2.5.3-1ubuntu0.1"],"sources":["osv"]},{"ecosystem":"Ubuntu:16.04:LTS","package":"jython","fixed_in":["2.5.3-9ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"Maven","package":"org.python:jython-standalone","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1b3"}]}]},{"source":"ghsa","ecosystem":"Maven","package":"org.python:jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1b3"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.3-17"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.3-17"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.3-17"}]}]},{"source":"osv","ecosystem":"Debian:7","package":"jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.2-1+deb7u1"}]}],"versions":["2.5.2-1"]},{"source":"osv","ecosystem":"Debian:8","package":"jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.3-3+deb8u1"}]}],"versions":["2.5.3-3"]},{"source":"osv","ecosystem":"Debian:9","package":"jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.3-16+deb9u1"}]}],"versions":["2.5.3-16"]},{"source":"osv","ecosystem":"Maven","package":"org.python:jython-standalone","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1b3"}]}],"versions":["2.5.1","2.5.2","2.5.3","2.5.3-rc1","2.5.4-rc1","2.7-b1","2.7-b2","2.7-b3","2.7-b4","2.7-rc1","2.7-rc2","2.7-rc3","2.7.0","2.7.1b1","2.7.1b2"]},{"source":"osv","ecosystem":"Maven","package":"org.python:jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.7.1b3"}]}],"versions":["2.2","2.2-beta1","2.2-beta2","2.2-rc1","2.2-rc3","2.2.1","2.5.0","2.5.3","2.5.3-rc1","2.5.4-rc1","2.7-b1","2.7-b2","2.7-b3","2.7-b4","2.7-rc1","2.7-rc2","2.7-rc3","2.7.0","2.7.1b1","2.7.1b2"]},{"source":"osv","ecosystem":"Ubuntu:14.04:LTS","package":"jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.3-1ubuntu0.1"}]}],"versions":["2.5.2-2","2.5.3-1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"jython","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.3-9ubuntu0.1"}]}],"versions":["2.5.3-6","2.5.3-7","2.5.3-8","2.5.3-9"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"jython_project","product":"jython"}],"references":[{"url":"http://www.debian.org/security/2017/dsa-3893","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://security.gentoo.org/glsa/201710-28","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","advisory","web"]},{"url":"http://www.securityfocus.com/bid/105647","tags":["vdb-entry","x_refsource_BID","x_transferred","web"]},{"url":"https://lists.apache.org/thread.html/0919ec1db20b1022f22b8e78f355667df74d6142b463ff17d03ad533%40%3Cdevnull.infra.apache.org%3E","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2020.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpujul2020.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html","tags":["x_refsource_MISC","x_transferred","advisory","web"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html","tags":["x_refsource_MISC","x_transferred","advisory","web"]},{"url":"https://www.oracle.com/security-alerts/cpujan2020.html","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2016-4000","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://hg.python.org/jython/rev/d06e29d100c0","tags":["x_refsource_CONFIRM","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGPYTHON-31451","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://bugs.jython.org/issue2454","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"https://hg.python.org/jython/file/v2.7.1rc1/NEWS","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864859","tags":["x_refsource_CONFIRM","x_transferred","Mailing List","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2016-4000","tags":["advisory"]},{"url":"https://lists.apache.org/thread.html/0919ec1db20b1022f22b8e78f355667df74d6142b463ff17d03ad533@%3Cdevnull.infra.apache.org%3E","tags":["web"]},{"url":"https://github.com/jython/jython/commit/ee4200fdd5385d3f74a5cf1a781fa52d33bbb274","tags":["web"]},{"url":"https://bugs.jython.org/issue2454","tags":["web"]},{"url":"https://github.com/advisories/GHSA-6r7r-jj8h-pq6v"},{"url":"https://github.com/jython/jython","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2016-4000","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2016-4000","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2016-4000","description":"Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","status":"published","published":"2017-07-06T16:00:00Z","modified":"2024-08-06T00:17:29.856Z","updated_at":"2026-11-02T14:33:35.149563Z"}],"euvd":[{"id":"EUVD-2022-2855","description":"Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","status":"published","published":"2017-07-06T16:00:00Z","modified":"2024-08-06T00:17:29Z","updated_at":"2026-11-03T02:22:48.270082Z"}],"ghsa":[{"id":"GHSA-6r7r-jj8h-pq6v","title":"Deserialization of Untrusted Data in Jython","description":"Jython before 2.7.1b3 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","status":"published","published":"2022-05-13T01:25:20Z","modified":"2026-07-02T21:22:55Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:40:38.48196Z"}],"nvd":[{"id":"CVE-2016-4000","description":"Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","status":"published","published":"2017-07-06T16:29:00.203Z","modified":"2026-06-17T00:46:42.86Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T14:03:38.290327Z"}],"osv":[{"id":"CVE-2016-4000","description":"Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","status":"published","published":"2017-07-06T16:29:00.203Z","modified":"2026-03-15T21:50:34.075925Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:44:02.454775Z"},{"id":"DEBIAN-CVE-2016-4000","description":"Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","status":"published","published":"2017-07-06T16:29:00.203Z","modified":"2026-09-22T07:00:47.208363817Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:27.627285Z"},{"id":"GHSA-6r7r-jj8h-pq6v","title":"Deserialization of Untrusted Data in Jython","description":"Jython before 2.7.1b3 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","status":"published","published":"2022-05-13T01:25:20Z","modified":"2026-07-02T21:30:14.977702697Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-502"],"updated_at":"2026-11-02T15:46:39.965326Z"},{"id":"UBUNTU-CVE-2016-4000","description":"Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.","status":"published","published":"2017-07-06T16:29:00Z","modified":"2025-09-08T16:43:43Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:54:12.261906Z"},{"id":"DLA-989-1","title":"jython - security update","status":"published","published":"2017-06-17T00:00:00Z","modified":"2026-03-09T02:09:04.292585Z","updated_at":"2026-11-02T15:46:13.584509Z"},{"id":"DSA-3893-1","title":"jython - security update","status":"published","published":"2017-06-22T00:00:00Z","modified":"2026-03-09T02:11:12.557279Z","updated_at":"2026-11-02T15:46:16.523846Z"}]}}
