CVE-2025-12818
PostgreSQL libpq undersizes allocations, via integer wraparound
5.9
MEDIUM
CVSS 3.1
EPSS 0.31%
描述
Integer wraparound in multiple PostgreSQL libpq client library functions allows an application input provider or network peer to cause libpq to undersize an allocation and write out-of-bounds by hundreds of megabytes. This results in a segmentation fault for the application using libpq. Versions before PostgreSQL 18.1, 17.7, 16.11, 15.15, 14.20, and 13.23 are affected.
如何修補 CVE-2025-12818
要修補 CVE-2025-12818,請將受影響套件升級到下列已修補版本。
- —升級至 15.15-r0 或更新版本
- —升級至 16.11-r0 或更新版本
- —升級至 17.7-r0 或更新版本
- —升級至 18.1-r0 或更新版本
- —升級至 13.23.0 或更新版本
- —升級至 13.23-0+deb11u1 或更新版本
- —升級至 15.15-0+deb12u1 或更新版本
- —升級至 17.7-0+deb13u1 或更新版本
- —升級至 18.1-1 或更新版本
CVE-2025-12818 正在被利用嗎?
低 — EPSS 為 0.3%,目前沒有觀察到大規模利用活動。
受影響套件(9)
- from 0, < 15.15-r0
- from 0, < 16.11-r0
- from 0, < 17.7-r0
- from 0, < 18.1-r0
- from 0, < 13.23.0, >= 14.0.0, < 14.20.0, >= 15.0.0, < 15.15.0, >= 16.0.0, < 16.11.0, >= 17.0.0, < 17.7.0, >= 18.0.0, < 18.1.0
- from 0, < 13.23-0+deb11u1
- from 0, < 15.15-0+deb12u1
- from 0, < 17.7-0+deb13u1
- from 0, < 18.1-1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |