Vulnerability · Published May 10, 2023 · Assigned by VulDB
CVE-2023-2618OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeHanziSegment memory leak
Medium 5.3
In plain English
A medium-severity memory leak in wechat_qrcode Module from OpenCV. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | opencv | 4.6.0+dfsg-12 | DEBIAN-CVE-2023-2618 |
| Debian:13 | opencv | 4.6.0+dfsg-12 | DEBIAN-CVE-2023-2618 |
| Debian:14 | opencv | 4.6.0+dfsg-12 | DEBIAN-CVE-2023-2618 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| OpenCV | wechat_qrcode Module | 4.04.14.24.34.44.54.64.7 |
Weakness: CWE-401 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
References
- https://vuldb.com/?id.228548 vdb-entry, technical-description
- https://vuldb.com/?ctiid.228548 signature, permissions-required
- https://github.com/opencv/opencv_contrib/pull/3484 issue-tracking
- https://github.com/opencv/opencv_contrib/pull/3484/commits/2b62ff6181163eea029ed1cab11363b4996e9cd6 issue-tracking, patch