Live threats

All CVEs / Doas Project

CVE-2019-15900Doas Project Doas

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.1%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Oct 18, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-252, CWE-754, CWE-863, CWE-908
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Doas.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
doas_projectdoas< 6.2

Official sources

References

Links published by the sources. Open them with care.