crypt(): DES encrypted password weakness
Published Jul 5, 2012
4.3
MEDIUMCVSS 2.0
EPSS 5.73%
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 products
No data.
Configuration 1
- ≥ 8.3 · < 8.3.19
- ≥ 8.4 · < 8.4.12
- ≥ 9.0 · < 9.0.8
- ≥ 9.1 · < 9.1.4
Configuration 2
- ≤ 9.0
- 1.0
- 1.1
- 1.1.5
- 1.1.5.1
- 2.0
- 2.0.5
- 2.1
- 2.1.5
- 2.1.6
- 2.1.7
- 2.2
- 2.2.1
- 2.2.2
- 2.2.5
- 2.2.6
- 2.2.7
- 2.2.8
- 3.0
- 3.1
- 3.2
- 3.3
- 3.4
- 3.5
- 4.0
- 4.1
- 4.1.1
- 4.2
- 4.3
- 4.4
- 4.5
- 4.6
- 4.6.2
- 4.7
- 4.8
- 4.9
- 4.10
- 4.11
- 5.0
- 5.1
- 5.2
- 5.2.1
- 5.3
- 5.4
- 5.5
- 6.0
- 6.1
- 6.2
- 6.3
- 6.4
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- 8.0
- 8.1
- 8.2
- 8.3
Configuration 4
- 6.0
No data.
Red Hat Enterprise Linux 5
php53-0:5.3.3-13.el5_8
Fixed · RHSA-2012:1047
Red Hat Enterprise Linux 5
postgresql-0:8.1.23-5.el5_8
Fixed · RHSA-2012:1036
Red Hat Enterprise Linux 5
postgresql84-0:8.4.12-1.el5_8
Fixed · RHSA-2012:1037
Red Hat Enterprise Linux 6
php-0:5.3.3-14.el6_3
Fixed · RHSA-2012:1046
Red Hat Enterprise Linux 6
postgresql-0:8.4.12-1.el6_2
Fixed · RHSA-2012:1037
Red Hat Enterprise Linux 5
php
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | php53-0:5.3.3-13.el5_8 | Fixed | RHSA-2012:1047 |
| Red Hat Enterprise Linux 5 | postgresql-0:8.1.23-5.el5_8 | Fixed | RHSA-2012:1036 |
| Red Hat Enterprise Linux 5 | postgresql84-0:8.4.12-1.el5_8 | Fixed | RHSA-2012:1037 |
| Red Hat Enterprise Linux 6 | php-0:5.3.3-14.el6_3 | Fixed | RHSA-2012:1046 |
| Red Hat Enterprise Linux 6 | postgresql-0:8.4.12-1.el6_2 | Fixed | RHSA-2012:1037 |
| Red Hat Enterprise Linux 5 | php | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue did not affect the version of php as shipped with Red Hat Enterprise Linux 5 as it did not include FreeSec's libcrypt cryptographic algorithms implementation yet. This issue was addressed in php53 package for Red Hat Enterprise Linux 5 via RHSA-2012:1047 and in php package for Red Hat Enterprise Linux 6 via RHSA-2012:1046.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (21 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 5.73% (0.05734) | 92.82th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.73% (0.05734) | 92.04th | v5 (v2026.06.15) |
| Feb 1, 2026 | 3.00% (0.02995) | 86.26th | v4 (v2025.03.14) |
| Jan 21, 2026 | 6.53% (0.06526) | 90.84th | v4 (v2025.03.14) |
| Dec 28, 2025 | 3.87% (0.03869) | 87.87th | v4 (v2025.03.14) |
| Dec 27, 2025 | 1.91% (0.01905) | 82.84th | v4 (v2025.03.14) |
| Dec 1, 2025 | 3.87% (0.03869) | 87.86th | v4 (v2025.03.14) |
| Oct 28, 2025 | 8.18% (0.08177) | 91.79th | v4 (v2025.03.14) |
| Oct 27, 2025 | 3.56% (0.03564) | 87.23th | v4 (v2025.03.14) |
| Oct 1, 2025 | 8.18% (0.08177) | 91.89th | v4 (v2025.03.14) |
| Jul 30, 2025 | 3.56% (0.03564) | 87.28th | v4 (v2025.03.14) |
| Apr 22, 2025 | 7.74% (0.07739) | 91.43th | v4 (v2025.03.14) |
| Mar 30, 2025 | 5.76% (0.05761) | 89.54th | v4 (v2025.03.14) |
| Mar 29, 2025 | 11.53% (0.11532) | 89.32th | v4 (v2025.03.14) |
| Mar 17, 2025 | 6.56% (0.06562) | 90.45th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.21% (0.00211) | 59.94th | v3 (v2023.03.01) |
| Oct 25, 2023 | 0.21% (0.00211) | 58.74th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.21% (0.00206) | 56.74th | v3 (v2023.03.01) |
| Mar 6, 2023 | 2.69% (0.02686) | 82.85th | v2 (v2022.01.01) |
| Apr 1, 2022 | 2.69% (0.02686) | 81.17th | v2 (v2022.01.01) |
| Feb 4, 2022 | 2.69% (0.02686) | 62.66th | v2 (v2022.01.01) |
References (28)
- http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=aab49e934de1fff046e659cbec46e3d053b41c34 x_refsource_CONFIRMBroken LinkPatch
- http://git.postgresql.org/gitweb/?p=postgresql.git&a=commit&h=932ded2ed51e8333852e370c7a6dad75d9f236f9 x_refsource_CONFIRMVendor Advisory
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 x_refsource_CONFIRMThird Party Advisory
- http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082258.html vendor-advisoryx_refsource_FEDORAMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082292.html vendor-advisoryx_refsource_FEDORAMailing ListThird Party Advisory
- http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082294.html vendor-advisoryx_refsource_FEDORAMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2012-09/msg00102.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00013.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2012-10/msg00024.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2012-1037.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://secunia.com/advisories/49304 third-party-advisoryx_refsource_SECUNIABroken LinkVendor Advisory
- http://secunia.com/advisories/50718 third-party-advisoryx_refsource_SECUNIABroken LinkVendor Advisory
- http://security.freebsd.org/advisories/FreeBSD-SA-12:02.crypt.asc vendor-advisoryx_refsource_FREEBSDVendor Advisory
- http://support.apple.com/kb/HT5501 x_refsource_CONFIRMThird Party Advisory
- http://www.debian.org/security/2012/dsa-2491 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2012:092 vendor-advisoryx_refsource_MANDRIVABroken Link
- http://www.postgresql.org/docs/8.3/static/release-8-3-19.html x_refsource_CONFIRMVendor Advisory
- http://www.postgresql.org/docs/8.4/static/release-8-4-12.html x_refsource_CONFIRMVendor Advisory
- http://www.postgresql.org/docs/9.0/static/release-9-0-8.html x_refsource_CONFIRMVendor Advisory
- http://www.postgresql.org/docs/9.1/static/release-9-1-4.html x_refsource_CONFIRMVendor Advisory
- http://www.postgresql.org/support/security/ x_refsource_CONFIRMVendor Advisory
- http://www.securitytracker.com/id?1026995 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/security/cve/CVE-2012-2143 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=816956 x_refsource_CONFIRMIssue TrackingThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2012-2143
- https://www.cve.org/CVERecord?id=CVE-2012-2143
Change history (0)
No recorded changes yet.