{"id":"CVE-2023-2618","aliases":["DEBIAN-CVE-2023-2618","EUVD-2023-34089","GHSA-v2pm-rv6h-9g9p","JLSEC-2026-568","UBUNTU-CVE-2023-2618","USN-7247-1"],"status":"published","title":"OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeHanziSegment memory leak","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01303,"percentile":0.70906,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-401"],"published":"2023-05-10T05:31:04Z","modified":"2026-10-31T02:46:15Z","fixes":[{"ecosystem":"Debian:12","package":"opencv","fixed_in":["4.6.0+dfsg-12"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"opencv","fixed_in":["4.6.0+dfsg-12"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"opencv","fixed_in":["4.6.0+dfsg-12"],"sources":["osv"]},{"ecosystem":"Julia","package":"OpenCV_jll","fixed_in":["4.10.0+0"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"opencv","fixed_in":["4.5.4+dfsg-9ubuntu4+esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.0+dfsg-12"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.0+dfsg-12"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.6.0+dfsg-12"}]}]},{"source":"osv","ecosystem":"Julia","package":"OpenCV_jll","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.10.0+0"}]}]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.4+dfsg-9ubuntu4+esm1"}]}],"versions":["4.5.3+dfsg-1ubuntu1","4.5.4+dfsg-9ubuntu2","4.5.4+dfsg-9ubuntu4"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.2.0+dfsg-4ubuntu0.1+esm4"}]}],"versions":["3.1.0+dfsg1-1~exp1ubuntu3","3.2.0+dfsg-3","3.2.0+dfsg-4","3.2.0+dfsg-4build1","3.2.0+dfsg-4build2","3.2.0+dfsg-4ubuntu0.1","3.2.0+dfsg-4ubuntu0.1+esm2","3.2.0+dfsg-4ubuntu0.1+esm3"],"bundled":5},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"opencv","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.5.4+dfsg-9ubuntu4+esm1"}]}],"versions":["4.5.3+dfsg-1ubuntu1","4.5.4+dfsg-9ubuntu2","4.5.4+dfsg-9ubuntu4"],"bundled":5}],"products":[{"vendor":"opencv","product":"opencv"},{"vendor":"opencv","product":"wechat_qrcode module"}],"references":[{"url":"https://vuldb.com/?id.228548","tags":["vdb-entry","technical-description","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://vuldb.com/?ctiid.228548","tags":["signature","permissions-required","x_transferred","Permissions Required","report","web"]},{"url":"https://github.com/opencv/opencv_contrib/pull/3484","tags":["issue-tracking","x_transferred","Patch","report","web"]},{"url":"https://github.com/opencv/opencv_contrib/pull/3484/commits/2b62ff6181163eea029ed1cab11363b4996e9cd6","tags":["issue-tracking","patch","x_transferred","Patch","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2618","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v2pm-rv6h-9g9p"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2618.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-2618","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-2618","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2618","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7247-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2019-14493","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-16249","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2019-19624","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2023-2617","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-2618","title":"OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeHanziSegment memory leak","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.","status":"published","published":"2023-05-10T05:31:04.406Z","modified":"2024-08-02T06:26:10.033Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"},{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"cna"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","assessor":"cna"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:35:24.004321Z"}],"euvd":[{"id":"EUVD-2023-34089","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.","status":"published","published":"2023-05-10T05:31:04Z","modified":"2024-08-02T06:26:10Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-03T03:50:14.098658Z"}],"ghsa":[{"id":"GHSA-v2pm-rv6h-9g9p","title":"A vulnerability, which was classified as problematic, has been found in OpenCV wechat_qrcode...","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.","status":"published","published":"2023-05-10T06:30:29Z","modified":"2023-11-07T05:05:54Z","cvss":[{"version":"3.0","score":5.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:54:53.274776Z"}],"nvd":[{"id":"CVE-2023-2618","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.","status":"published","published":"2023-05-10T06:15:17.577Z","modified":"2026-06-17T05:53:01.44Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"secondary"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T14:08:01.131774Z"}],"osv":[{"id":"CVE-2023-2618","title":"OpenCV wechat_qrcode Module decoded_bit_stream_parser.cpp decodeHanziSegment memory leak","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.","status":"published","published":"2023-05-10T05:31:04.406Z","modified":"2026-10-31T02:46:15.640564219Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"cwes":["CWE-401"],"updated_at":"2026-11-02T15:44:31.135751Z"},{"id":"DEBIAN-CVE-2023-2618","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.","status":"published","published":"2023-05-10T06:15:17.577Z","modified":"2026-10-26T18:01:38.322342574Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:39.369204Z"},{"id":"JLSEC-2026-568","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.","status":"published","published":"2026-06-05T15:18:28.412Z","modified":"2026-07-25T18:24:38.424662483Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:47:18.573531Z"},{"id":"UBUNTU-CVE-2023-2618","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.","status":"published","published":"2023-05-10T06:15:00Z","modified":"2026-04-22T14:04:02.604968Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T16:54:20.198616Z"},{"id":"USN-7247-1","title":"opencv vulnerabilities","description":"It was discovered that OpenCV did not properly manage certain XML data,\nleading to a NULL pointer dereference. If a user were tricked into\nloading a specially crafted file, a remote attacker could possibly use\nthis issue to make OpenCV crash, resulting in a denial of service.\nThis issue only affected Ubuntu 18.04 LTS. (CVE-2019-14493)\n\nIt was discovered that OpenCV may perform out-of-bounds reads in certain\nsituations. An attacker could possibly use this issue to cause OpenCV to\ncrash, resulting in a denial of service, or the execution of arbitrary\ncode. This issue only affected Ubuntu 18.04 LTS.\n(CVE-2019-16249, CVE-2019-19624)\n\nIt was discovered that the QR code module of OpenCV incorrectly processed\ncertain maliciously crafted QR codes. A remote attacker could possibly use\nthis issue to cause OpenCV to crash, resulting in a denial of service.\nThis issue only affected Ubuntu 22.04 LTS. (CVE-2023-2617, CVE-2023-2618)\n","status":"published","published":"2025-02-03T13:46:02Z","modified":"2026-04-27T17:47:13.44901738Z","updated_at":"2026-11-02T16:58:18.876384Z"}]}}
