{"id":"CVE-2022-2652","summary":"Use of Externally-Controlled Format String in umlaeute/v4l2loopback","details":"Depending on the way the format strings in the card label are crafted it's possible to leak kernel stack memory. There is also the possibility for DoS due to the v4l2loopback kernel module crashing when providing the card label on request (reproduce e.g. with many %s modifiers in a row).","modified":"2026-10-28T10:27:44.169535098Z","published":"2022-08-04T09:35:37Z","related":["openSUSE-SU-2022:10159-1","openSUSE-SU-2022:10160-1","openSUSE-SU-2024:12372-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2652.json","cna_assigner":"@huntrdev","cwe_ids":["CWE-134"]},"references":[{"type":"WEB","url":"https://huntr.dev/bounties/1b055da5-7a9e-4409-99d7-030280d242d5"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/2xxx/CVE-2022-2652.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-2652"},{"type":"FIX","url":"https://github.com/umlaeute/v4l2loopback/commit/e4cd225557486c420f6a34411f98c575effd43dd"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/v4l2loopback/v4l2loopback","events":[{"introduced":"0"},{"fixed":"64a216af4c09c9ba9326057d7e78994271827eff"},{"fixed":"e4cd225557486c420f6a34411f98c575effd43dd"}],"database_specific":{"extracted_events":[{"strategy":"SplitRange","range":[{"introduced":"0"},{"fixed":"0.12.6"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"e4cd225557486c420f6a34411f98c575effd43dd"}]}]}}],"versions":["v0.12.5","v0.12.4","v0.12.3","v0.12.2","v0.12.1","v0.12.0","v0.11.0","v0.10.0","v0.9.1","v0.9.0","v0.8.0","v0.7.1","v0.7.0","v0.6.3","v0.6.2","v0.6.1","v0.6.0","v0.5.0","v0.4.1","v0.4.0","v0.3.1","v0.3","v0.2","v0.1","v0.0"],"database_specific":{"vanir_signatures":[{"source":"https://github.com/v4l2loopback/v4l2loopback/commit/e4cd225557486c420f6a34411f98c575effd43dd","target":{"file":"v4l2loopback.c","function":"vidioc_querycap"},"deprecated":false,"digest":{"length":1349,"function_hash":"274784180735557093665846749706206048667"},"id":"CVE-2022-2652-2c787083","signature_type":"Function","signature_version":"v1"},{"deprecated":false,"digest":{"function_hash":"17655112517341927947855752917222436908","length":241},"id":"CVE-2022-2652-42d94788","signature_type":"Function","signature_version":"v1","source":"https://github.com/v4l2loopback/v4l2loopback/commit/64a216af4c09c9ba9326057d7e78994271827eff","target":{"function":"vidioc_fill_name","file":"v4l2loopback.c"}},{"signature_version":"v1","source":"https://github.com/v4l2loopback/v4l2loopback/commit/e4cd225557486c420f6a34411f98c575effd43dd","target":{"file":"v4l2loopback.c"},"deprecated":false,"digest":{"line_hashes":["262514196616214796308095471843831246256","302506495182271439896700798722027783645","265352794914620443317624149207610803571","270556655472954525905887242051867458333","310308737864205908898128503558395795380","84511011984775287962644553050385331413","244106889796439449548158295482160506678","224098727542074230562953580409407783554"],"threshold":0.9},"id":"CVE-2022-2652-5039efdf","signature_type":"Line"},{"deprecated":false,"digest":{"function_hash":"124694354941320819147030808424706657329","length":5665},"id":"CVE-2022-2652-ddb7d7a8","signature_type":"Function","signature_version":"v1","source":"https://github.com/v4l2loopback/v4l2loopback/commit/e4cd225557486c420f6a34411f98c575effd43dd","target":{"function":"v4l2_loopback_add","file":"v4l2loopback.c"}},{"signature_version":"v1","source":"https://github.com/v4l2loopback/v4l2loopback/commit/64a216af4c09c9ba9326057d7e78994271827eff","target":{"file":"v4l2loopback.c"},"deprecated":false,"digest":{"line_hashes":["607323426929696240384345123304587602","126162870000493936069617165373821292745","85643229720984706472731090811458114495","107448680855750404162403722163778660045"],"threshold":0.9},"id":"CVE-2022-2652-eb8d5a16","signature_type":"Line"}],"vanir_signatures_modified":"2026-10-28T10:27:44Z","source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-2652.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:L/A:L"}]}