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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| OpenCV | wechat_qrcode Module | 4.0, 4.1, 4.2, 4.3, 4.4, 4.5, 4.6, 4.7 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | opencv | 4.6.0+dfsg-12 | — |
| Debian 13 | opencv | 4.6.0+dfsg-12 | — |
| Debian 12 | opencv | 4.6.0+dfsg-12 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | opencv | 4.5.4+dfsg-9ubuntu4+esm1 | USN-7247-1 |
| Ubuntu Pro 18.04 LTS | opencv | 3.2.0+dfsg-4ubuntu0.1+esm4 | USN-7247-1 |
Advisories 4
- USN-7247-1 opencv vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- WID-SEC-2024-0873 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 16, 2024
- WID-SEC-2024-0125 Oracle Enterprise Manager: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
- WID-SEC-2024-0124 Oracle Financial Services Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 16, 2024
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