CVE-2016-2510
HighImproper Input Validation in BeanShell
Published May 13, 2022 · Updated Aug 4, 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
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.
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
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2016-2510 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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
56 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
May 13, 2022
Last updated
Aug 4, 2026
Weakness Type
- CWE-19
- CWE-20 Improper Input Validation
- CWE-502 Deserialization of Untrusted Data
References
- advisoryRHSA-2016:0539
- advisoryRHSA-2016:0540
- advisoryRHSA-2016:2035
- advisoryhttps://bugzilla.suse.com/967593
- advisoryGHSA advisory
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 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo