CVE-2026-15742
No exploitation reported by the sources we read.
- Published2026-08-13
- Fixed in18.5 · 17.11 · 16.15 · 15.19 · 14.24
- WeaknessCWE-190
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2026-08-1313:17CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 18.x | ≥ 18.0, < 18.5 | 18.5 | NVD |
| 17.x | ≥ 17.0, < 17.11 | 17.11 | NVD |
| 16.x | ≥ 16.0, < 16.15 | 16.15 | NVD |
| 15.x | ≥ 15.0, < 15.19 | 15.19 | NVD |
| 14.x | ≥ 14.0, < 14.24 | 14.24 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 18.x | ≥ 18.0.0, < 18.5.0 | 18.5.0 | OSV |
| 17.x | ≥ 17.0.0, < 17.11.0 | 17.11.0 | OSV |
| 16.x | ≥ 16.0.0, < 16.15.0 | 16.15.0 | OSV |
| 15.x | ≥ 15.0.0, < 15.19.0 | 15.19.0 | OSV |
| 14.24 | < 14.24.0 | 14.24.0 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As PostgreSQL, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- PostgreSQLother versions: not affectedAffected
- ≥ 18, < 18.6fixed in 18.6rpm
- ≥ 17, < 17.11fixed in 17.11rpm
- ≥ 16, < 16.15fixed in 16.15rpm
- ≥ 15, < 15.19fixed in 15.19rpm
- < 14.24fixed in 14.24rpm
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2026-08-29
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- pg_repackRocky Linux:9all versions · fixed in 0:1.4.8-2.module+el9.7.0+40011+28af63c9
- pg_repackRocky Linux:9all versions · fixed in 0:1.5.1-1.module+el9.8.0+40159+adcaa225
- pg_repackRocky Linux:9all versions · fixed in 0:1.5.1-1.module+el9.8.0+40212+d6f50005
- pg_repackRocky Linux:9all versions · fixed in 0:1.5.3-1.module+el9.8.0+40158+490b3c67
- pg_repackRocky Linux:9all versions · fixed in 0:1.5.3-1.module+el9.8.0+40213+f1e225a4
- pg_repackRocky Linux:8all versions · fixed in 0:1.4.6-3.module+el8.10.0+1862+29bef648
- pg_repackRocky Linux:8all versions · fixed in 0:1.4.6-3.module+el8.10.0+40055+b85d5ce2
- pg_repackRocky Linux:8all versions · fixed in 0:1.4.6-3.module+el8.9.0+1594+4a6adae9
266 more package ranges on OSV.dev
Vendor advisories
postgresql-fuzzystrmatch: PostgreSQL fuzzystrmatch: Arbitrary code execution via integer wraparound
postgresql as a component of Red Hat Enterprise Linux 6 · postgresql-contrib as a component of Red Hat Enterprise Linux 6 · postgresql-devel as a component of Red Hat Enterprise Linux 6 · +8 more
Red Hat Security Advisory: postgresql security update
Red Hat Security Advisory: postgresql:12 security update
Red Hat Security Advisory: Ansible automation portal Red Hat Enterprise Linux Images
Red Hat Security Advisory: postgresql security update
Red Hat Security Advisory: postgresql:12 security update
20 more advisories
Fix
- Update PostgreSQL to 18.5 · 17.11 · 16.15 · 15.19 · 14.24
- Vendor fix Red Hat Product Security RHSA-2026:84585 · 75 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:73404 · 1 productFor more about Ansible Portal Installer Bootc, see References links
- Vendor fix Red Hat Product Security RHSA-2026:71603 · 1 productThe container images provided by this release, apart from the installer, should be deployed using rhui-installer utility. See the official documentation for more details.
- Workaround from the vendor Red Hat Product Security RHSA-2026:84585 · 75 productsTo mitigate this issue, consider disabling the `fuzzystrmatch` extension within PostgreSQL if its functionality is not essential. Alternatively, the `postgresql-fuzzystrmatch` package can be removed. Disabling or removing the extension may affect applications that rely on the `levenshtein()` or `le…
Advisories and patches
- www.postgresql.orgVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2026-08-13
- CNACVSS 3.18.8known since 2026-10-23
- CNAweakness (CWE)CWE-190known since 2026-10-23
- FIRST EPSSEPSS score0.6 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-95747same flawAzure Linux · MIT
- BIT-postgresql-2026-15742same flawBitnami · Apache-2.0
- CGA-5373-5x9g-h3hqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-645v-7pxp-7rm5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-673f-cq9p-gg76same flawChainguard · CC-BY-NC-ND-4.0
- CGA-76g8-8822-g7p3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7c2f-v42c-mc76same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7m45-6994-pg45same flawChainguard · CC-BY-NC-ND-4.0
- CGA-8r6j-g73r-r93psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8x8v-cfc5-g8vvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9jr2-crw8-5mm3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9v79-j4g9-xvmrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-g899-hw2j-jpv4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-hpr9-v3qj-m46gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hq64-ff24-x756same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jv29-48vw-963fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-q9x9-m66r-3h44same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qm6h-m5g6-986csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vxxg-jfp2-6c3psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-w38j-r3ww-mj77same flawChainguard · CC-BY-NC-ND-4.0
- CGA-w3x3-48wm-j6f6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-xv2h-m8fv-64x5same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2026-57847same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-rvq6-xp6x-5575same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-1588same flawJulia Security Advisories · CC-BY-4.0
- MINI-3p9p-w67q-fxqxsame flawMinimOS · LicenseRef-unstated
- MINI-99pp-wpp4-3m7jsame flawMinimOS · LicenseRef-unstated
- MINI-cvg8-gh2v-jrr5same flawMinimOS · LicenseRef-unstated
- MINI-gxx7-hpf5-qjfjsame flawMinimOS · LicenseRef-unstated
- MINI-j7j3-3jf9-94jjsame flawMinimOS · LicenseRef-unstated
- MINI-m8gr-5vpq-4j39same flawMinimOS · LicenseRef-unstated
- ALSA-2026:67280advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:67491advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:67848advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:69607advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:69876advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:69914advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:69923advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:69924advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:70186advisory covering several CVEsAlmaLinux · MIT
- DLA-4740-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-6438-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2026-0347advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2026-3420advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3421advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3422advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3423advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-3424advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:11552-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2026:11553-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Published
- 2026-08-13
- Last modified
- 2026-08-29
- NVD status
- Modified
- GitHub advisory
- GHSA-rvq6-xp6x-5575
Frequently asked questions
What is CVE-2026-15742?
Is CVE-2026-15742 actively exploited?
What is the CVSS score for CVE-2026-15742?
Running PostgreSQL? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-rvq6-xp6x-5575
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0