CVE-2011-3189 json
The crypt function in PHP 5.3.7, when the MD5 hash type is used, returns the value of the salt argument instead of the hashed string, which…
published 2011-08-25 15 y ago modified 2026-06-16 4 mo ago also EUVD-2011-3154
- cvss
- 4.3
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.2%
- EPSS 4.2% chance of exploitation in 30 days, percentile 91%
- public exploits
- 0
- none known
Summary
The crypt function in PHP 5.3.7, when the MD5 hash type is used, returns the value of the salt argument instead of the hashed string, which might allow remote attackers to bypass authentication via an arbitrary password, a different vulnerability than CVE-2011-2483.
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2011-3189 updated cvss 4.0
php: 5.3.7 crypt() only returns the salt for MD5 hashes
-
Red Hat Enterprise Linux 4 php Red Hat Enterprise Linux 5 php, php53 Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.21% chance of exploitation in the next 30 days, higher than 91% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugs.php.net https://bugs.php.net/bug.php?id=55439 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
- Weakness
-
- CWE-310 Cryptographic Issues
- Technology feeds
References
-
bugs.php.net
/bug.php?id=55439
exploit
-
lists.apple.com
/archives/security-announce/2012/Feb/msg00000.html
vendor-advisory
-
secunia.com
/advisories/45678
third-party-advisory, vendor-advisory
-
osvdb.org
/74726
vdb-entry
- php.net /ChangeLog-5.php#5.3.8
- bugs.gentoo.org /show_bug.cgi?id=380261
- support.apple.com /kb/HT5130
-
openwall.com
/lists/oss-security/2011/08/23/4
mailing-list
-
exchange.xforce.ibmcloud.com
/vulnerabilities/69429
vdb-entry
- php.net /archive/2011.php#id2011-08-23-1
Sources
- CVE List CVE-2011-3189
- NVD CVE-2011-3189
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.