{"id":"CVE-2023-46052","aliases":["DEBIAN-CVE-2023-46052","EUVD-2023-50313","GHSA-86vw-c532-f7g7","OESA-2024-1590"],"status":"disputed","title":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode...","description":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.","severity":{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.00364,"percentile":0.30519,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2024-03-27T00:00:00Z","modified":"2026-10-26T18:01:54Z","affected":[{"source":"osv","ecosystem":"Debian:12","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.2.1-2","1.2.1-3","1.2.1-4","1.2.1-5","1.2.1-6","1.2.1-7","1.3.0-1","1.3.0-2","1.3.1-1","1.3.1-2","1.3.1-3","1.3.1-4","1.4.0-1"]},{"source":"osv","ecosystem":"Debian:13","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-3","1.3.1-4","1.4.0-1"]},{"source":"osv","ecosystem":"Debian:14","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.3.1-3","1.3.1-4","1.4.0-1"]},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP1","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:20.03-LTS-SP4","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2003sp4"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2203sp3"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP1","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2203sp1"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP2","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2203sp2"}]}],"bundled":2},{"source":"osv","ecosystem":"openEuler:22.03-LTS-SP3","package":"sane-backends","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.28-12.oe2203sp3"}]}],"bundled":2}],"products":[{"vendor":"sane-project","product":"sane_backends"}],"references":[{"url":"https://gitlab.com/sane-project/backends/-/issues/709","tags":["x_transferred","Exploit","Issue Tracking","report"]},{"url":"http://seclists.org/fulldisclosure/2024/Jan/69","tags":["x_transferred","Mailing List","Third Party Advisory","advisory"]},{"url":"http://packetstormsecurity.com/files/176823/sane-1.2.1-Buffer-Overflow.html","tags":["web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46052","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-86vw-c532-f7g7"},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-46052","tags":["advisory"]},{"url":"https://www.openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2024-1590","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46047","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2023-46052","description":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.","status":"disputed","published":"2024-03-27T00:00:00Z","modified":"2025-11-04T18:18:46.689Z","updated_at":"2026-11-02T14:35:23.309349Z"}],"euvd":[{"id":"EUVD-2023-50313","description":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.","status":"published","published":"2024-03-27T00:00:00Z","modified":"2025-11-04T18:18:46Z","updated_at":"2026-11-02T19:49:24.543935Z"}],"ghsa":[{"id":"GHSA-86vw-c532-f7g7","title":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode...","description":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.","status":"published","published":"2024-03-27T06:30:32Z","modified":"2025-11-04T21:32:30Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:04:38.133233Z"}],"nvd":[{"id":"CVE-2023-46052","description":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.","status":"disputed","published":"2024-03-27T06:15:10.403Z","modified":"2026-06-17T06:29:56.96Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high","assessor":"primary"}],"updated_at":"2026-11-02T14:09:10.192572Z"}],"osv":[{"id":"CVE-2023-46052","description":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.","status":"published","published":"2024-03-27T06:15:10.403Z","modified":"2026-03-14T12:20:53.880966Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:34.287121Z"},{"id":"DEBIAN-CVE-2023-46052","description":"Sane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.","status":"published","published":"2024-03-27T06:15:10.403Z","modified":"2026-10-26T18:01:54.661688894Z","cvss":[{"version":"3.1","score":7.1,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:40.275853Z"},{"id":"OESA-2024-1590","title":"sane-backends security update","description":"SANE (Scanner Access Now Easy) is a sane and simple interface to both local and networked scanners and other image acquisition devices like digital still and video cameras.\r\n\r\nSecurity Fix(es):\r\n\r\nAn issue in Sane 1.2.1 allows a local attacker to execute arbitrary code via a crafted file to the sanei_configure_attach() function. NOTE: this is disputed because there is no expectation that the product should be starting with an attacker-controlled configuration file.(CVE-2023-46047)\r\n\r\nSane 1.2.1 heap bounds overwrite in init_options() from backend/test.c via a long init_mode string in a configuration file. NOTE: this is disputed because there is no expectation that test.c code should be executed with an attacker-controlled configuration file.(CVE-2023-46052)","status":"published","published":"2024-05-17T11:07:03Z","modified":"2026-08-18T01:18:26.330615487Z","cvss":[{"version":"3.1","score":3.3,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L","level":"low"}],"updated_at":"2026-11-02T15:52:41.095407Z"}]}}
