# CVE-2019-15900: An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD.

- Severity: Critical 9.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/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): 2.11%, higher than 82% of CVEs (2026-12-01)
- Published: 2019-10-18T15:41:48.000Z
- Modified: 2026-06-17T02:21:17.630Z
- Weaknesses: CWE-252, CWE-754, CWE-863, CWE-908
- Assigned by: mitre

## Description

An issue was discovered in slicer69 doas before 6.2 on certain platforms other than OpenBSD. On platforms without strtonum(3), sscanf was used without checking for error cases. Instead, the uninitialized variable errstr was checked and in some cases returned success even if sscanf failed. The result was that, instead of reporting that the supplied username or group name did not exist, it would execute the command as root.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- doas_project doas: before 6.2

## Every score

- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 10.0 High `AV:N/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://github.com/slicer69/doas/commit/2f83222829448e5bc4c9391d607ec265a1e06531> (patch)
- <https://github.com/slicer69/doas/compare/6.1p1...6.2> (release-notes)

## Sources

- CVE List: [CVE-2019-15900](https://www.cve.org/CVERecord?id=CVE-2019-15900), CVE Terms of Use, modified 2024-08-05
- NVD: [CVE-2019-15900](https://nvd.nist.gov/vuln/detail/CVE-2019-15900), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-15900 · Whole record: https://cve.day/CVE-2019-15900.json · Rebuilt by cve.day 2026-11-25T22:57:47.623Z
