Description
A vulnerability classified as problematic was found in OpenCV wechat_qrcode Module up to 4.7.0. Affected by this vulnerability is the function DecodedBitStreamParser::decodeByteSegment of the file qrcode/decoder/decoded_bit_stream_parser.cpp. The manipulation leads to null pointer dereference. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-228547.
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 1
- USN-7247-1 opencv vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
References
- https://vuldb.com/?id.228547 vdb-entry technical-description
- https://vuldb.com/?ctiid.228547 signature permissions-required
- https://github.com/opencv/opencv_contrib/pull/3480 issue-tracking patch
- https://gist.github.com/GZTimeWalker/3ca70a8af2f5830711e9cccc73fb5270 exploit