{"id":"CVE-2026-16241","year":2026,"sequence":16241,"component":"client","score":3.8,"cvss_version":"3.0","vector":"AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L","first_published":"2026-08-13","source_url":"https://www.postgresql.org/support/security/CVE-2026-16241/","facts":{"affected":{"14":"14","15":"15","16":"16","17":"17","18":"18"},"affected_ranges":[{"from":"0","until":"14.24"},{"from":"15","until":"15.19"},{"from":"16","until":"16.15"},{"from":"17","until":"17.11"},{"from":"18","until":"18.6"}],"cna_url":"https://cveawg.mitre.org/api/cve/CVE-2026-16241","component":"client","cvss_version":"3.0","description_en":"Integer underflow in PostgreSQL ECPG allows a database server administrator to achieve temporary denial of service against the ECPG client via sending a bytea value lacking the mandatory prefix. The client overwrites a huge memory region with bytes outside attacker knowledge or control. This typically yields a simple SIGSEGV, but rare cases might achieve client-specific integrity impact via the write. Versions before PostgreSQL 18.6, 17.11, 16.15, 15.19, and 14.24 are affected.","first_published":"2026-08-13","fixed":{"14":"14.24","15":"15.19","16":"16.15","17":"17.11","18":"18.6"},"id":"CVE-2026-16241","introduced":{},"published":{"14":"2026-08-13","15":"2026-08-13","16":"2026-08-13","17":"2026-08-13","18":"2026-08-13"},"score":3.8,"title":"PostgreSQL ECPG integer underflow can crash the client","url":"https://www.postgresql.org/support/security/CVE-2026-16241/","vector":"AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L"},"reviewed_hash":"6a65a7884245936f6adaef8709d290d460e999dfce1ad78734fa7c9a324ed325","source_hash":"965b9e2323feab543f3cbeb74c418c3a5b43cbefc6594d2862ff0d24dcf8e6a2","text":{"locale":"zh-Hans","title":"PostgreSQL ECPG 整数下溢可使客户端崩溃","description":"PostgreSQL ECPG 整数下溢可使客户端崩溃","details":"PostgreSQL ECPG 存在整数下溢，数据库服务器管理员可发送缺少必需前缀的 bytea 值，暂时拒绝 ECPG 客户端服务。客户端会使用攻击者既不知道也无法控制的字节覆盖一大片内存区域，通常只会触发 SIGSEGV； 极少数情况下，这种写入也可能对特定客户端的数据完整性造成影响。PostgreSQL 18.6、17.11、16.15、 15.19 和 14.24 之前的版本受此问题影响。","format":"markdown","provenance":{"identity":"immutable_cve_code","sources":[{"observed_at":"2026-10-03 12:08:35.169032+08","raw":{"component":"client","cve":"2026-16241","cvenumber":202616241,"description":"PostgreSQL ECPG 整数下溢可使客户端崩溃","details":"PostgreSQL ECPG 存在整数下溢，数据库服务器管理员可发送缺少必需前缀的 bytea 值，暂时拒绝 ECPG 客户端服务。客户端会使用攻击者既不知道也无法控制的字节覆盖一大片内存区域，通常只会触发 SIGSEGV； 极少数情况下，这种写入也可能对特定客户端的数据完整性造成影响。PostgreSQL 18.6、17.11、16.15、 15.19 和 14.24 之前的版本受此问题影响。","detailslink":"","id":93,"legacyscore":"","newspost_id":3365,"public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L"},"source":"center","source_id":93,"source_table_sha256":"b57ee28b2263464208af0ccf7512b31f0c1ab7140d12dda09a0c87de341f1372"},{"observed_at":"2026-10-03 12:08:55.967155+08","raw":{"component":"client","cve":"2026-16241","cvenumber":202616241,"description":"PostgreSQL ECPG 整数下溢可使客户端崩溃","details":"PostgreSQL ECPG 存在整数下溢，数据库服务器管理员可发送缺少必需前缀的 bytea 值，暂时拒绝 ECPG 客户端服务。客户端会使用攻击者既不知道也无法控制的字节覆盖一大片内存区域，通常只会触发 SIGSEGV； 极少数情况下，这种写入也可能对特定客户端的数据完整性造成影响。PostgreSQL 18.6、17.11、16.15、 15.19 和 14.24 之前的版本受此问题影响。","detailslink":"","id":93,"legacyscore":"","newspost_id":3365,"public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L"},"source":"pgweb","source_id":93,"source_table_sha256":"b57ee28b2263464208af0ccf7512b31f0c1ab7140d12dda09a0c87de341f1372"}]},"text_hash":"d08383d1ccea1eda8aca3238cdd1f97615c1709134c9d042d3834ff2c2ad6807"},"locales":["en","zh-Hans"],"fixes":[{"major":"14","fixed_version":"14.24","introduced":null,"published_date":"2026-08-13","facts":{"fixed":"14.24","introduced":null,"published":"2026-08-13"}},{"major":"15","fixed_version":"15.19","introduced":null,"published_date":"2026-08-13","facts":{"fixed":"15.19","introduced":null,"published":"2026-08-13"}},{"major":"16","fixed_version":"16.15","introduced":null,"published_date":"2026-08-13","facts":{"fixed":"16.15","introduced":null,"published":"2026-08-13"}},{"major":"17","fixed_version":"17.11","introduced":null,"published_date":"2026-08-13","facts":{"fixed":"17.11","introduced":null,"published":"2026-08-13"}},{"major":"18","fixed_version":"18.6","introduced":null,"published_date":"2026-08-13","facts":{"fixed":"18.6","introduced":null,"published":"2026-08-13"}}],"legacy":[{"source":"center","source_id":93,"observed_at":"2026-10-03 12:08:35.169032+08","raw":{"id":93,"cve":"2026-16241","public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L","details":"PostgreSQL ECPG 存在整数下溢，数据库服务器管理员可发送缺少必需前缀的 bytea 值，暂时拒绝 ECPG 客户端服务。客户端会使用攻击者既不知道也无法控制的字节覆盖一大片内存区域，通常只会触发 SIGSEGV； 极少数情况下，这种写入也可能对特定客户端的数据完整性造成影响。PostgreSQL 18.6、17.11、16.15、 15.19 和 14.24 之前的版本受此问题影响。","component":"client","cvenumber":202616241,"description":"PostgreSQL ECPG 整数下溢可使客户端崩溃","detailslink":"","legacyscore":"","newspost_id":3365},"fixes":[{"source_id":382,"source_version_id":31,"major":"18","fixed_minor":6,"raw":{"id":382,"patch_id":93,"version_id":31,"fixed_minor":6},"version_raw":{"id":31,"tree":18.0,"current":true,"docsgit":"","eoldate":"2030-11-14","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":6,"firstreldate":"2025-09-25"}},{"source_id":383,"source_version_id":30,"major":"17","fixed_minor":11,"raw":{"id":383,"patch_id":93,"version_id":30,"fixed_minor":11},"version_raw":{"id":30,"tree":17.0,"current":false,"docsgit":"","eoldate":"2029-11-08","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":11,"firstreldate":"2024-09-26"}},{"source_id":384,"source_version_id":29,"major":"16","fixed_minor":15,"raw":{"id":384,"patch_id":93,"version_id":29,"fixed_minor":15},"version_raw":{"id":29,"tree":16.0,"current":false,"docsgit":"","eoldate":"2028-11-09","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":15,"firstreldate":"2023-09-14"}},{"source_id":385,"source_version_id":28,"major":"15","fixed_minor":19,"raw":{"id":385,"patch_id":93,"version_id":28,"fixed_minor":19},"version_raw":{"id":28,"tree":15.0,"current":false,"docsgit":"","eoldate":"2027-11-11","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":19,"firstreldate":"2022-10-13"}},{"source_id":386,"source_version_id":27,"major":"14","fixed_minor":24,"raw":{"id":386,"patch_id":93,"version_id":27,"fixed_minor":24},"version_raw":{"id":27,"tree":14.0,"current":false,"docsgit":"","eoldate":"2026-11-12","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T08:10:47.078613+08:00","latestminor":24,"firstreldate":"2021-09-30"}}]},{"source":"pgweb","source_id":93,"observed_at":"2026-10-03 12:08:55.967155+08","raw":{"id":93,"cve":"2026-16241","public":true,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:L","details":"PostgreSQL ECPG 存在整数下溢，数据库服务器管理员可发送缺少必需前缀的 bytea 值，暂时拒绝 ECPG 客户端服务。客户端会使用攻击者既不知道也无法控制的字节覆盖一大片内存区域，通常只会触发 SIGSEGV； 极少数情况下，这种写入也可能对特定客户端的数据完整性造成影响。PostgreSQL 18.6、17.11、16.15、 15.19 和 14.24 之前的版本受此问题影响。","component":"client","cvenumber":202616241,"description":"PostgreSQL ECPG 整数下溢可使客户端崩溃","detailslink":"","legacyscore":"","newspost_id":3365},"fixes":[{"source_id":382,"source_version_id":31,"major":"18","fixed_minor":6,"raw":{"id":382,"patch_id":93,"version_id":31,"fixed_minor":6},"version_raw":{"id":31,"tree":18.0,"current":true,"docsgit":"","eoldate":"2030-11-14","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":6,"firstreldate":"2025-09-25"}},{"source_id":383,"source_version_id":30,"major":"17","fixed_minor":11,"raw":{"id":383,"patch_id":93,"version_id":30,"fixed_minor":11},"version_raw":{"id":30,"tree":17.0,"current":false,"docsgit":"","eoldate":"2029-11-08","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":11,"firstreldate":"2024-09-26"}},{"source_id":384,"source_version_id":29,"major":"16","fixed_minor":15,"raw":{"id":384,"patch_id":93,"version_id":29,"fixed_minor":15},"version_raw":{"id":29,"tree":16.0,"current":false,"docsgit":"","eoldate":"2028-11-09","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":15,"firstreldate":"2023-09-14"}},{"source_id":385,"source_version_id":28,"major":"15","fixed_minor":19,"raw":{"id":385,"patch_id":93,"version_id":28,"fixed_minor":19},"version_raw":{"id":28,"tree":15.0,"current":false,"docsgit":"","eoldate":"2027-11-11","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":19,"firstreldate":"2022-10-13"}},{"source_id":386,"source_version_id":27,"major":"14","fixed_minor":24,"raw":{"id":386,"patch_id":93,"version_id":27,"fixed_minor":24},"version_raw":{"id":27,"tree":14.0,"current":false,"docsgit":"","eoldate":"2026-11-12","reldate":"2026-08-13","testing":0,"supported":true,"docsloaded":"2026-09-27T00:10:45.258078+08:00","latestminor":24,"firstreldate":"2021-09-30"}}]}]}
