# CVE-2026-15742: PostgreSQL fuzzystrmatch writes effectively-arbitrary addresses, via integer wraparound

- Priority: **Routine**
- Reason: Not severe (CVSS 8.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-08-13 · Modified: 2026-08-29
- Aliases: ALPINE-CVE-2026-15742, UBUNTU-CVE-2026-15742, DEBIAN-CVE-2026-15742, CGA-9jr2-crw8-5mm3, CGA-q9x9-m66r-3h44, CGA-5373-5x9g-h3hq, CGA-645v-7pxp-7rm5, CGA-673f-cq9p-gg76, CGA-76g8-8822-g7p3, CGA-7c2f-v42c-mc76, CGA-7m45-6994-pg45, CGA-8r6j-g73r-r93p, CGA-8x8v-cfc5-g8vv, CGA-9v79-j4g9-xvmr, CGA-g899-hw2j-jpv4, CGA-hpr9-v3qj-m46g, CGA-hq64-ff24-x756, CGA-jv29-48vw-963f, CGA-qm6h-m5g6-986c, CGA-vxxg-jfp2-6c3p, CGA-w38j-r3ww-mj77, CGA-w3x3-48wm-j6f6, CGA-xv2h-m8fv-64x5
- Record: https://cvemate.com/vulnerability/CVE-2026-15742 · JSON: https://cvemate.com/vulnerability/CVE-2026-15742/json

## Description

```text
Integer wraparound in PostgreSQL fuzzystrmatch allows a user to direct writes to a huge range of addresses, executing arbitrary code as the operating system user running the database, via extreme inputs to SQL function levenshtein() or levenshtein_less_equal().  Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.
```

## Signals

- CVSS: 8.8 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.595%, percentile 49.888%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 35)

- alpine postgresql15 (Alpine Linux): \< 15.19-r0
- alpine postgresql16 (Alpine Linux): \< 16.15-r0
- alpine postgresql17 (Alpine Linux): \< 17.11-r0
- alpine postgresql18 (Alpine Linux): \< 18.5-r0
- chainguard postgresql-14 (Chainguard): \< 14.24-r0
- chainguard postgresql-14-contrib (Chainguard): \< 14.24-r0
- chainguard postgresql-15 (Chainguard): \< 15.19-r0
- chainguard postgresql-15-contrib (Chainguard): \< 15.19-r0
- chainguard postgresql-16 (Chainguard): \< 16.15-r0
- chainguard postgresql-16-contrib (Chainguard): \< 16.15-r0
- chainguard postgresql-17 (Chainguard): \< 17.11-r0
- chainguard postgresql-17-contrib (Chainguard): \< 17.11-r0
- chainguard postgresql-18 (Chainguard): \< 18.6-r0
- chainguard postgresql-18-contrib (Chainguard): \< 18.6-r0
- wolfi postgresql-14 (Wolfi): \< 14.24-r0
- wolfi postgresql-14-contrib (Wolfi): \< 14.24-r0
- wolfi postgresql-15 (Wolfi): \< 15.19-r0
- wolfi postgresql-15-contrib (Wolfi): \< 15.19-r0
- wolfi postgresql-16 (Wolfi): \< 16.15-r0
- wolfi postgresql-16-contrib (Wolfi): \< 16.15-r0

## References

- <https://www.postgresql.org/support/security/CVE-2026-15742/>
- <https://security.alpinelinux.org/vuln/CVE-2026-15742>
- <https://ubuntu.com/security/CVE-2026-15742>
- <https://www.cve.org/CVERecord?id=CVE-2026-15742>
- <https://www.postgresql.org/about/news/postgresql-186-1711-1615-1519-1424-and-19-beta-3-released-3365/>
- <https://ubuntu.com/security/notices/USN-8653-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-15742>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-15742>

---

Data as of 2026-12-05T05:13:28.774Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
