CVE-2019-6498

HIGH

GattLib 0.2 - Stack-Based Buffer Over-Read in gattlib_connect

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2019-6498. PoCs published by Dhiraj Mishra.

AI-analyzed exploit summary The exploit demonstrates a stack-based buffer overflow in gattlib 0.2 via a crafted device address string. The PoC uses a simple Python command to generate a long string of 'A's to trigger the overflow in the `discover` binary.

Description

GattLib 0.2 has a stack-based buffer over-read in gattlib_connect in dbus/gattlib.c because strncpy is misused.

Exploits (1)

exploitdb WORKING POC
by Dhiraj Mishra · rubyremotelinux
https://www.exploit-db.com/exploits/46215

The exploit demonstrates a stack-based buffer overflow in gattlib 0.2 via a crafted device address string. The PoC uses a simple Python command to generate a long string of 'A's to trigger the overflow in the `discover` binary.

Classification
Working Poc 90%
Attack Type
Dos
Complexity
Trivial
Reliability
Reliable
Target: gattlib 0.2
No auth needed
Prerequisites: Access to the target system to execute the `discover` binary · gattlib 0.2 installed on the target system
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (3)

Core 3
Core References
Exploit, Third Party Advisory, VDB Entry exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/46215/
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/labapart/gattlib/issues/82
Exploit, Issue Tracking, Third Party Advisory x_refsource_misc
https://github.com/labapart/gattlib/issues/81

Scores

CVSS v3 8.8
EPSS 0.0596
EPSS Percentile 90.9%
Attack Vector ADJACENT_NETWORK
CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

CWE
CWE-125
Status published
Products (1)
labapart/gattlib 0.2
Published Jan 21, 2019
Tracked Since Feb 18, 2026