Description
Jython before 2.7.1rc1 allows attackers to execute arbitrary code via a crafted serialized PyFunction object.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | jython | 2.5.3-17 | — |
| Debian 13 | jython | 2.5.3-17 | — |
| Debian 12 | jython | 2.5.3-17 | — |
| Debian 9 | jython | 2.5.3-16+deb9u1 | DSA-3893-1 |
| Debian 8 | jython | 2.5.3-3+deb8u1 | DSA-3893-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | jython | 2.5.2-1+deb7u1 | DLA-989-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | jython | 2.5.3-9ubuntu0.1 | — |
| Ubuntu 14.04 LTS | jython | 2.5.3-1ubuntu0.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.python:jython | < 2.7.1b3 | 2.7.1b3 | GHSA-6r7r-jj8h-pq6v |
| Maven | org.python:jython-standalone | < 2.7.1b3 | 2.7.1b3 | GHSA-6r7r-jj8h-pq6v |
Advisories 2
- DSA-3893-1 jython - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-989-1 jython - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- DSA-3893 vendor-advisory
- GLSA-201710-28 vendor-advisory
- 105647 vdb-entry
- [infra-devnull] 20190402 [GitHub] [flink] aloyszhang opened pull request #8100: [FLINK-12082] Bump up the jython-standalone version mailing-list
- https://www.oracle.com/security-alerts/cpuapr2020.html
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.oracle.com/security-alerts/cpujul2020.html
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://security-tracker.debian.org/tracker/CVE-2016-4000
- https://hg.python.org/jython/rev/d06e29d100c0
- https://snyk.io/vuln/SNYK-JAVA-ORGPYTHON-31451
- http://bugs.jython.org/issue2454
- https://hg.python.org/jython/file/v2.7.1rc1/NEWS
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864859