CVE-2020-25695
mediumpriority · attend · 51EPSS 0.464 · 99 %ileDEEURUUSEPSS · scored 2026-10-27
A 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. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (56)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2022-1383PostgreSQL: Mehrere SchwachstellenDeutsch2020-11-12csaf · cert_bundDE
Ein entfernter, authentisierter oder anonymer Angreifer kann mehrere Schwachstellen in PostgreSQL ausnutzen, um die Vertraulichkeit, Verfügbarkeit und Integrität zu gefährden.
- BIT-postgresql-2020-256952024-03-06vendor · osvUS
A 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. An attacker having permission to create non-temporary objects in at least one schema can execute arbitrary SQL functions under the identity of a superuser. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (46)
External citations — patches, advisories, analysis.
- https://bugzilla.redhat.com/show_bug.cgi?id=1894425cnnvd
- https://lists.debian.org/debian-lts-announce/2020/12/msg00005.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2020-25695cnnvd
- https://packetstormsecurity.com/files/160110/Ubuntu-Security-Notice-USN-4633-1.htmlcnnvd
- https://packetstormsecurity.com/files/160324/Red-Hat-Security-Advisory-2020-5316-01.htmlcnnvd
- https://packetstormsecurity.com/files/160389/Gentoo-Linux-Security-Advisory-202012-07.htmlcnnvd
- https://packetstormsecurity.com/files/160560/Red-Hat-Security-Advisory-2020-5567-01.htmlcnnvd
- https://packetstormsecurity.com/files/160592/Red-Hat-Security-Advisory-2020-5619-01.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan