---
title: "CVE-2026-2007\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2026-2007?format=md
keywords: index, follow
---

# CVE-2026-2007

Publication date 12 February 2026

Last updated 18 February 2026

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.2 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2026-2007?format=md#impact-score)

Toggle side navigation

## Description

Heap buffer overflow in PostgreSQL pg\_trgm allows a database user to
achieve unknown impacts via a crafted input string. The attacker has
limited control over the byte patterns to be written, but we have not ruled
out the viability of attacks that lead to privilege escalation. PostgreSQL
18.1 and 18.0 are affected.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2026-2007?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| postgresql-10 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 18.04 LTS bionic | Not affected |
| postgresql-12 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 20.04 LTS focal | Not affected |
| postgresql-14 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not affected |
| postgresql-16 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 24.04 LTS noble | Not affected |
| 22.04 LTS jammy | Not in release |
| postgresql-17 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not affected |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| postgresql-18 | 26.04 LTS resolute | Not affected |
| 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| postgresql-9.3 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 14.04 LTS trusty | Vulnerable, fix deferred |
| postgresql-9.5 | 26.04 LTS resolute | Not in release |
| 25.10 questing | Not in release |
| 24.04 LTS noble | Not in release |
| 22.04 LTS jammy | Not in release |
| 16.04 LTS xenial | Not affected |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Notes

---

### [leosilva](https://launchpad.net/~leosilva)

PostgreSQL 9.3 is end of life upstream, and no updates are
are available. Marking as deferred in -esm-main releases.

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

only affects postgresql-18

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.2 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | Low |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.2 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-2007)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2026-2007)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2026-2007)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2026-2007)

### Other references

* <https://www.cve.org/CVERecord?id=CVE-2026-2007>
* <https://www.postgresql.org/about/news/postgresql-182-178-1612-1516-and-1421-released-3235/>
* <https://www.postgresql.org/support/security/CVE-2026-2007/>
