CVE-2025-12818
BaseFortify
Publication date: 2025-11-13
Last updated on: 2025-11-13
Assigner: PostgreSQL
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| postgresql | libpq | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-190 | The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is an integer wraparound issue in multiple PostgreSQL libpq client library functions. It allows an attacker, such as an application input provider or network peer, to cause libpq to allocate less memory than needed and then write data beyond the allocated buffer by hundreds of megabytes. This leads to a segmentation fault in the application using libpq.
How can this vulnerability impact me? :
The vulnerability can cause applications using the affected libpq client library versions to crash due to segmentation faults. This can lead to denial of service or instability in applications relying on PostgreSQL client connections.