CVE-2023-2618 json
OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeHanziSegment memory leak
published 2023-05-10 3 y ago modified 2026-07-25 3 mo ago also EUVD-2023-34089 , JLSEC-2026-568
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
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.
Patch / fix
- julia OpenCV_jll 4.10.0+0
- opencv opencv 4.8.0
- opencv Debian 14, Debian 13, Debian 12 4.6.0+dfsg-12
debian advisories DEBIAN-CVE-2023-2618
- opencv Ubuntu Pro 22.04 LTS 4.5.4+dfsg-9ubuntu4+esm1
ubuntu advisories UBUNTU-CVE-2023-2618
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- github.com/opencv/opencv_contrib#3484 commit
- github.com/opencv/opencv_contrib#3484 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-2618 updated cvss 7.5
OpenCV: memory leak in wechat_qrcode module
-
Red Hat JBoss Enterprise Application Platform 6 org.keycloak-keycloak-parent org.keycloak-keycloak-parentaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 6 opencv, opencv-python Red Hat Enterprise Linux 7 opencv, opencv-core, opencv-python Red Hat Enterprise Linux 8 opencv, opencv-core, opencv-contrib, python3-opencv Red Hat Single Sign-On 7 org.keycloak-keycloak-parent org.keycloak-keycloak-parentnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
1.30% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.0 | 5.3 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | OpenCV_jll | <4.10.0+0 |
4.10.0+0 |
Affected products
- OpenCV wechat_qrcode Module
Classification
- Weakness
-
- CWE-401 Missing Release of Memory after Effective Lifetime
References
-
github.com
/opencv/opencv_contrib/pull/3484
issue-tracking, patch, web
-
github.com
/opencv/opencv_contrib/pull/3484/commits/2b62ff6181163eea029ed1cab11363b4996e9cd6
issue-tracking, patch, web
-
vuldb.com
/?id.228548
vdb-entry, technical-description, third-party-advisory, web
-
vuldb.com
/?ctiid.228548
signature, permissions-required, web
Sources
- CVE List CVE-2023-2618
- NVD CVE-2023-2618
- OSV JLSEC-2026-568
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.