CVE-2023-2618
OpenCV: memory leak in wechat_qrcode module
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 10, 2023
Updated · November 21, 2025
Description
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.
Statement
The OpenCV packages as shipped with Red Hat Enterprise Linux 6, 7 and 8 versions are not affected by this issue as Red Hat doesn't ship wechat_qrcode module within opencv-contrib package.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE not specified