Skip to content
Noroxi
CVE-2012-2143· NVD / CVE Program· CNA redhat

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 proc

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.

MediumCVSS 4.3 · v2.0—No exploit Fix available
Published
Jul 5, 2012
Updated
Jun 16, 2026
EPSS
5.7% · 93th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

19

Monitor

Low priority for now.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
2 / 30 · 5.7%

Affected systems

VendorProduct
postgresqlpostgresql
freebsdfreebsd
phpphp
debiandebian linux

Using postgresql? Add it to your stack and be the first to know about CVEs like this one. (PostgreSQL)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • php phpbefore 5.3.14
  • php php5.4.0 and later · before 5.4.4
  • postgresql postgresql8.3 and later · before 8.3.19
  • postgresql postgresql8.4 and later · before 8.4.12
  • postgresql postgresql9.0 and later · before 9.0.8
  • postgresql postgresql9.1 and later · before 9.1.4

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:6.0postgresql-8.4before 8.4.12-0squeeze18.4.12-0squeeze1
openSUSE:Tumbleweedpostgresql93before 9.3.15-1.19.3.15-1.1
openSUSE:Tumbleweedpostgresql94before 9.4.10-1.19.4.10-1.1
openSUSE:Tumbleweedpostgresql95before 9.5.4-1.29.5.4-1.2
Red Hat:enterprise_linux:5::clientpostgresqlbefore 0:8.1.23-5.el5_80:8.1.23-5.el5_8
Red Hat:enterprise_linux:5::clientpostgresql-contribbefore 0:8.1.23-5.el5_80:8.1.23-5.el5_8
Red Hat:enterprise_linux:5::clientpostgresql-debuginfobefore 0:8.1.23-5.el5_80:8.1.23-5.el5_8
Red Hat:enterprise_linux:5::clientpostgresql-docsbefore 0:8.1.23-5.el5_80:8.1.23-5.el5_8
Red Hat:enterprise_linux:5::clientpostgresql-libsbefore 0:8.1.23-5.el5_80:8.1.23-5.el5_8
Red Hat:enterprise_linux:5::clientpostgresql-pythonbefore 0:8.1.23-5.el5_80:8.1.23-5.el5_8
Red Hat:enterprise_linux:5::clientpostgresql-tclbefore 0:8.1.23-5.el5_80:8.1.23-5.el5_8
Red Hat:enterprise_linux:5::clientpostgresql84before 0:8.4.12-1.el5_80:8.4.12-1.el5_8
Red Hat:enterprise_linux:5::clientpostgresql84-contribbefore 0:8.4.12-1.el5_80:8.4.12-1.el5_8
Red Hat:enterprise_linux:5::clientpostgresql84-debuginfobefore 0:8.4.12-1.el5_80:8.4.12-1.el5_8
Red Hat:enterprise_linux:5::clientpostgresql84-docsbefore 0:8.4.12-1.el5_80:8.4.12-1.el5_8
Red Hat:enterprise_linux:5::clientpostgresql84-libsbefore 0:8.4.12-1.el5_80:8.4.12-1.el5_8
Red Hat:enterprise_linux:5::clientpostgresql84-pythonbefore 0:8.4.12-1.el5_80:8.4.12-1.el5_8
Red Hat:enterprise_linux:5::clientpostgresql84-tclbefore 0:8.4.12-1.el5_80:8.4.12-1.el5_8
Red Hat:enterprise_linux:5::client_workstationphp53before 0:5.3.3-13.el5_80:5.3.3-13.el5_8
Red Hat:enterprise_linux:5::client_workstationphp53-bcmathbefore 0:5.3.3-13.el5_80:5.3.3-13.el5_8
Red Hat:enterprise_linux:5::client_workstationphp53-clibefore 0:5.3.3-13.el5_80:5.3.3-13.el5_8
Red Hat:enterprise_linux:5::client_workstationphp53-commonbefore 0:5.3.3-13.el5_80:5.3.3-13.el5_8
Red Hat:enterprise_linux:5::client_workstationphp53-dbabefore 0:5.3.3-13.el5_80:5.3.3-13.el5_8
Red Hat:enterprise_linux:5::client_workstationphp53-debuginfobefore 0:5.3.3-13.el5_80:5.3.3-13.el5_8

+64

Other highest-scoring records for the same primary product.

  • CVE-2017-7546PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allowing remote attackers
    57Plan
  • CVE-2019-9193In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_server_program' group to
    55Plan
  • CVE-2020-25695A flaw was found in PostgreSQL versions before 13.1, before 12.5, before 11.10, before 10.15, before 9.6.20 and before 9.5.24.
    49Plan
  • CVE-2007-3280The Database Link library (dblink) in PostgreSQL 8.1 implements functions via CREATE statements that map to arbitrary libraries based on the
    44Plan
  • CVE-2013-1899Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows remote attackers to ca
    42Plan
  • CVE-2018-16850postgresql before versions 11.1, 10.6 is vulnerable to a to SQL injection in pg_upgrade and pg_dump via CREATE TRIGGER ...
    41Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:postgresql-8.48.4.12-0squeeze1 · Debian:6.0Package registry (OSV)
opensuse:postgresql939.3.15-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:postgresql949.4.10-1.1 · openSUSE:TumbleweedPackage registry (OSV)
opensuse:postgresql959.5.4-1.2 · openSUSE:TumbleweedPackage registry (OSV)
red hat:postgresql0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:postgresql-contrib0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:postgresql-debuginfo0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:postgresql-devel0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:postgresql-docs0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:postgresql-libs0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:postgresql-pl0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:postgresql-python0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:postgresql-server0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:postgresql-tcl0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:postgresql-test0:8.1.23-5.el5_8 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:postgresql840:8.4.12-1.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

    If successful

    Confidentiality
    none
    Integrity
    P · data or configuration can be modified
    Availability
    none
    Attack complexity
    M
    Confidentiality impact
    None
    Integrity impact
    P
    Availability impact
    None

    CVSS vector

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

    nvd-primary

    Attack context

    MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

    MITRE has no CAPEC/ATT&CK mapping for this CWE.

    Noroxi analysis

    No Noroxi analysis for this record yet

    We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

    We use this product, ask for help

    Change log

    1. Fix✗ → ✓

    For records you follow, these changes also arrive as notifications. →

    References

    All records