CVE-2016-2510Beanshell Insecure Deserialization
Improper Input Validation in BeanShell
Published Apr 7, 2016 · Updated Oct 20, 2026 · Also known as DEBIAN-CVE-2016-2510, DLA-443-1, DSA-3504-1, GHSA-gxg6-rc6c-v673, SUSE-SU-2016:0699-1, SUSE-SU-2016:0700-1, UBUNTU-CVE-2016-2510, USN-2923-1, openSUSE-SU-2024:10420-1
Key Facts
Patch immediately- CVE-2016-2510 is a high-severity vulnerability (CVSS 8.1 v3.1) affecting Beanshell, Ubuntu Linux (Canonical), Debian Linux and 11 more products.
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 70% probability of exploitation in the next 30 days.
- Fixed versions are available, including bsh 2.0b4-12+deb6u1, bsh 2.0b4-12+deb7u1, bsh 2.0b4-15+deb8u1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Scores
CVSS v3.1
8.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
70%
Higher than 99.3% of all scored CVEs
Exploit maturity
None known
ATLAS score
33/100
Publication score, see How it works
Exploitation Verdict
KEV listed
Not listed
Federal due date
None
No federal due date
Ransomware use
Not reported
Attributed actors
None named
Exploit & Defence Guidance
Exploit maturity
None known
Public exploit code
0
Proof-of-concept links
In-the-wild evidence
0
Reports of active use
Advisories And Exploit References
Description
BeanShell (bsh) before 2.0b6, when included on the classpath by an application that uses Java serialization or XStream, allows remote attackers to execute arbitrary code via crafted serialized data, related to XThis.Handler.
Affected Products
57 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| BeanshellBeanshell | 1.0, 2.0-beta1, 2.0-beta4, 2.0-beta5 | n/a |
| Ubuntu LinuxCanonical | 12.04, 14.04, 15.10 | n/a |
| Debian LinuxDebian | 7.0, 8.0 | n/a |
| bshdebian | See advisory | 2.0b4-16 |
| org.apache-extras.beanshell:bshmaven | See advisory | 2.0b6 |
Patched Releases
bsh
2.0b4-12+deb6u1, 2.0b4-12+deb7u1, 2.0b4-15+deb8u1, 2.0b4-15ubuntu0.14.04.1, 2.0b4-16
bsh2
2.0-318.1, 2.0.0.b5-3.2, 2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1
bsh2-bsf
2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1
bsh2-classgen
2.0-318.1, 2.0.0.b5-3.2, 2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1
bsh2-demo
2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1
bsh2-javadoc
2.0-318.1, 2.0.0.b5-3.2, 2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1
bsh2-manual
2.0.0.b5-30.1, 2.0.0.b6-2.7, 2.0.0.b6-27.3.1
bsh2-src
2.0.0.b5-30.1
org.apache-extras.beanshell:bsh
2.0b6
Timeline
Publicly disclosed
Apr 7, 2016
Last updated
Oct 20, 2026
Weakness Type
- CWE-19
- CWE-20 Improper Input Validation
- CWE-502 Deserialization of Untrusted Data
References
- advisorynvd.nist.gov · CVE-2016-2510
- advisorysecurity-tracker.debian.org · CVE-2016-2510
- advisoryubuntu.com · CVE-2016-2510
- advisorycve.org · CVERecord
- advisoryRHSA-2016:0539
FAQ
Common Questions.
BeanShell (bsh) before 2.0b6, when included on the classpath by an application that uses Java serialization or XStream, allows remote attackers to execute arbitrary code via crafted serialized data, related to XThis.Handler.
Affected: Beanshell versions 1.0, 2.0-beta1, 2.0-beta4, 2.0-beta5; Ubuntu Linux (Canonical) versions 12.04, 14.04, 15.10; Debian Linux versions 7.0, 8.0, among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including bsh 2.0b4-12+deb6u1, bsh 2.0b4-12+deb7u1, bsh 2.0b4-15+deb8u1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2016-2510 On Your Attack Surface?
Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.
Request A Demo