CVE-2006-4020 Affecting php package, versions <0:5.1.4-1.el4s1.4


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
3.88% (88th 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 IDSNYK-RHEL10-PHP-9865869
  • published28 Apr 2025
  • disclosed4 Aug 2006

Introduced: 4 Aug 2006

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

How to fix?

Upgrade RHEL:10 php to version 0:5.1.4-1.el4s1.4 or higher.
This issue was patched in RHSA-2006:0688.

NVD Description

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

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 Base Scores

version 3.1