Arbitrary Code Execution Affecting php package, versions [4.0,5.1.4]


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (57th 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 Arbitrary Code Execution vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-PHP-2335357
  • published12 Jan 2022
  • disclosed8 Aug 2006
  • creditUnknown

Introduced: 8 Aug 2006

CVE-2006-4020  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for php.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Execution scanf.c in PHP 5.1.4 and earlier, and 4.4.3 and earlier, allows context-dependent attackers to execute arbitrary code via a sscanf PHP function call that performs argument swapping, which increments an index past the end of an array and triggers a buffer over-read.

References

CVSS Scores

version 3.1