{"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-08-12T03:30:12.091607135Z","published":"2023-05-10T05:31:04.406Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-401"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2618.json"},"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":{"extracted_events":[{"introduced":"4.5.2"},{"fixed":"4.8.0"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*"}},{"type":"GIT","repo":"https://github.com/opencv/opencv_contrib","events":[{"introduced":"d511587cf0bc782022db215d20d960afb2e9efe2"},{"fixed":"f10c84d48b0714f2b408c9e5cccfac1277c8e6cc"}],"database_specific":{"extracted_events":[{"introduced":"4.0"},{"last_affected":"4.0"},{"introduced":"4.1"},{"last_affected":"4.1"},{"introduced":"4.2"},{"last_affected":"4.2"},{"introduced":"4.3"},{"last_affected":"4.3"},{"introduced":"4.4"},{"last_affected":"4.4"},{"introduced":"4.5"},{"last_affected":"4.5"},{"introduced":"4.6"},{"last_affected":"4.6"},{"introduced":"4.7"},{"last_affected":"4.7"},{"introduced":"4.5.2"},{"fixed":"4.8.0"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*"}}],"versions":["4.0","4.1","4.2","4.3","4.4","4.5","4.6","4.7","4.7.0","4.6.0","4.5.5","4.5.4","4.5.3","4.5.2","4.5.0","4.5.1","4.4.0","4.3.0","4.2.0","4.1.2","4.1.1","4.1.0","4.0.1","4.0.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-2618.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}