8.1
CWE
19 94
Advisory Published
CVE Published
Updated

CVE-2016-3171: Code Injection

First published: Mon Feb 15 2016(Updated: )

Drupal 6.x before 6.38, when used with PHP before 5.4.45, 5.5.x before 5.5.29, or 5.6.x before 5.6.13, might allow remote attackers to execute arbitrary code via vectors related to session data truncation.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
composer/drupal/core>=8.0<8.0.4
composer/drupal/drupal>=8.0<8.0.4
composer/drupal/drupal>=6.0<6.38
6.38
composer/drupal/core>=6.0<6.38
6.38
All of
Any of
PHP<=5.4.44
PHP=5.5.0
PHP=5.5.0-alpha1
PHP=5.5.0-alpha2
PHP=5.5.0-alpha3
PHP=5.5.0-alpha4
PHP=5.5.0-alpha5
PHP=5.5.0-alpha6
PHP=5.5.0-beta1
PHP=5.5.0-beta2
PHP=5.5.0-beta3
PHP=5.5.0-beta4
PHP=5.5.0-rc1
PHP=5.5.0-rc2
PHP=5.5.1
PHP=5.5.2
PHP=5.5.10
PHP=5.5.11
PHP=5.5.12
PHP=5.5.13
PHP=5.5.14
PHP=5.5.18
PHP=5.5.19
PHP=5.5.20
PHP=5.5.21
PHP=5.5.22
PHP=5.5.23
PHP=5.5.24
PHP=5.5.25
PHP=5.5.26
PHP=5.5.27
PHP=5.5.28
PHP=5.6.0-alpha1
PHP=5.6.0-alpha2
PHP=5.6.0-alpha3
PHP=5.6.0-alpha4
PHP=5.6.0-alpha5
PHP=5.6.0-beta1
PHP=5.6.0-beta2
PHP=5.6.0-beta3
PHP=5.6.0-beta4
PHP=5.6.1
PHP=5.6.2
PHP=5.6.3
PHP=5.6.4
PHP=5.6.5
PHP=5.6.6
PHP=5.6.7
PHP=5.6.8
PHP=5.6.9
PHP=5.6.10
PHP=5.6.11
PHP=5.6.12
Any of
Drupal=6.0
Drupal=6.0-beta1
Drupal=6.0-beta2
Drupal=6.0-beta3
Drupal=6.0-beta4
Drupal=6.0-dev
Drupal=6.0-rc1
Drupal=6.0-rc2
Drupal=6.0-rc3
Drupal=6.0-rc4
Drupal=6.1
Drupal=6.2
Drupal=6.3
Drupal=6.4
Drupal=6.5
Drupal=6.6
Drupal=6.7
Drupal=6.8
Drupal=6.9
Drupal=6.10
Drupal=6.11
Drupal=6.12
Drupal=6.13
Drupal=6.14
Drupal=6.15
Drupal=6.16
Drupal=6.17
Drupal=6.18
Drupal=6.19
Drupal=6.20
Drupal=6.21
Drupal=6.22
Drupal=6.23
Drupal=6.24
Drupal=6.25
Drupal=6.26
Drupal=6.27
Drupal=6.28
Drupal=6.29
Drupal=6.30
Drupal=6.31
Drupal=6.32
Drupal=6.33
Drupal=6.34
Drupal=6.35
Drupal=6.36
Drupal=6.37
Debian Linux=7.0
Debian Linux=8.0
PHP<=5.4.44
PHP=5.5.0
PHP=5.5.0-alpha1
PHP=5.5.0-alpha2
PHP=5.5.0-alpha3
PHP=5.5.0-alpha4
PHP=5.5.0-alpha5
PHP=5.5.0-alpha6
PHP=5.5.0-beta1
PHP=5.5.0-beta2
PHP=5.5.0-beta3
PHP=5.5.0-beta4
PHP=5.5.0-rc1
PHP=5.5.0-rc2
PHP=5.5.1
PHP=5.5.2
PHP=5.5.10
PHP=5.5.11
PHP=5.5.12
PHP=5.5.13
PHP=5.5.14
PHP=5.5.18
PHP=5.5.19
PHP=5.5.20
PHP=5.5.21
PHP=5.5.22
PHP=5.5.23
PHP=5.5.24
PHP=5.5.25
PHP=5.5.26
PHP=5.5.27
PHP=5.5.28
PHP=5.6.0-alpha1
PHP=5.6.0-alpha2
PHP=5.6.0-alpha3
PHP=5.6.0-alpha4
PHP=5.6.0-alpha5
PHP=5.6.0-beta1
PHP=5.6.0-beta2
PHP=5.6.0-beta3
PHP=5.6.0-beta4
PHP=5.6.1
PHP=5.6.2
PHP=5.6.3
PHP=5.6.4
PHP=5.6.5
PHP=5.6.6
PHP=5.6.7
PHP=5.6.8
PHP=5.6.9
PHP=5.6.10
PHP=5.6.11
PHP=5.6.12
Drupal=6.0
Drupal=6.0-beta1
Drupal=6.0-beta2
Drupal=6.0-beta3
Drupal=6.0-beta4
Drupal=6.0-dev
Drupal=6.0-rc1
Drupal=6.0-rc2
Drupal=6.0-rc3
Drupal=6.0-rc4
Drupal=6.1
Drupal=6.2
Drupal=6.3
Drupal=6.4
Drupal=6.5
Drupal=6.6
Drupal=6.7
Drupal=6.8
Drupal=6.9
Drupal=6.10
Drupal=6.11
Drupal=6.12
Drupal=6.13
Drupal=6.14
Drupal=6.15
Drupal=6.16
Drupal=6.17
Drupal=6.18
Drupal=6.19
Drupal=6.20
Drupal=6.21
Drupal=6.22
Drupal=6.23
Drupal=6.24
Drupal=6.25
Drupal=6.26
Drupal=6.27
Drupal=6.28
Drupal=6.29
Drupal=6.30
Drupal=6.31
Drupal=6.32
Drupal=6.33
Drupal=6.34
Drupal=6.35
Drupal=6.36
Drupal=6.37

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2016-3171?

    CVE-2016-3171 has been classified with Medium severity.

  • How do I fix CVE-2016-3171?

    To fix CVE-2016-3171, upgrade to Drupal 6.38 or later.

  • What are the affected versions for CVE-2016-3171?

    CVE-2016-3171 affects Drupal versions prior to 6.38 when used with certain versions of PHP.

  • Can CVE-2016-3171 lead to remote code execution?

    Yes, CVE-2016-3171 allows remote attackers to execute arbitrary code through session data truncation.

  • Is my PHP version related to CVE-2016-3171?

    Yes, CVE-2016-3171 is particularly relevant for environments running PHP versions earlier than 5.4.45, 5.5.29, or 5.6.13.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203