# CVE-2023-46052: Sane 1.2.1 heap bounds overwrite in initoptions() from backend/test.c via a long initmode string in a configuration file.

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-03-27T00:00:00.000Z
- Modified: 2026-06-17T06:29:56.960Z
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- sane-project sane_backends: 1.2.1

## References

- <https://gitlab.com/sane-project/backends/-/issues/709> (exploit, issue-tracking)
- <http://packetstormsecurity.com/files/176823/sane-1.2.1-Buffer-Overflow.html> (exploit)
- <http://seclists.org/fulldisclosure/2024/Jan/69> (mailing-list, third-party-advisory)

## Sources

- CVE List: [CVE-2023-46052](https://www.cve.org/CVERecord?id=CVE-2023-46052), CVE Terms of Use, modified 2025-11-04
- NVD: [CVE-2023-46052](https://nvd.nist.gov/vuln/detail/CVE-2023-46052), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-46052 · Whole record: https://cve.day/CVE-2023-46052.json · Rebuilt by cve.day 2026-11-25T22:58:33.418Z
