CVE-2016-5385: HTTP_PROXY is improperly trusted by some PHP libraries and applications

high Affects PHP engine, amphp/artax, bugsnag/bugsnag-laravel, drupal/core, guzzlehttp/guzzle, padraic/humbug_get_contents and 2 more. Feed 2026.11.23.2, updated 2026-11-23; published ; advisory modified .

HTTP_PROXY is improperly trusted by some PHP libraries and applications

Package
PHP engine PHP engine
Affected branches
5.6 → fixed in 5.6.24
Severity
high  CVSS 8.1
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Remediation
Upgrade to 5.6.24. Branches older than 5.6 received no fix (end-of-life).
Published
2016-07-19
Source
php-src NEWS + NVD

References

HTTP Proxy header vulnerability

Package
amphp/artax Composer
Affected versions
<1.0.4 or >=2.0.0 and <2.0.4 or >=2 and <2.0.4 or >0.7.1 and <1.0.4
Fixed in
1.0.4, 2.0.4
Severity
high  CVSS 8.1
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Published
2022-04-07
Source
osv.dev

References

HTTP Proxy header vulnerability

Package
bugsnag/bugsnag-laravel Composer
Affected versions
<2.0.2 or >=2 and <2.0.2
Fixed in
2.0.2
Severity
high  CVSS 8.1
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Published
2022-04-07
Source
osv.dev

References

HTTP Proxy header vulnerability

Package
drupal/core Composer
Affected versions
>=8.0 and <8.1.7 or >=8.0 and <8.1.0 or >=8.1.0 and <8.1.7
Fixed in
8.1.7
Severity
high  CVSS 8.1
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Published
2022-04-07
Source
osv.dev

References

HTTP Proxy header vulnerability

Package
guzzlehttp/guzzle Composer
Affected versions
>=6 and <6.2.1 or >=4.0.0-rc2 and <4.2.4 or >=5 and <5.3.1
Fixed in
6.2.1, 4.2.4, 5.3.1
Severity
high  CVSS 8.1
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Published
2022-04-07
Source
osv.dev

References

HTTP Proxy header vulnerability

Package
padraic/humbug_get_contents Composer
Affected versions
<1.1.2
Fixed in
1.1.2
Severity
high  CVSS 8.1
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Published
2022-04-07
Source
osv.dev

References

Drupal Core - Highly Critical - Injection - SA-CORE-2016-003

Package
drupal/drupal Composer
Affected versions
>=8.0 and <8.1.0 or >=8.1.0 and <8.1.7
Fixed in
8.1.7
Severity
unknown
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Source
friendsofphp

References

Environment Variable Injection

Package
typo3/cms Composer
Affected versions
>=8.0.0 and <8.1.0 or >=8.1.0 and <8.2.0 or >=8.2.0 and <8.2.1
Fixed in
8.2.1
Severity
unknown
Exploitation
not on CISA KEV · EPSS 50% (98.9th percentile)
Source
friendsofphp

References

CWE-601
NVD recordPHP engine advisoriesamphp/artax advisoriesbugsnag/bugsnag-laravel advisoriesdrupal/core advisoriesguzzlehttp/guzzle advisoriespadraic/humbug_get_contents advisories

Quick answers

Is CVE-2016-5385 being actively exploited?

It is not on CISA's Known Exploited Vulnerabilities list today. FIRST's EPSS model puts the chance of exploitation in the next 30 days at 50%.

Which version fixes CVE-2016-5385?

amphp/artax: 1.0.4, 2.0.4; bugsnag/bugsnag-laravel: 2.0.2.

How do I check whether I am affected?

Run `phpwarden scan`. phpwarden checks the exact version you have installed against this advisory.

Am I affected?

Find out in one command. phpwarden checks this host's PHP build against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden scan

# or, without Composer
pipx install phpwarden   &&   phpwarden scan

Running a fleet? Aggregate hosts into one report.

Install docs   How findings are ranked

Related advisories