{"id":"CVE-2023-2618","summary":"OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeHanziSegment memory leak","details":"A vulnerability, which was classified as problematic, has been found in OpenCV wechat_qrcode Module up to 4.7.0. Affected by this issue is the function DecodedBitStreamParser::decodeHanziSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation leads to memory leak. The attack may be launched remotely. The name of the patch is 2b62ff6181163eea029ed1cab11363b4996e9cd6. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-228548.","modified":"2026-05-18T05:57:03.207255763Z","published":"2023-05-10T05:31:04.406Z","database_specific":{"cna_assigner":"VulDB","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2618.json","cwe_ids":["CWE-401"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2618.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2618"},{"type":"ADVISORY","url":"https://vuldb.com/?id.228548"},{"type":"REPORT","url":"https://github.com/opencv/opencv_contrib/pull/3484"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.228548"},{"type":"FIX","url":"https://github.com/opencv/opencv_contrib/pull/3484/commits/2b62ff6181163eea029ed1cab11363b4996e9cd6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/opencv/opencv","events":[{"introduced":"898c639f6ab195b81a1d3e9b2470a3f03123dd03"},{"fixed":"f9a59f2592993d3dcc080e495f4f5e02dd8ec7ef"}],"database_specific":{"cpe":"cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*","source":"CPE_FIELD","extracted_events":[{"introduced":"4.5.2"},{"fixed":"4.8.0"}]}}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-2618.json"}},{"ranges":[{"type":"GIT","repo":"https://github.com/opencv/opencv_contrib","events":[{"introduced":"f5d7f6712d4ff229ba4f45cf79dfd11c557d56fd"},{"fixed":"f10c84d48b0714f2b408c9e5cccfac1277c8e6cc"}],"database_specific":{"cpe":"cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"4.5.2"},{"fixed":"4.8.0"}],"source":"CPE_FIELD"}}],"versions":["4.7.0","4.6.0","4.5.5","4.5.4","4.5.3","4.5.2"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-2618.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}