Skip to main content
CVE-2025-12818VulnerabilityPublished Updated

Red Hat Security Advisory: libpq security update

Affects Red Hat libpqSource GCVE Database

0
Compare
Authoritative record:CVE-2025-12818· Medium 5.9

Not known to be exploited · CVSS 5.9 Medium · fixed in Red Hat package updates : update Red Hat postgresql when convenient.

Data as of 5 Nov 2026, 18:19 UTC

CVSS 3.1 base score
5.9Medium
How severe the flaw is on the 0–10 CVSS scale.
Patch
Available – fixed in 18.1, 17.7, 16.11 +3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 13 Nov 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Postgresqlpostgresql/postgresqlpkg:deb/postgresql/postgresqlOther threatsAffected
  • <13.23
  • <14.20
  • <15.15
  • <16.11
  • <17.7
  • <18.1
Fixed in
  • 13.23
  • 14.20
  • 15.15
  • 16.11
  • 17.7
  • 18.1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The libpq package provides the PostgreSQL client library, which allows client programs to connect to PostgreSQL servers. Security Fix(es): * postgresql: libpq undersizes allocations, via integer wraparound (CVE-2025-12818) For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

References

Community reviews

Loading reviews…