# CVE-2026-33815: CVE-2026-33815 in github.com/jackc/pgx

> A memory-safety vulnerability in the pgx Go driver allows attackers to potentially execute arbitrary code or cause denial of service.

- **Severity:** Critical 9.8 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 7 Apr 2026
- **Updated:** 17 Sep 2026
- **Also known as:** CLEANSTART-2026-JS92674, CLEANSTART-2026-VL17238, CLEANSTART-2026-ZW76652, DEBIAN-CVE-2026-33815, ECHO-b55a-3afc-2e4a, GHSA-xgrm-4fwx-7qm8, GO-2026-4771, MINI-26f6-23c4-2mx2, MINI-27px-cpgf-9x8r, MINI-2927-88cc-c9jc, MINI-2c24-42xq-29p5, MINI-2c94-7gpr-xqx7, MINI-2gpf-px6w-f674, MINI-2h65-px5c-vfqr, MINI-2pj7-88hw-7hcr, MINI-2px8-8fpp-rvj6, MINI-37gv-38fv-gm4h, MINI-389h-89cg-wx6c, MINI-3hr9-f5fg-x3xx, MINI-3whg-442f-6cqw, MINI-454v-q5gg-38qf, MINI-4c3h-2h26-8jpm, MINI-4f56-5x6m-m8mm, MINI-4j2x-rg8q-vfpr, MINI-4p8g-mhg5-5p75, MINI-56gp-4r43-m4qh, MINI-579c-645h-2hwx, MINI-582r-mxj9-4427, MINI-58cq-p5mm-c2vq, MINI-599f-fp8m-925w, MINI-5jcp-8q48-55mr, MINI-5m62-567q-vrqx, MINI-5xrc-jxpr-447m, MINI-639v-wgvw-vr9w, MINI-63qp-g778-g86f, MINI-64r7-q7q9-6mr4, MINI-68p5-3jw9-6xc6, MINI-6jjf-6xhv-c3hm, MINI-6rhw-4x4p-j5jg, MINI-6xjw-cw6p-p82h, MINI-73q9-rvf4-r7jf, MINI-7875-h4jq-rpq8, MINI-7gcv-jf27-pppx, MINI-7jr6-m25c-p66f, MINI-7m4f-46x5-x439, MINI-7p68-4gvh-f8gc, MINI-7rx8-q2m6-h29q, MINI-7v3w-qmf6-4xpc, MINI-7w7w-hvvf-3424, MINI-835p-jfj7-7vrc, MINI-8729-xr8r-vq45, MINI-8pq3-69m2-r59x, MINI-8q3r-pq72-vw5h, MINI-8v2c-hj66-69rf, MINI-8xv8-hfh4-3jvx, MINI-8xwr-26mg-j257, MINI-937v-5m64-4m57, MINI-94pr-gqqc-92wh, MINI-95x6-whjc-5jrc, MINI-9mmm-qvpq-78fx, MINI-9rch-7r86-j87w, MINI-9w34-c46g-xv4p, MINI-9wr6-h7jr-c295, MINI-c38c-pw6j-qj98, MINI-c4c3-39v2-9964, MINI-c77g-hvhj-3pq8, MINI-c9hv-qg98-mh88, MINI-cpv8-jphq-fpv9, MINI-cw37-j7j2-56h2, MINI-f4qx-ffrp-v6q8, MINI-fvxr-rr87-v353, MINI-g2gc-cjjx-85q7, MINI-g4hq-92rg-3484, MINI-gvw8-r42q-v62c, MINI-gx66-w6jh-f4x5, MINI-h672-jfq5-5v3v, MINI-hcxx-w589-w5p7, MINI-hjcp-52gg-mx62, MINI-hwm2-gf5v-p9r8, MINI-j538-w287-3cmf, MINI-jcm3-qvrm-hgq7, MINI-jg62-4576-22ph, MINI-m4j8-4xmm-792f, MINI-m73j-cxgc-fh98, MINI-m79w-7q44-pjv9, MINI-mhm6-p59r-57p3, MINI-mmvx-rm89-m3j8, MINI-mr3g-2cgw-gvqw, MINI-mrfc-xh8m-3qqp, MINI-mvpq-58jr-p26j, MINI-p4x6-8vqp-vr7w, MINI-ppj6-2f56-q67w, MINI-pvqx-43w4-67r7, MINI-pwc7-h3v6-fqj9, MINI-pxhv-xcr4-rvw3, MINI-q5gf-6ww5-pfcw, MINI-q843-79fp-72hj, MINI-qhqm-chwh-33h2, MINI-qjm7-9vw5-f8rq, MINI-qjwf-c3mv-w7q7, MINI-qm5m-cjhp-jcq6, MINI-qp27-f9v9-qgpx, MINI-qx3m-362x-x7qh, MINI-r22r-mp7f-254q, MINI-r8fv-8mjx-f69c, MINI-r8hc-9fp9-fmf2, MINI-rqw6-5h3j-qhp3, MINI-rrm4-gq2c-f3xq, MINI-rx5x-3c2v-78jr, MINI-v5q9-86mv-2cp9, MINI-v7rv-j67q-wvr4, MINI-v9qh-xmvm-869p, MINI-vjqq-842j-v927, MINI-vpjj-3qq5-2cj6, MINI-vwmh-gwxj-fvcf, MINI-wqm5-4pqr-pc3c, MINI-ww63-cp7m-vx75, MINI-x492-g4x6-wwjw, MINI-x5q3-wf73-wfgm, MINI-x7qf-j8f9-4m2v, MINI-xgp7-c922-f4gw, MINI-xhq7-g86g-42w2, ROOT-APP-GOBINARY-CVE-2026-33815, UBUNTU-CVE-2026-33815

## What is CVE-2026-33815?

CVE-2026-33815 is a critical memory corruption vulnerability in github.com/jackc/pgx/v5/pgproto3, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Memory-safety vulnerability in github.com/jackc/pgx/v5.

Weakness: CWE-787 (Out-of-bounds Write)

## Which versions are affected by CVE-2026-33815?

3 open source packages ship an affected version, including github.com/jackc/pgx/v5. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `github.com/jackc/pgx/v5` | Go | All versions | 5.9.0 |
| `github.com/jackc/pgx/v5` | Go | All versions | 5.9.0 |
| `github.com/jackc/pgx/v5` | Go | All versions | 5.9.0 |

Products: Jackc Pgx.

## How do I fix CVE-2026-33815?

Upgrade github.com/jackc/pgx/v5 to 5.9.0 or later.

## Is CVE-2026-33815 being exploited?

There is no known exploitation of CVE-2026-33815 in the wild and no public exploit code.

## Other vulnerabilities in github.com/jackc/pgx/v5/pgproto3

- [CVE-2026-33816](https://insights.sbomify.com/CVE-2026-33816/): CVE-2026-33816 in github.com/jackc/pgx (critical 9.8)
- [CVE-2024-27289](https://insights.sbomify.com/CVE-2024-27289/): pgx SQL Injection via Line Comment Creation (high 8.1)
- [CVE-2026-41889](https://insights.sbomify.com/CVE-2026-41889/): pgx: SQL Injection via placeholder confusion with dollar quoted string literals (low 2.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-33815 and fix it if it is affected.

What it is: CVE-2026-33815 is a critical memory corruption vulnerability in github.com/jackc/pgx/v5/pgproto3, published on 7 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-33815 in the wild and no public exploit code.

Affected packages and fixed versions:
- github.com/jackc/pgx/v5 (Go): affected all versions; fixed in 5.9.0
- github.com/jackc/pgx/v5 (Go): affected all versions; fixed in 5.9.0
- github.com/jackc/pgx/v5 (Go): affected all versions; fixed in 5.9.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-33815/ (Markdown: https://insights.sbomify.com/CVE-2026-33815/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-33815
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-33815
- OSV: https://osv.dev/vulnerability/CVE-2026-33815

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-33815/
Summaries are generated and may contain mistakes; the official description above is the record.
