← Vulnerability feed

Vulnerability record · CVE-2012-2143 · published 5 July 2012

CVE-2012-2143: Postgresql vulnerability

Postgresql · Postgresql

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.

4.3 CVSS 2.0 Medium EPSS 5.7% · top 7.2% CWE-310 · CWE-310
4.3CVSS 2.0 base score
5.7%EPSS exploitation probability, 30 days
NoNot in CISA KEV
4Affected product versions listed by NVD
50References
16 Jun 2026Last modified by 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.

AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected products

4 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=aab49e934de1fff046e659cbec46e3d053b41c34 Broken LinkPatch
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commit&h=932ded2ed51e8333852e370c7a6dad75d9f236f9 Vendor Advisory
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 Third Party Advisory
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082258.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082292.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082294.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2012-09/msg00102.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2012-10/msg00013.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2012-10/msg00024.html Mailing ListThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-1037.html Third Party Advisory
http://secunia.com/advisories/49304 Broken LinkVendor Advisory
http://secunia.com/advisories/50718 Broken LinkVendor Advisory
http://security.freebsd.org/advisories/FreeBSD-SA-12:02.crypt.asc Vendor Advisory
http://support.apple.com/kb/HT5501 Third Party Advisory
http://www.debian.org/security/2012/dsa-2491 Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDVSA-2012:092 Broken Link
http://www.postgresql.org/docs/8.3/static/release-8-3-19.html Vendor Advisory
http://www.postgresql.org/docs/8.4/static/release-8-4-12.html Vendor Advisory
http://www.postgresql.org/docs/9.0/static/release-9-0-8.html Vendor Advisory
http://www.postgresql.org/docs/9.1/static/release-9-1-4.html Vendor Advisory
http://www.postgresql.org/support/security/ Vendor Advisory
http://www.securitytracker.com/id?1026995 Third Party AdvisoryVDB Entry
https://bugzilla.redhat.com/show_bug.cgi?id=816956 Issue TrackingThird Party Advisory
http://git.php.net/?p=php-src.git%3Ba=commit%3Bh=aab49e934de1fff046e659cbec46e3d053b41c34 Broken LinkPatch
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commit&h=932ded2ed51e8333852e370c7a6dad75d9f236f9 Vendor Advisory
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10705 Third Party Advisory
http://lists.apple.com/archives/security-announce/2012/Sep/msg00004.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082258.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082292.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2012-June/082294.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2012-09/msg00102.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2012-10/msg00013.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-updates/2012-10/msg00024.html Mailing ListThird Party Advisory
http://rhn.redhat.com/errata/RHSA-2012-1037.html Third Party Advisory
http://secunia.com/advisories/49304 Broken LinkVendor Advisory
http://secunia.com/advisories/50718 Broken LinkVendor Advisory
http://security.freebsd.org/advisories/FreeBSD-SA-12:02.crypt.asc Vendor Advisory

Track CVE-2012-2143 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2025-32433Erlang/OTP SSH server missing authentication allows remote code executionErlang/OTP SSH servers before OTP-27.3.3, OTP-26.2.5.11 and OTP-25.3.2.20 mishandle SSH protocol messages, letting an unauthenticated attacker execut…KEVEPSS 99%analysed10.0CVE-2025-24201Apple WebKit out-of-bounds write allows sandbox escapeCVE-2025-24201 is an out-of-bounds write in Apple's WebKit that was addressed with improved checks. Maliciously crafted web content may break out of …KEVEPSS 3.8%analysed10.0CVE-2021-44228Apache Log4j2 JNDI lookup remote code executionApache Log4j2 versions 2.0-beta9 through 2.15.0 (excluding 2.12.2, 2.12.3, and 2.3.1) do not protect against attacker-controlled LDAP and other JNDI …KEVEPSS 100%analysed9.8CVE-2026-24061GNU Inetutils telnetd argument injection allows remote auth bypasstelnetd in GNU Inetutils through 2.7 fails to sanitize the USER environment variable, so a value such as "-f root" is passed as an argument to login …KEVEPSS 99%analysed9.8CVE-2025-39682Linux kernel TLS zero-length record handling flaw on rx_listThe Linux kernel TLS receive path mishandles zero-length records that arrive from the rx_list, breaking the assumption that a record type change cann…KEVEPSS 2.9%analysed9.8CVE-2025-24813Apache Tomcat Default Servlet path equivalence enables RCE and file disclosureApache Tomcat mishandles path equivalence for names containing an internal dot, letting a remote unauthenticated attacker write files through the Def…KEVEPSS 100%analysed9.8CVE-2024-9680Mozilla Firefox and Thunderbird use-after-free in Animation timelinesA use-after-free flaw in Animation timelines allows an attacker to execute code in the content process of Firefox and Thunderbird. Mozilla reports ex…KEVEPSS 23%analysed9.8CVE-2024-4577PHP-CGI on Windows argument injection leads to remote code executionPHP-CGI on Windows can misinterpret characters in the command line passed to Win32 API functions when certain code pages are configured, due to Windo…KEVEPSS 100%analysed

Source: NIST National Vulnerability Database (record CVE-2012-2143), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.