portage-ng / portage / dev-lang / php / 8.5.11
portage-ng glsa
28 advisories reference dev-lang/php · none place version 8.5.11 in a vulnerable range
▸ GLSA 202501-11 PHP: Multiple Vulnerabilities version not in range high remote 2025-01-23

Multiple vulnerabilities have been discovered in PHP, the worst of which could lead to arbitrary code execution.

Announced
2025-01-23
Revised
2025-01-23
Access
remote
Bugs
#941598
Advisory
https://security.gentoo.org/glsa/202501-11

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 8.2.24:8.2, < 8.3.12:8.3, < 8.1.30:8.1>= 8.2.24:8.2, >= 8.3.12:8.3

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.2.24:8.2"
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.3.12:8.3"

Gentoo has discontinued support for php 8.1:

# emerge --ask --verbose --depclean "dev-lang/php:8.1"

References

▸ GLSA 202408-32 PHP: Multiple Vulnerabilities version not in range high local and remote 2024-08-12

Multiple vulnerabilities have been discovered in PHP, the worst of which can lead to a denial of service.

Announced
2024-08-12
Revised
2024-08-13 (revision 2)
Access
local and remote
Bugs
#889882 #895416 #908259 #912331 #929929 #933752
Advisory
https://security.gentoo.org/glsa/202408-32

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 8.1, < 8.1.29:8.1, < 8.2.20:8.2, < 8.3.8:8.3>= 8.1.29:8.1, >= 8.2.20:8.2, >= 8.3.8:8.3

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.1.29:8.1"
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.2.20:8.2"
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.3.8:8.3"

Support for older version has been discontinued:

# emerge --ask --verbose --depclean "<dev-lang/php-8.1"

References

▸ GLSA 202211-03 PHP: Multiple Vulnerabilities version not in range normal remote 2022-11-19

Multiple vulnerabilities have been found in PHP, the worst of which could result in arbitrary code execution.

Announced
2022-11-19
Revised
2022-11-19
Access
remote
Bugs
#867913 #873376 #877853
Advisory
https://security.gentoo.org/glsa/202211-03

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 8.1.12:8.1, < 8.0.25:8.0, < 7.4.33:7.4>= 8.1.12:8.1, >= 8.0.25:8.0, >= 7.4.33:7.4

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All PHP 7.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.4.33"

All PHP 8.0 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.0.25"

All PHP 8.1 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.1.12"

References

▸ GLSA 202209-20 PHP: Multiple Vulnerabilities version not in range high remote 2022-09-29

Multiple vulnerabilities have been discovered in PHP, the worst of which could result in local root privilege escalation.

Announced
2022-09-29
Revised
2022-09-29
Access
remote
Bugs
#799776 #810526 #819510 #833585 #850772 #857054
Advisory
https://security.gentoo.org/glsa/202209-20

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 7.4.30:7.4, < 8.0.23:8.0, < 8.1.8:8.1>= 7.4.30:7.4, >= 8.0.23:8.0, >= 8.1.8:8.1

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

Please review the referenced CVE identifiers for details.

Workaround

There is no known workaround at this time.

Resolution

All PHP 7.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.4.30:7.4"

All PHP 8.0 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.0.23:8.0"

All PHP 8.1 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.1.8:8.1"

References

▸ GLSA 202105-23 PHP: Multiple vulnerabilities version not in range normal local, remote 2021-05-26

Multiple vulnerabilities have been found in PHP, the worst of which could result in a Denial of Service condition.

Announced
2021-05-26
Revised
2021-05-26
Access
local, remote
Bugs
#764314 #768756 #788892
Advisory
https://security.gentoo.org/glsa/202105-23

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 8.0.6>= 7.3.28:7.3, >= 7.4.19:7.4, >= 8.0.6:8.0

Background

PHP is an open source general-purpose scripting language that is especially suited for web development.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers and bugs referenced below for details.

Impact

Please review the referenced CVE identifiers and bugs for details.

Workaround

There is no known workaround at this time.

Resolution

All PHP 7.3.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.3.28:7.3"

All PHP 7.4.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.4.19:7.4"

All PHP 8.0.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-8.0.6:8.0"

References

▸ GLSA 202012-16 PHP: Multiple vulnerabilities version not in range low local, remote 2020-12-23

Multiple vulnerabilities have been found in PHP, the worst of which could result in a Denial of Service condition.

Announced
2020-12-23
Revised
2020-12-23
Access
local, remote
Bugs
#711140 #745993 #756775
Advisory
https://security.gentoo.org/glsa/202012-16

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 8.0.0>= 7.2.34-r1:7.2, >= 7.3.25:7.3, >= 7.4.13:7.4

Background

PHP is an open source general-purpose scripting language that is especially suited for web development.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers and change log referenced below for details.

Impact

An attacker could cause a Denial of Service condition or obtain sensitive information.

Workaround

There is no known workaround at this time.

Resolution

All PHP 7.2.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.2.34-r1:7.2"

All PHP 7.3.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.3.25:7.3"

All PHP 7.4.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.4.13:7.4"

References

▸ GLSA 202009-10 PHP: Denial of service version not in range low local, remote 2020-09-13

A vulnerabilities in PHP could lead to a Denial of Service condition.

Announced
2020-09-13
Revised
2020-09-13
Access
local, remote
Bugs
#736158
Advisory
https://security.gentoo.org/glsa/202009-10

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 7.2.33:7.2, < 7.3.21:7.3, < 7.4.9:7.4>= 7.2.33:7.2, >= 7.3.21:7.3, >= 7.4.9:7.4

Background

PHP is an open source general-purpose scripting language that is especially suited for web development.

Description

It was discovered that PHP did not properly handle PHAR files.

Impact

A remote attacker could entice a user to open a specially crafted PHAR file using PHP, possibly allowing attacker to obtain sensitive information or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PHP 7.2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.2.33"

All PHP 7.3 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.3.21"

All PHP 7.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.4.9"

References

▸ GLSA 202003-57 PHP: Multiple vulnerabilities version not in range high local, remote 2020-03-26

Multiple vulnerabilities have been found in PHP, the worst of which could result in the execution of arbitrary shell commands.

Announced
2020-03-26
Revised
2020-04-23 (revision 2)
Access
local, remote
Bugs
#671872 #706168 #710304 #713484
Advisory
https://security.gentoo.org/glsa/202003-57

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 7.2.29:7.2, < 7.3.16:7.3, < 7.4.4:7.4>= 7.2.29:7.2, >= 7.3.16:7.3, >= 7.4.4:7.4

Background

PHP is an open source general-purpose scripting language that is especially suited for web development.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

An attacker could possibly execute arbitrary shell commands, cause a Denial of Service condition or obtain sensitive information.

Workaround

There is no known workaround at this time.

Resolution

All PHP 7.2.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.2.29:7.2"

All PHP 7.3.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.3.16:7.3"

All PHP 7.4.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.4.4:7.4"

References

▸ GLSA 201910-01 PHP: Arbitrary code execution this version unaffected high remote 2019-10-25

A vulnerability in PHP might allow an attacker to execute arbitrary code.

Announced
2019-10-25
Revised
2019-11-19 (revision 2)
Access
remote
Bugs
#698452
Advisory
https://security.gentoo.org/glsa/201910-01

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 7.1.33, < 7.2.24, < 7.3.11, < 5.6.40-r7>= 7.1.33, >= 7.2.24, >= 7.3.11, >= 5.6.40-r7

Background

PHP is an open source general-purpose scripting language that is especially suited for web development.

Description

A underflow in env_path_info in PHP-FPM under certain configurations can be exploited to gain remote code execution.

Impact

A remote attacker, by sending special crafted HTTP requests, could possibly execute arbitrary code with the privileges of the process, or cause a Denial of Service condition.

Workaround

If patching is not feasible, the suggested workaround is to include checks to verify whether or not a file exists before passing to PHP.

Resolution

All PHP 5.6 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.6.40-r7"

All PHP 7.1 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.1.33"

All PHP 7.2 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.2.24"

All PHP 7.3 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.3.11"

References

▸ GLSA 201812-01 PHP: Multiple vulnerabilities version not in range normal local, remote 2018-12-02

Multiple vulnerabilities have been found in PHP, the worst of which could result in a Denial of Service condition.

Announced
2018-12-02
Revised
2018-12-03 (revision 3)
Access
local, remote
Bugs
#658092 #666256
Advisory
https://security.gentoo.org/glsa/201812-01

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.6.38:5.6, < 7.0.32:7.0, < 7.1.22:7.1, < 7.2.10:7.2>= 5.6.38:5.6, >= 7.0.32:7.0, >= 7.1.22:7.1, >= 7.2.10:7.2

Background

PHP is an open source general-purpose scripting language that is especially suited for web development.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the referenced CVE identifiers for details.

Impact

An attacker could cause a Denial of Service condition or obtain sensitive information.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.6.X users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.6.38"

All PHP 7.0.X users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.0.32"

All PHP 7.1.X users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.1.22"

All PHP 7.2.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.2.10"

References

▸ GLSA 201709-21 PHP: Multiple vulnerabilities version not in range normal remote 2017-09-24

Multiple vulnerabilities have been found in PHP, the worst of which could result in the execution of arbitrary code.

Announced
2017-09-24
Revised
2017-09-25 (revision 2)
Access
remote
Bugs
#624054 #626460 #629452
Advisory
https://security.gentoo.org/glsa/201709-21

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.6.31:5.6, < 7.0.23:7.0>= 5.6.31:5.6, >= 7.0.23:7.0

Background

PHP is an open source general-purpose scripting language that is especially suited for web development.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the referenced CVE identifiers for details.

Impact

A remote attacker could execute arbitrary code with the privileges of the process or cause a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.6.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.6.31"

All PHP 7.0.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-7.0.23"

References

▸ GLSA 201702-29 PHP: Multiple vulnerabilities version not in range normal remote 2017-02-21

Multiple vulnerabilities have been found in PHP, the worst of which could lead to arbitrary code execution or cause a Denial of Service condition.

Announced
2017-02-21
Revised
2017-02-21
Access
remote
Bugs
#604776 #606626
Advisory
https://security.gentoo.org/glsa/201702-29

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.6.30:5.6>= 5.6.30:5.6

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

An attacker could possibly execute arbitrary code or create a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.6 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.6.30:5.6"

References

▸ GLSA 201611-22 PHP: Multiple vulnerabilities this version unaffected normal remote 2016-11-30

Multiple vulnerabilities have been found in PHP, the worst of which could lead to arbitrary code execution or cause a Denial of Service condition.

Announced
2016-11-30
Revised
2016-11-30
Access
remote
Bugs
#578734 #581834 #584204 #587246 #591710 #594498 #597586 #599326
Advisory
https://security.gentoo.org/glsa/201611-22

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.6.28>= 5.6.28

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

An attacker can possibly execute arbitrary code or create a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev=lang/php-5.6.28"

References

▸ GLSA 201606-10 PHP: Multiple vulnerabilities this version unaffected normal remote 2016-06-19

Multiple vulnerabilities have been found in PHP, the worst of which could lead to arbitrary code execution, or cause a Denial of Service condition.

Announced
2016-06-19
Revised
2016-06-19 (revision 2)
Access
remote
Bugs
#537586 #541098 #544186 #544330 #546872 #549538 #552408 #555576 #555830 #556952 #559612 #562882 #571254 #573892 #577376
Advisory
https://security.gentoo.org/glsa/201606-10

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.6.19>= 5.6.19, >= 5.5.33 (revision), >= 5.5.34 (revision), >= 5.5.35 (revision), >= 5.5.36 (revision), >= 5.5.37 (revision), >= 5.5.38 (revision)

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

An attacker can possibly execute arbitrary code or create a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.4 users should upgrade to the latest 5.5 stable branch, as PHP 5.4 is now masked in Portage:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev=lang/php-5.5.33"

All PHP 5.5 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev=lang/php-5.5.33"

All PHP 5.6 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev=lang/php-5.6.19"

References

▸ GLSA 201503-03 PHP: Multiple vulnerabilities this version unaffected normal remote 2015-03-08

Multiple vulnerabilities have been discovered in PHP, the worst of which could lead to remote execution of arbitrary code.

Announced
2015-03-08
Revised
2015-08-22 (revision 2)
Access
remote
Bugs
#530820 #532914 #533998
Advisory
https://security.gentoo.org/glsa/201503-03

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.5.21>= 5.5.21, >= 5.4.37 (revision), >= 5.4.38 (revision), >= 5.4.39 (revision), >= 5.4.40 (revision), >= 5.4.41 (revision), >= 5.4.42 (revision), >= 5.4.43 (revision), >= 5.4.44 (revision), >= 5.4.45 (revision)

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker can leverage these vulnerabilities to execute arbitrary code or cause Denial of Service.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.5 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.5.21"

All PHP 5.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.4.37"

All PHP 5.3 users should upgrade to the latest version. This branch is currently past the end of life and it will no longer receive security fixes. All PHP 5.3 users are strongly recommended to upgrade to the current stable version of PHP 5.5 or previous stable version of PHP 5.4, which are supported till at least 2016 and 2015 respectively.

References

▸ GLSA 201411-04 PHP: Multiple vulnerabilities this version unaffected normal remote 2014-11-09

Multiple vulnerabilities have been discovered in PHP, the worst of which could lead to remote execution of arbitrary code.

Announced
2014-11-09
Revised
2015-08-22 (revision 3)
Access
remote
Bugs
#525960
Advisory
https://security.gentoo.org/glsa/201411-04

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.5.18>= 5.5.18, >= 5.4.34 (revision), >= 5.3.29 (revision), >= 5.4.36 (revision), >= 5.4.37 (revision), >= 5.4.38 (revision), >= 5.4.39 (revision), >= 5.4.35 (revision), >= 5.4.40 (revision), >= 5.4.41 (revision), >= 5.4.42 (revision), >= 5.4.43 (revision), >= 5.4.44 (revision), >= 5.4.45 (revision), >= 5.4.46 (revision)

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

A context-dependent attacker can possibly execute arbitrary code or create a Denial of Service condition.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.5 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.5.18"

All PHP 5.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.4.34"

All PHP 5.3 users should upgrade to the latest version. This release marks the end of life of the PHP 5.3 series. Future releases of this series are not planned. All PHP 5.3 users are encouraged to upgrade to the current stable version of PHP 5.5 or previous stable version of PHP 5.4, which are supported till at least 2016 and 2015 respectively.

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.3.29"

References

▸ GLSA 201408-11 PHP: Multiple vulnerabilities this version unaffected high remote 2014-08-29

Multiple vulnerabilities have been discovered in PHP, the worst of which could lead to remote execution of arbitrary code.

Announced
2014-08-29
Revised
2015-08-22 (revision 4)
Access
remote
Bugs
#459904 #472204 #472558 #474656 #476570 #481004 #483212 #485252 #492784 #493982 #501312 #503630 #503670 #505172 #505712 #509132 #512288 #512492 #513032 #516994 #519932 #520134 #520438
Advisory
https://security.gentoo.org/glsa/201408-11

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.5.16>= 5.5.16, >= 5.4.32 (revision), >= 5.3.29 (revision), >= 5.4.34 (revision), >= 5.4.35 (revision), >= 5.4.36 (revision), >= 5.4.37 (revision), >= 5.4.38 (revision), >= 5.4.39 (revision), >= 5.4.40 (revision), >= 5.4.41 (revision), >= 5.4.42 (revision), >= 5.4.43 (revision), >= 5.4.44 (revision), >= 5.4.45 (revision), >= 5.4.46 (revision)

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

A context-dependent attacker can cause arbitrary code execution, create a Denial of Service condition, read or write arbitrary files, impersonate other servers, hijack a web session, or have other unspecified impact. Additionally, a local attacker could gain escalated privileges.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.5 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.5.16"

All PHP 5.4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.4.32"

All PHP 5.3 users should upgrade to the latest version. This release marks the end of life of the PHP 5.3 series. Future releases of this series are not planned. All PHP 5.3 users are encouraged to upgrade to the current stable version of PHP 5.5 or previous stable version of PHP 5.4, which are supported till at least 2016 and 2015 respectively.

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.3.29"

References

▸ GLSA 201209-03 PHP: Multiple vulnerabilities this version unaffected high remote 2012-09-24

Multiple vulnerabilities were found in PHP, the worst of which lead to remote execution of arbitrary code.

Announced
2012-09-24
Revised
2012-09-24
Access
remote
Bugs
#384301 #396311 #396533 #399247 #399567 #399573 #401997 #410957 #414553 #421489 #427354 #429630
Advisory
https://security.gentoo.org/glsa/201209-03

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.3.15, < 5.4.5>= 5.3.15, >= 5.4.5

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

A remote attacker could execute arbitrary code with the privileges of the process, cause a Denial of Service condition, obtain sensitive information, create arbitrary files, conduct directory traversal attacks, bypass protection mechanisms, or perform further attacks with unspecified impact.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.3.15"

All PHP users on ARM should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.4.5"

References

▸ GLSA 201110-06 PHP: Multiple vulnerabilities this version unaffected high local, remote 2011-10-10

Multiple vulnerabilities were found in PHP, the worst of which leading to remote execution of arbitrary code.

Announced
2011-10-10
Revised
2011-10-10 (revision 2)
Access
local, remote
Bugs
#306939 #332039 #340807 #350908 #355399 #358791 #358975 #369071 #372745 #373965 #380261
Advisory
https://security.gentoo.org/glsa/201110-06

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.3.8>= 5.3.8

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below for details.

Impact

A context-dependent attacker could execute arbitrary code, obtain sensitive information from process memory, bypass intended access restrictions, or cause a Denial of Service in various ways.

A remote attacker could cause a Denial of Service in various ways, bypass spam detections, or bypass open_basedir restrictions.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.3.8"

References

▸ GLSA 201001-03 PHP: Multiple vulnerabilities this version unaffected high local remote 2010-01-05

Multiple vulnerabilities were found in PHP, the worst of which leading to the remote execution of arbitrary code.

Announced
2010-01-05
Revised
2010-01-05
Access
local remote
Bugs
#249875 #255121 #260576 #261192 #266125 #274670 #280602 #285434 #292132 #293888 #297369 #297370
Advisory
https://security.gentoo.org/glsa/201001-03

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.2.12>= 5.2.12

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Multiple vulnerabilities have been discovered in PHP. Please review the CVE identifiers referenced below and the associated PHP release notes for details.

Impact

A context-dependent attacker could execute arbitrary code via a specially crafted string containing an HTML entity when the mbstring extension is enabled. Furthermore a remote attacker could execute arbitrary code via a specially crafted GD graphics file.

A remote attacker could also cause a Denial of Service via a malformed string passed to the json_decode() function, via a specially crafted ZIP file passed to the php_zip_make_relative_path() function, via a malformed JPEG image passed to the exif_read_data() function, or via temporary file exhaustion. It is also possible for an attacker to spoof certificates, bypass various safe_mode and open_basedir restrictions when certain criteria are met, perform Cross-site scripting attacks, more easily perform SQL injection attacks, manipulate settings of other virtual hosts on the same server via a malicious .htaccess entry when running on Apache, disclose memory portions, and write arbitrary files via a specially crafted ZIP archive. Some vulnerabilities with unknown impact and attack vectors have been reported as well.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version. As PHP is statically linked against a vulnerable version of the c-client library when the imap or kolab USE flag is enabled (GLSA 200911-03), users should upgrade net-libs/c-client beforehand:

# emerge --sync
# emerge --ask --oneshot --verbose ">=net-libs/c-client-2007e"
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.2.12"

References

▸ GLSA 200811-05 PHP: Multiple vulnerabilities this version unaffected normal remote 2008-11-16

PHP contains several vulnerabilities including buffer and integer overflows which could lead to the remote execution of arbitrary code.

Announced
2008-11-16
Revised
2008-11-16
Access
remote
Bugs
#209148 #212211 #215266 #228369 #230575 #234102
Advisory
https://security.gentoo.org/glsa/200811-05

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.2.6-r6>= 5.2.6-r6

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Several vulnerabilitites were found in PHP:

  • PHP ships a vulnerable version of the PCRE library which allows for the circumvention of security restrictions or even for remote code execution in case of an application which accepts user-supplied regular expressions (CVE-2008-0674).
  • Multiple crash issues in several PHP functions have been discovered.
  • Ryan Permeh reported that the init_request_info() function in sapi/cgi/cgi_main.c does not properly consider operator precedence when calculating the length of PATH_TRANSLATED (CVE-2008-0599).
  • An off-by-one error in the metaphone() function may lead to memory corruption.
  • Maksymilian Arciemowicz of SecurityReason Research reported an integer overflow, which is triggerable using printf() and related functions (CVE-2008-1384).
  • Andrei Nigmatulin reported a stack-based buffer overflow in the FastCGI SAPI, which has unknown attack vectors (CVE-2008-2050).
  • Stefan Esser reported that PHP does not correctly handle multibyte characters inside the escapeshellcmd() function, which is used to sanitize user input before its usage in shell commands (CVE-2008-2051).
  • Stefan Esser reported that a short-coming in PHP's algorithm of seeding the random number generator might allow for predictible random numbers (CVE-2008-2107, CVE-2008-2108).
  • The IMAP extension in PHP uses obsolete c-client API calls making it vulnerable to buffer overflows as no bounds checking can be done (CVE-2008-2829).
  • Tavis Ormandy reported a heap-based buffer overflow in pcre_compile.c in the PCRE version shipped by PHP when processing user-supplied regular expressions (CVE-2008-2371).
  • CzechSec reported that specially crafted font files can lead to an overflow in the imageloadfont() function in ext/gd/gd.c, which is part of the GD extension (CVE-2008-3658).
  • Maksymilian Arciemowicz of SecurityReason Research reported that a design error in PHP's stream wrappers allows to circumvent safe_mode checks in several filesystem-related PHP functions (CVE-2008-2665, CVE-2008-2666).
  • Laurent Gaffie discovered a buffer overflow in the internal memnstr() function, which is used by the PHP function explode() (CVE-2008-3659).
  • An error in the FastCGI SAPI when processing a request with multiple dots preceding the extension (CVE-2008-3660).

Impact

These vulnerabilities might allow a remote attacker to execute arbitrary code, to cause a Denial of Service, to circumvent security restrictions, to disclose information, and to manipulate files.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.2.6-r6"

References

▸ GLSA 200710-02 PHP: Multiple vulnerabilities this version unaffected high remote 2007-10-07

PHP contains several vulnerabilities including buffer and integer overflows which could lead to the remote execution of arbitrary code.

Announced
2007-10-07
Revised
2007-10-07
Access
remote
Bugs
#179158 #180556 #191034
Advisory
https://security.gentoo.org/glsa/200710-02

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.2.4_p20070914-r2>= 5.2.4_p20070914-r2

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Several vulnerabilities were found in PHP. Mattias Bengtsson and Philip Olausson reported integer overflows in the gdImageCreate() and gdImageCreateTrueColor() functions of the GD library which can cause heap-based buffer overflows (CVE-2007-3996). Gerhard Wagner discovered an integer overflow in the chunk_split() function that can lead to a heap-based buffer overflow (CVE-2007-2872). Its incomplete fix caused incorrect buffer size calculation due to precision loss, also resulting in a possible heap-based buffer overflow (CVE-2007-4661 and CVE-2007-4660). A buffer overflow in the sqlite_decode_binary() of the SQLite extension found by Stefan Esser that was addressed in PHP 5.2.1 was not fixed correctly (CVE-2007-1887).

Stefan Esser discovered an error in the zend_alter_ini_entry() function handling a memory_limit violation (CVE-2007-4659). Stefan Esser also discovered a flaw when handling interruptions with userspace error handlers that can be exploited to read arbitrary heap memory (CVE-2007-1883). Disclosure of sensitive memory can also be triggered due to insufficient boundary checks in the strspn() and strcspn() functions, an issue discovered by Mattias Bengtsson and Philip Olausson (CVE-2007-4657)

Stefan Esser reported incorrect validation in the FILTER_VALIDATE_EMAIL filter of the Filter extension allowing arbitrary email header injection (CVE-2007-1900). NOTE: This CVE was referenced, but not fixed in GLSA 200705-19.

Stanislav Malyshev found an error with unknown impact in the money_format() function when processing "%i" and "%n" tokens (CVE-2007-4658). zatanzlatan reported a buffer overflow in the php_openssl_make_REQ() function with unknown impact when providing a manipulated SSL configuration file (CVE-2007-4662). Possible memory corruption when trying to read EXIF data in exif_read_data() and exif_thumbnail() occurred with unknown impact.

Several vulnerabilities that allow bypassing of open_basedir and other restrictions were reported, including the glob() function (CVE-2007-4663), the session_save_path(), ini_set(), and error_log() functions which can allow local command execution (CVE-2007-3378), involving the readfile() function (CVE-2007-3007), via the Session extension (CVE-2007-4652), via the MySQL extension (CVE-2007-3997) and in the dl() function which allows loading extensions outside of the specified directory (CVE-2007-4825).

Multiple Denial of Service vulnerabilities were discovered, including a long "library" parameter in the dl() function (CVE-2007-4887), in several iconv and xmlrpc functions (CVE-2007-4840 and CVE-2007-4783), in the setlocale() function (CVE-2007-4784), in the glob() and fnmatch() function (CVE-2007-4782 and CVE-2007-3806), a floating point exception in the wordwrap() function (CVE-2007-3998), a stack exhaustion via deeply nested arrays (CVE-2007-4670), an infinite loop caused by a specially crafted PNG image in the png_read_info() function of libpng (CVE-2007-2756) and several issues related to array conversion.

Impact

Remote attackers might be able to exploit these issues in PHP applications making use of the affected functions, potentially resulting in the execution of arbitrary code, Denial of Service, execution of scripted contents in the context of the affected site, security bypass or information leak.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.2.4_p20070914-r2"

References

▸ GLSA 200705-19 PHP: Multiple vulnerabilities this version unaffected high remote 2007-05-26

PHP contains several vulnerabilities including buffer and integer overflows which could under certain conditions lead to the remote execution of arbitrary code.

Announced
2007-05-26
Revised
2008-03-29 (revision 2)
Access
remote
Bugs
#169372
Advisory
https://security.gentoo.org/glsa/200705-19

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.2.2>= 4.4.7 (revision), >= 4.4.8_pre20070816 (revision), >= 5.2.2

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Several vulnerabilities were found in PHP, most of them during the Month Of PHP Bugs (MOPB) by Stefan Esser. The most severe of these vulnerabilities are integer overflows in wbmp.c from the GD library (CVE-2007-1001) and in the substr_compare() PHP 5 function (CVE-2007-1375). Ilia Alshanetsky also reported a buffer overflow in the make_http_soap_request() and in the user_filter_factory_create() functions (CVE-2007-2510, CVE-2007-2511), and Stanislav Malyshev discovered another buffer overflow in the bundled XMLRPC library (CVE-2007-1864). Additionally, the session_regenerate_id() and the array_user_key_compare() functions contain a double-free vulnerability (CVE-2007-1484, CVE-2007-1521). Finally, there exist implementation errors in the Zend engine, in the mb_parse_str(), the unserialize() and the mail() functions and other elements.

Impact

Remote attackers might be able to exploit these issues in PHP applications making use of the affected functions, potentially resulting in the execution of arbitrary code, Denial of Service, execution of scripted contents in the context of the affected site, security bypass or information leak.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.2.2"

All PHP 4 users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.7"

References

▸ GLSA 200703-21 PHP: Multiple vulnerabilities this version unaffected high remote 2007-03-20

PHP contains several vulnerabilities including a heap buffer overflow, potentially leading to the remote execution of arbitrary code under certain conditions.

Announced
2007-03-20
Revised
2008-03-29 (revision 3)
Access
remote
Bugs
#153911
Advisory
https://security.gentoo.org/glsa/200703-21

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.2.1-r3>= 5.2.1-r3, >= 5.1.6-r11 (revision), >= 4.4.6 (revision), >= 4.4.7 (revision), >= 4.4.8_pre20070816 (revision)

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Several vulnerabilities were found in PHP by the Hardened-PHP Project and other researchers. These vulnerabilities include a heap-based buffer overflow in htmlentities() and htmlspecialchars() if called with UTF-8 parameters, and an off-by-one error in str_ireplace(). Other vulnerabilities were also found in the PHP4 branch, including possible overflows, stack corruptions and a format string vulnerability in the *print() functions on 64 bit systems.

Impact

Remote attackers might be able to exploit these issues in PHP applications making use of the affected functions, potentially resulting in the execution of arbitrary code, Denial of Service, execution of scripted contents in the context of the affected site, security bypass or information leak.

Workaround

There is no known workaround at this time.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose "dev-lang/php"

References

▸ GLSA 200610-14 PHP: Integer overflow this version unaffected high remote 2006-10-30

PHP is vulnerable to an integer overflow potentially allowing the remote execution of arbitrary code.

Announced
2006-10-30
Revised
2008-03-29 (revision 4)
Access
remote
Bugs
#150261
Advisory
https://security.gentoo.org/glsa/200610-14

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.1.6-r6>= 4.4.4-r6 (revision), >= 4.4.6 (revision), >= 4.4.7 (revision), >= 4.4.8_pre20070816 (revision), >= 5.1.6-r6

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

A flaw in the PHP memory handling routines allows an unserialize() call to be executed on non-allocated memory due to a previous integer overflow.

Impact

An attacker could execute arbitrary code with the rights of the web server user or the user running a vulnerable PHP script.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.1.6-r6"

All PHP 4.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.4-r6"

References

▸ GLSA 200608-28 PHP: Arbitary code execution this version unaffected normal remote 2006-08-29

PHP contains a function that, when used, could allow a remote attacker to execute arbitrary code.

Announced
2006-08-29
Revised
2008-03-29 (revision 5)
Access
remote
Bugs
#143126
Advisory
https://security.gentoo.org/glsa/200608-28

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 5.1.4-r6>= 4.4.3-r1 (revision), >= 4.4.4-r4 (revision), >= 4.4.6 (revision), >= 4.4.7 (revision), >= 4.4.8_pre20070816 (revision), >= 5.1.4-r6

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

The sscanf() PHP function contains an array boundary error that can be exploited to dereference a null pointer. This can possibly allow the bypass of the safe mode protection by executing arbitrary code.

Impact

A remote attacker might be able to exploit this vulnerability in PHP applications making use of the sscanf() function, potentially resulting in the execution of arbitrary code or the execution of scripted contents in the context of the affected site.

Workaround

There is no known workaround at this time.

Resolution

All PHP 4.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.3-r1"

All PHP 5.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.1.4-r6"

References

▸ GLSA 200605-08 PHP: Multiple vulnerabilities this version unaffected high remote 2006-05-08

PHP is affected by multiple issues, including a buffer overflow in wordwrap() which may lead to execution of arbitrary code.

Announced
2006-05-08
Revised
2007-05-15 (revision 9)
Access
remote
Bugs
#127939 #128883 #131135 #133524
Advisory
https://security.gentoo.org/glsa/200605-08

Affected packages

PackageArchVulnerableUnaffected
dev-lang/phpalpha amd64 ia64 ppc64< 5.1.4, < 5.1.4-r4>= 5.1.4, >= 4.4.2-r2 (revision), >= 4.4.3-r1 (revision), >= 4.4.4-r4 (revision), >= 4.4.6 (revision), >= 4.4.7, >= 5.1.4-r4, >= 4.4.2-r6 (revision), >= 4.4.3-r1 (revision), >= 4.4.4-r4 (revision), >= 4.4.6 (revision), >= 4.4.7
dev-lang/phparm hppa ppc s390 sh sparc x86< 5.1.4, < 5.1.4-r4>= 5.1.4, >= 4.4.2-r2 (revision), >= 4.4.3-r1 (revision), >= 4.4.4-r4 (revision), >= 4.4.6 (revision), >= 4.4.7, >= 5.1.4-r4, >= 4.4.2-r6 (revision), >= 4.4.3-r1 (revision), >= 4.4.4-r4 (revision), >= 4.4.6 (revision), >= 4.4.7

Background

PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML.

Description

Several vulnerabilities were discovered on PHP4 and PHP5 by Infigo, Tonu Samuel and Maksymilian Arciemowicz. These included a buffer overflow in the wordwrap() function, restriction bypasses in the copy() and tempname() functions, a cross-site scripting issue in the phpinfo() function, a potential crash in the substr_compare() function and a memory leak in the non-binary-safe html_entity_decode() function.

Impact

Remote attackers might be able to exploit these issues in PHP applications making use of the affected functions, potentially resulting in the execution of arbitrary code, Denial of Service, execution of scripted contents in the context of the affected site, security bypass or information leak.

Workaround

There is no known workaround at this point.

Resolution

All PHP users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose dev-lang/php

References

▸ GLSA 200603-22 PHP: Format string and XSS vulnerabilities this version unaffected normal remote 2006-03-22

Multiple vulnerabilities in PHP allow remote attackers to inject arbitrary HTTP headers, perform cross site scripting or in some cases execute arbitrary code.

Announced
2006-03-22
Revised
2006-03-22
Access
remote
Bugs
#125878
Advisory
https://security.gentoo.org/glsa/200603-22

Affected packages

PackageArchVulnerableUnaffected
dev-lang/php*< 4.4.2, >= 5.1.1 (revision), >= 5.0.5 (revision), >= 5.0.4 (revision)>= 5.1.2

Background

PHP is a general-purpose scripting language widely used to develop web-based applications. It can run on a web server with the mod_php module or the CGI version and also stand-alone in a CLI.

Description

Stefan Esser of the Hardened PHP project has reported a few vulnerabilities found in PHP:

  • Input passed to the session ID in the session extension isn't properly sanitised before being returned to the user via a "Set-Cookie" HTTP header, which can contain arbitrary injected data.
  • A format string error while processing error messages using the mysqli extension in version 5.1 and above.

Impact

By sending a specially crafted request, a remote attacker can exploit this vulnerability to inject arbitrary HTTP headers, which will be included in the response sent to the user. The format string vulnerability may be exploited to execute arbitrary code.

Workaround

There is no known workaround at this time.

Resolution

All PHP 5.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-5.1.2"

All PHP 4.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/php-4.4.2"

References