CVE-2019-6498: GattLib 0.2 has a stack-based buffer over-read in gattlib_connect in dbus/gattlib.c because strncpy is misused
CVE-2019-6498 is a high-severity flaw (CVSS 8.8) affecting gattlib. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
GattLib 0.2 has a stack-based buffer over-read in gattlib_connect in dbus/gattlib.c because strncpy is misused.
Why this priority
- High severity
- EPSS top 8%: very likely to be exploited
- Public exploit reference
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 8.8 (High) |
| Attack vector | Adjacent network |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 5.0% (top 8%) |
| CISA exploited list | No |
| Weakness | CWE-125 |
| Published | 2019-01-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: GattLib 0.2 - Stack Buffer Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2019-6498?
gattlib: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2019-6498 being exploited?
CVE-2019-6498 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2019-6498 affect?
CVE-2019-6498 affects gattlib. Severity is high (CVSS 8.8). GattLib 0.2 has a stack-based buffer over-read in gattlib_connect in dbus/gattlib.c because strncpy is misused.
How urgent is CVE-2019-6498?
Priority 59/100. High severity; EPSS top 8%: very likely to be exploited; Public exploit reference
Related CVEs
- CVE-2021-33590 CRITICAL 9.8 DOWNGRADE GattLib 0.3-rc1 has a stack-based buffer over-read in get_device_path_from_mac in dbus/gattlib.c.