CVE-2016-2510: High severity BeanShell BeanShell vulnerability

Published Feb 22, 2016
·
Updated

An application that includes BeanShell on the classpath may be vulnerable if another part of the application uses Java serialization or XStream to deserialize data from an untrusted source.

A vulnerable application could be exploited for remote code execution, including executing arbitrary shell commands.

External references:

https://github.com/beanshell/beanshell/releases/tag/2.0b6

Upstream patches:

https://github.com/beanshell/beanshell/commit/7c68fde2d6fc65e362f20863d868c112a90a9b49

https://github.com/beanshell/beanshell/commit/1ccc66bb693d4e46a34a904db8eeff07808d2ced

Other sources

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.

MITRE

Affected Software

10 affected componentsFixes available
redhat/bsh2<2.0
2.0
BeanShell BeanShell=1.0
BeanShell BeanShell=2.0-beta1
BeanShell BeanShell=2.0-beta4
BeanShell BeanShell=2.0-beta5
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

Event History

Feb 22, 2016
Data Sourced
via Red Hat·12:25 PM
DescriptionSeverityAffected Software
Apr 7, 2016
CVE Published
via MITRE·08:00 PM
Data Sourced
via MITRE·08:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-2510?

CVE-2016-2510 is rated as a high severity vulnerability due to its ability to allow remote code execution.

2

How does CVE-2016-2510 allow for exploitation?

CVE-2016-2510 allows remote attackers to execute arbitrary code by using crafted serialized data with vulnerable applications that include BeanShell.

3

Which versions are affected by CVE-2016-2510?

Versions before BeanShell 2.0b6, including 1.0 and all beta versions up to 2.0b5, are affected by CVE-2016-2510.

4

How do I fix CVE-2016-2510?

To remediate CVE-2016-2510, upgrade to BeanShell version 2.0 or newer, which addresses the vulnerability.

5

What are the potential impacts of CVE-2016-2510 on my system?

If exploited, CVE-2016-2510 can compromise system integrity, leading to unauthorized control and data loss.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203