Use After Free Affecting php-bcmath package, versions *


Severity

Recommended
medium

Based on CentOS security rating.

Threat Intelligence

EPSS
2.64% (91st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS7-PHPBCMATH-1966933
  • published26 Jul 2021
  • disclosed23 Jun 2016

Introduced: 23 Jun 2016

CVE-2016-6295  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

There is no fixed version for Centos:7 php-bcmath.

NVD Description

Note: Versions mentioned in the description apply only to the upstream php-bcmath package and not the php-bcmath package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

ext/snmp/snmp.c in PHP before 5.5.38, 5.6.x before 5.6.24, and 7.x before 7.0.9 improperly interacts with the unserialize implementation and garbage collection, which allows remote attackers to cause a denial of service (use-after-free and application crash) or possibly have unspecified other impact via crafted serialized data, a related issue to CVE-2016-5773.