Description
crypt_blowfish before 1.1, as used in PHP before 5.3.7 on certain platforms, PostgreSQL before 8.4.9, and other products, does not properly handle 8-bit characters, which makes it easier for context-dependent attackers to determine a cleartext password by leveraging knowledge of a password hash.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libxcrypt | 1:2.4-1.1 | — |
| Debian 13 | libxcrypt | 1:2.4-1.1 | — |
| Debian 12 | libxcrypt | 1:2.4-1.1 | — |
| Debian 6.0 | php5 | 5.3.3-7+squeeze5 | DSA-2399-1 |
| Debian 6.0 | postgresql-8.4 | 8.4.9-0squeeze1 | DSA-2340-1 |
| Debian 5.0 | php5 | 5.2.6.dfsg.1-1+lenny14 | DSA-2399-1 |
| Debian 5.0 | postgresql-8.3 | 8.3.16-0lenny1 | DSA-2340-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 6 | php +25 | 5.3.3-3.el6_1.3 | RHSA-2011:1423 |
| RHEL 6 | postgresql +9 | 8.4.9-1.el6_1.1 | RHSA-2011:1377 |
| RHEL 5 | php53 +20 | 5.3.3-1.el5_7.3 | RHSA-2011:1423 |
| RHEL 5 | postgresql +9 | 8.1.23-1.el5_7.2 | RHSA-2011:1377 |
| RHEL 5 | postgresql84 +11 | 8.4.9-1.el5_7.1 | RHSA-2011:1378 |
| RHEL 4 | postgresql +10 | 7.4.30-3.el4 | RHSA-2011:1377 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | yast2-core | 3.2.0-1.1 | openSUSE-SU-2024:10138-1 |
Advisories 6
- RHSA-2011:1378 Red Hat Security Advisory: postgresql84 security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2011:1423 Red Hat Security Advisory: php53 and php security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2011:1377 Red Hat Security Advisory: postgresql security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-2399-1 php5 - several Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-2340-1 postgresql - weak password hashing Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10138-1 yast2-core-3.2.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://www.openwall.com/crypt/
- MDVSA-2011:180 vendor-advisory
- php-cryptblowfish-info-disclosure(69319) vdb-entry
- http://support.apple.com/kb/HT5130
- http://php.net/security/crypt_blowfish
- 49241 vdb-entry
- MDVSA-2011:165 vendor-advisory
- DSA-2399 vendor-advisory
- DSA-2340 vendor-advisory
- RHSA-2011:1378 vendor-advisory
- http://www.postgresql.org/docs/8.4/static/release-8-4-9.html
- APPLE-SA-2012-02-01-1 vendor-advisory
- SUSE-SA:2011:035 vendor-advisory
- MDVSA-2011:178 vendor-advisory
- RHSA-2011:1377 vendor-advisory
- RHSA-2011:1423 vendor-advisory
- http://www.php.net/ChangeLog-5.php#5.3.7
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705
- http://www.php.net/archive/2011.php#id2011-08-18-1
- MDVSA-2011:179 vendor-advisory
- http://freshmeat.net/projects/crypt_blowfish
- USN-1229-1 vendor-advisory