{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-50738 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-50738 is a high-severity use after free vulnerability in EnterpriseDB pglogical, published on 28 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-50738 and fix it if it is affected.\n\nWhat it is: CVE-2026-50738 is a high-severity use after free vulnerability in EnterpriseDB pglogical, published on 28 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-50738 in the wild and no public exploit code.\n\nAffected product: EnterpriseDB pglogical. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. 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.\n2. 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.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-50738/ (Markdown: https://insights.sbomify.com/CVE-2026-50738/index.md)","id":"CVE-2026-50738","markdown":"https://insights.sbomify.com/CVE-2026-50738/index.md","name":"CVE-2026-50738","record":{"aliases":["DEBIAN-CVE-2026-50738","ECHO-af9c-763e-6a2b","GHSA-7pcx-4vjw-f9pr","UBUNTU-CVE-2026-50738"],"analysis":{"component_type":"database","fix_type":"patch","impacts":["denial_of_service","code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"PostgreSQL extension","requires_auth":"low_privilege","summary":"A use-after-free in pglogical allows low-privileged users to crash replication workers or potentially execute remote code via worker lifecycle manipulation.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"EDB","cpe":[{"product":"pglogical","vendor":"enterprisedb"}],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"A use-after-free condition exists in pglogical's worker signaling code, where a worker structure can be dereferenced after the underlying slot has been freed or recycled during normal worker lifecycle events. The condition is reachable during normal replication operation, including by a low-privileged user able to influence worker start, stop, and restart timing through permitted pglogical operations. In the typical case the condition crashes replication workers, causing an availability impact. In the worst case a use-after-free in a PostgreSQL backend can be leveraged as a remote code execution primitive at the privilege of that backend.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Use after free in pglogical","id":"CVE-2026-50738","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Missing authorization in Adserver","id":"CVE-2026-50739"},"packages":[],"prev":{"headline":"Privilege escalation in pglogical","id":"CVE-2026-50737"},"products":["pglogical"],"published":"2026-07-28","related":[{"cvss_score":9,"headline":"SQL injection in pglogical","id":"CVE-2026-50736","kev_date_added":null,"published":"2026-07-28"},{"cvss_score":9,"headline":"Privilege escalation in pglogical","id":"CVE-2026-50737","kev_date_added":null,"published":"2026-07-28"},{"cvss_score":6.1,"headline":"Information disclosure in pglogical","id":"CVE-2026-50735","kev_date_added":null,"published":"2026-07-28"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-07-28","vendors":["EnterpriseDB"]},"summary":"A use-after-free in pglogical allows low-privileged users to crash replication workers or potentially execute remote code via worker lifecycle manipulation.","url":"https://insights.sbomify.com/CVE-2026-50738/"}