{"id":41428,"date":"2026-10-19T16:31:33","date_gmt":"2026-10-19T08:31:33","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-111439"},"modified":"2026-10-19T16:31:33","modified_gmt":"2026-10-19T08:31:33","slug":"cve-2026-111439","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-111439","title":{"rendered":"CVE-2026-111439 [MEDIUM] &#8211; \u5728 openGauss-server\u7684 src\/common\/backend\/utils\/adt\/genfile.cpp \u6a21\u5757\u4e2d\uff0c\u5185\u7f6e\u51fd\u6570 pg_read_binary_file_"},"content":{"rendered":"<p>\u5728 openGauss-server\u7684 src\/common\/backend\/utils\/adt\/genfile.cpp \u6a21\u5757\u4e2d\uff0c\u5185\u7f6e\u51fd\u6570 pg_read_binary_file_blocks() \u5b58\u5728\u6743\u9650\u6821\u9a8c\u903b\u8f91\u7f3a\u9677\u3002\u8be5\u51fd\u6570\u5728\u5165\u53e3\u5904\u4ec5\u6821\u9a8c\u4e86\u8d77\u59cb\u5757\u53f7\uff08startBlockNum\uff09\u548c\u5757\u6570\u91cf\uff08blockCount\uff09\u7684\u8303\u56f4\uff0c\u968f\u540e\u76f4\u63a5\u8c03\u7528\u5e95\u5c42\u6587\u4ef6\u8bfb\u53d6\u4f8b\u7a0b ReadBinaryFileBlocksFirstCall()\u3002\u8be5\u5e95\u5c42\u4f8b\u7a0b\u4ec5\u6267\u884c\u4e86\u8def\u5f84\u89c4\u8303\u5316\u68c0\u67e5\u4ee5\u53ca\u9488\u5bf9 .. \u8def\u5f84\u904d\u5386\u548c\u6570\u636e\u76ee\u5f55\u8fb9\u754c\u7684\u57fa\u672c\u68c0\u67e5\uff0c\u7f3a\u5931\u4e86\u5bf9\u8c03\u7528\u8005\u6570\u636e\u5e93\u6743\u9650\uff08\u5982 SELECT \u6743\u9650\uff09\u7684\u6821\u9a8c\u3002\u6b64\u5916\uff0c\u8f85\u52a9\u51fd\u6570 is_row_data_file() \u4e5f\u4ec5\u7528\u4e8e\u8bc6\u522b\u6587\u4ef6\u5f62\u6001\uff0c\u672a\u5305\u542b\u6743\u9650\u68c0\u67e5\u3002\u56e0\u6b64\uff0c\u4efb\u4f55\u62e5\u6709\u666e\u901a\u6570\u636e\u5e93\u8fde\u63a5\u6743\u9650\u7684\u7528\u6237\uff0c\u53ea\u8981\u80fd\u591f\u901a\u8fc7 pg_relation_filepath() \u7b49\u51fd\u6570\u83b7\u53d6\u5230\u76ee\u6807\u8868\u7684\u5e95\u5c42\u5173\u7cfb\u6587\u4ef6\u8def\u5f84\uff08\u4f8b\u5982\u538b\u7f29\u6570\u636e\u7684 _compress \u6587\u4ef6\u8def\u5f84\uff09\uff0c\u5373\u53ef\u65e0\u9700\u5177\u5907\u8be5\u8868\u7684 SELECT \u6743\u9650\uff0c\u76f4\u63a5\u8bfb\u53d6\u8868\u6570\u636e\u7684\u4e8c\u8fdb\u5236\u5757\u3002<br \/>\n\u6b64\u6f0f\u6d1e\u5f71\u54cd\u6b64\u524d3.0.0\u52306.0.0\u95f4\u7684\u6240\u6709\u7248\u672c\u53ca\u8865\u4e01\u7248\uff0c\u5e76\u57287.0.0-LTS\u7248\u672c\u4fee\u590d\u3002\u4fee\u590dpatch\u8be6\u89c1\uff1ahttps:\/\/gitcode.com\/opengauss\/openGauss-server\/pull\/9374\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5728 openGauss-server\u7684 src\/common\/backend\/utils\/adt\/genfile.cpp \u6a21\u5757\u4e2d\uff0c\u5185\u7f6e\u51fd\u6570 pg_read_binary_file_blocks() \u5b58\u5728\u6743\u9650\u6821\u9a8c\u903b\u8f91\u7f3a\u9677\u3002\u8be5\u51fd\u6570\u5728\u5165\u53e3\u5904\u4ec5\u6821\u9a8c\u4e86\u8d77\u59cb\u5757\u53f7\uff08startBlockNum\uff09\u548c\u5757\u6570\u91cf\uff08blockCount\uff09\u7684\u8303\u56f4\uff0c\u968f\u540e\u76f4\u63a5\u8c03\u7528\u5e95\u5c42\u6587\u4ef6\u8bfb\u53d6\u4f8b\u7a0b ReadBinaryFileBlocksFirst<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-41428","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/41428","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=41428"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=41428"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=41428"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}