{"id":"CVE-2023-2618","aliases":["CVE-2023-2618"],"related":[],"kind":"vulnerability","state":"published","title":"OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeHanziSegment memory leak","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"de","text":"Eine problematische Schwachstelle wurde in OpenCV wechat_qrcode Module bis 4.7.0 entdeckt. Betroffen davon ist die Funktion DecodedBitStreamParser::decodeHanziSegment der Datei qrcode/decoder/decoded_bit_stream_parser.cpp. Dank Manipulation mit unbekannten Daten kann eine memory leak-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei über das Netzwerk erfolgen. Der Patch wird als 2b62ff6181163eea029ed1cab11363b4996e9cd6 bezeichnet. Als bestmögliche Massnahme wird Patching empfohlen.","source":"cvelist"}],"published":"2023-05-10T05:31:04.406Z","modified":"2026-06-17T05:53:01.440Z","severity":{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"version":"4.0","status":"affected"},{"version":"4.1","status":"affected"},{"version":"4.2","status":"affected"},{"version":"4.3","status":"affected"},{"version":"4.4","status":"affected"},{"version":"4.5","status":"affected"},{"version":"4.6","status":"affected"},{"version":"4.7","status":"affected"}],"vendor":"OpenCV","product":"wechat_qrcode Module","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.5.2","fixed":"4.8.0"}],"vendor":"opencv","product":"opencv","cpe":"cpe:2.3:a:opencv:opencv:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.228548","tags":["technical-description","third-party-advisory","vdb-entry","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.228548","tags":["permissions-required","signature","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv_contrib/pull/3484","tags":["issue-tracking","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://github.com/opencv/opencv_contrib/pull/3484/commits/2b62ff6181163eea029ed1cab11363b4996e9cd6","tags":["issue-tracking","patch","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Linkai Zheng","NanoApe (VulDB User)"],"assigner":"VulDB","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-2618","url":"https://www.cve.org/CVERecord?id=CVE-2023-2618","licence":"CVE Terms of Use","modified":"2024-08-02T06:26:10.033Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-2618","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2618","licence":"Public domain","modified":"2026-06-17T05:53:01.440Z"}],"updatedAt":"2026-11-25T22:58:24.046Z","epss":{"score":0.01303,"percentile":0.71329,"date":"2026-12-01T12:00:22.000Z"}}