Servers and applications
CVE-2012-2143
The crypt_des (aka DES-based crypt) function in FreeBSD before 9.0-RELEASE-p2, as used in PHP, PostgreSQL, and other products, does not process the complete cleartext password if this password contains a 0x80 character, which makes it easier for context-dependent attackers to obtain access via an authentication attempt with an initial substring of the intended password, as demonstrated by a…
- Severity
- Medium 4.3
- Published
- 5 Jul 2012
- Last changed
- 16 Jun 2026
- Added to UpHeron
- 14 Oct 2026
- Fixed in
- 5.3.14, 5.4.4, 8.3.19, 8.4.12, 9.0.8, 9.1.4
- Exploit chance
- 5.7% in the next 30 daysHigher than 93% of CVEs. EPSS by FIRST, 12 Nov 2026
- Weakness
- CWE-310
- Attack
- Over the network · No login needed
- Attacker can
- Change some data
- CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N- Sources
- NVD
Description
The crypt_des (aka DES-based crypt) function in FreeBSD before 9.0-RELEASE-p2, as used in PHP, PostgreSQL, and other products, does not process the complete cleartext password if this password contains a 0x80 character, which makes it easier for context-dependent attackers to obtain access via an authentication attempt with an initial substring of the intended password, as demonstrated by a Unicode password.
Affected software
| Software | Affected versions |
|---|---|
PHPServers and applications · cpe:a:php:php |
|
PostgreSQLServers and applications · cpe:a:postgresql:postgresql |
|