CVE-2016-2510Beanshell
High 8.1 No auth neededHigh EPSS
Follow: this CVE · Beanshell · Beanshell We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 3.1
- 8.1
- EPSS
- 70.4% probability of exploitation in 30 days · percentile 100
- Auth required
- No
- Published
- Apr 7, 2016
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-19
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Beanshell.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache-extras.beanshell:bsh |
< 2.0b6 |
2.0b6 |
— |
Per OSV / GitHub Advisories (GHSA-gxg6-rc6c-v673). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| beanshell | beanshell | 1.0 |
| beanshell | beanshell | 2.0 |
| beanshell | beanshell | 2.0 |
| beanshell | beanshell | 2.0 |
| debian | debian_linux | 7.0 |
| debian | debian_linux | 8.0 |
| canonical | ubuntu_linux | 12.04 |
| canonical | ubuntu_linux | 14.04 |
| canonical | ubuntu_linux | 15.10 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- www.debian.org Third Party Advisory
- www.securityfocus.com Third Party Advisory VDB Entry
- www.securitytracker.com Third Party Advisory VDB Entry
- www.ubuntu.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- access.redhat.com Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Exploit Third Party Advisory
- security.gentoo.org Third Party Advisory
- www.oracle.com
- www.rsaconference.com Exploit Third Party Advisory