# CVE-2026-50735: pglogical's apply worker does not sufficiently validate the length of certain fields in incoming replication protocol messages before copyi…

- Severity: Medium 6.1 (CVSS:4.0, scored by EDB) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.26%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-28T17:55:12.049Z
- Modified: 2026-11-12T19:17:04.430Z
- Weaknesses: CWE-125
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: EDB

## Description

pglogical's apply worker does not sufficiently validate the length of certain fields in incoming replication protocol messages before copying them, resulting in an out-of-bounds read. A party acting as the publisher for a subscription, for example a non-PostgreSQL endpoint that speaks the pglogical replication protocol, can return crafted messages that cause the subscriber's apply worker to read beyond the bounds of an allocated buffer, disclosing adjacent process memory or crashing the worker. To exploit the issue an attacker must be able to direct a subscription at an endpoint they control. In default installations this requires privileges normally reserved for a superuser, so the issue is most relevant to managed deployments where the ability to create subscriptions has been delegated to non-superuser roles.

(As written by CVE List.)

## Affected

- EnterpriseDB pglogical: from 2 before 2.4.8; from 2.0.0 before 2.4.8
- pgEdge Spock: from 3 up to 3.3.6; from 4 up to 4.1.0.3; from 5 up to 5.0.11 (not affected: 3.3.7; 4.1.1; 5.0.12)

## Every score

- EDB: CVSS:4.0 6.1 Medium `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/pgEdge/spock/security/advisories/GHSA-j2m3-f88h-2h46> (exploit, vendor-advisory)
- <https://www.enterprisedb.com/docs/security/advisories/cve202650735/> (vendor-advisory)

## Sources

- CVE List: [CVE-2026-50735](https://www.cve.org/CVERecord?id=CVE-2026-50735), CVE Terms of Use, modified 2026-11-12
- NVD: [CVE-2026-50735](https://nvd.nist.gov/vuln/detail/CVE-2026-50735), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-50735 · Whole record: https://cve.day/CVE-2026-50735.json · Rebuilt by cve.day 2026-11-25T22:59:30.369Z
