Skip to main content
CVE-2025-12818VulnerabilityPublished Updated

Microsoft · PostgreSQL libpq undersizes allocations, via integer wraparound

Affects MicrosoftSource GCVE Database

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

Not known to be exploited · CVSS 5.9 Medium · fixed in 18.1 : update Microsoft when convenient.

Data as of 1 Dec 2026, 11:15 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 1 Dec 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

To determine the support lifecycle for your software, see the Microsoft Support Lifecycle: https://support.microsoft.com/lifecycle

References

Community reviews

Loading reviews…