p PatchFirst

CVE-2026-2007

CVE-2026-2007 · PostgreSQL pg_trgm heap buffer overflow writes pattern onto server memory

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.2 · High · EPSS 0.5% · Fix available

Published
Updated

Stack: system · database

Affected products and versions

  • postgresql

    Versions
    • ≥ 18, < 18.2: Affected (rpm)

    Update to 18.2

  • postgresql-18 Debian:14

    Versions
    • 18.0-1
    • 18.1-1
    • 18.1-2
    • 18~beta1+20250612-1
    • 18~beta1+20250624-1
    • 18~beta1+20250701-1
    • 18~beta1-1
    • 18~beta2-1
    • 18~beta3-1
    • 18~rc1-1
    • 18~rc1-2
    • 18~rc1-3
    • 18~~devel.20250318+g4078da6c478-1
    • 18~~devel.20250331-1
    • 18~~devel.20250405-1
    • 18~~devel.20250421-1
    • 18~~devel.20250502-1
    Affected ranges
    • ECOSYSTEM: < 18.2-1

    Update to 18.2-1

  • postgresql-9.3 Ubuntu:Pro:14.04:LTS

    Versions
    • 9.3.1-1
    • 9.3.2-1
    • 9.3.2-1ubuntu1
    • 9.3.2-1ubuntu2
    • 9.3.3-1
    • 9.3.3-1bzr1
    • 9.3.3-1bzr2
    • 9.3.4-1
    • 9.3.5-0ubuntu0.14.04.1
    • 9.3.6-0ubuntu0.14.04
    • 9.3.7-0ubuntu0.14.04
    • 9.3.8-0ubuntu0.4.04
    • 9.3.9-0ubuntu0.14.04
    • 9.3.10-0ubuntu0.14.04
    • 9.3.11-0ubuntu0.14.04
    • 9.3.12-0ubuntu0.14.04
    • 9.3.13-0ubuntu0.14.04
    • 9.3.14-0ubuntu0.14.04
    • 9.3.15-0ubuntu0.14.04
    • 9.3.16-0ubuntu0.14.04
    • 9.3.17-0ubuntu0.14.04
    • 9.3.18-0ubuntu0.14.04.1
    • 9.3.19-0ubuntu0.14.04
    • 9.3.20-0ubuntu0.14.04
    • 9.3.21-0ubuntu0.14.04
    • 9.3.22-0ubuntu0.14.04
    • 9.3.23-0ubuntu0.14.04
    • 9.3.24-0ubuntu0.14.04
    • 9.3.24-0ubuntu0.14.04+esm1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →