{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-2618",
        "ASSIGNER": "cna@vuldb.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            },
            {
                "lang": "deu",
                "value": "Eine problematische Schwachstelle wurde in OpenCV wechat_qrcode Module bis 4.7.0 entdeckt. Betroffen davon ist die Funktion DecodedBitStreamParser::decodeHanziSegment der Datei qrcode/decoder/decoded_bit_stream_parser.cpp. Dank Manipulation mit unbekannten Daten kann eine memory leak-Schwachstelle ausgenutzt werden. Die Umsetzung des Angriffs kann dabei \u00fcber das Netzwerk erfolgen. Der Patch wird als 2b62ff6181163eea029ed1cab11363b4996e9cd6 bezeichnet. Als bestm\u00f6gliche Massnahme wird Patching empfohlen."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-401 Memory Leak",
                        "cweId": "CWE-401"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "OpenCV",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "wechat_qrcode Module",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.1"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.2"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.3"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.4"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.5"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.6"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "4.7"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://vuldb.com/?id.228548",
                "refsource": "MISC",
                "name": "https://vuldb.com/?id.228548"
            },
            {
                "url": "https://vuldb.com/?ctiid.228548",
                "refsource": "MISC",
                "name": "https://vuldb.com/?ctiid.228548"
            },
            {
                "url": "https://github.com/opencv/opencv_contrib/pull/3484",
                "refsource": "MISC",
                "name": "https://github.com/opencv/opencv_contrib/pull/3484"
            },
            {
                "url": "https://github.com/opencv/opencv_contrib/pull/3484/commits/2b62ff6181163eea029ed1cab11363b4996e9cd6",
                "refsource": "MISC",
                "name": "https://github.com/opencv/opencv_contrib/pull/3484/commits/2b62ff6181163eea029ed1cab11363b4996e9cd6"
            }
        ]
    },
    "credits": [
        {
            "lang": "en",
            "value": "Linkai Zheng"
        },
        {
            "lang": "en",
            "value": "NanoApe (VulDB User)"
        }
    ],
    "impact": {
        "cvss": [
            {
                "version": "3.1",
                "baseScore": 5.3,
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "baseSeverity": "MEDIUM"
            },
            {
                "version": "3.0",
                "baseScore": 5.3,
                "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
                "baseSeverity": "MEDIUM"
            },
            {
                "version": "2.0",
                "baseScore": 5,
                "vectorString": "AV:N/AC:L/Au:N/C:N/I:N/A:P"
            }
        ]
    }
}