Vulnerabilities / CVE-2021-43400

critical

CVE-2021-43400

bluez: use-after-free in gatt-database.c

Published Modified CWE 416
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Red Hat9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Ubuntu (medium).

Description

An issue was discovered in gatt-database.c in BlueZ 5.61. A use-after-free can occur when a client disconnects during D-Bus processing of a WriteValue call.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 3.0bluez5.65-1.ph3
Photon OS 4.0bluez, bluez-devel5.65-1.ph4
debian 10bluez5.50-1.2~deb10u3
debian 11bluez5.55-3.1+deb11u2
debian 12bluez5.62-1
debian 13bluez5.62-1
debian 14bluez5.62-1
debian 9bluezno fix listed
echobluez5.62-1
root.io debian 11rootio-bluez5.55-3.1+deb11u2
root.io debian 12rootio-bluez5.62-1
root.io debian 13rootio-bluez5.62-1
Show all 19 entries from 18 sources
SourcePackageFixed in
Photon OS 3.0bluez5.65-1.ph3
Photon OS 4.0bluez5.65-1.ph4
Photon OS 4.0bluez-devel5.65-1.ph4
debian 10bluez5.50-1.2~deb10u3
debian 11bluez5.55-3.1+deb11u2
debian 12bluez5.62-1
debian 13bluez5.62-1
debian 14bluez5.62-1
debian 9bluezno fix listed
echobluez5.62-1
root.io debian 11rootio-bluez5.55-3.1+deb11u2
root.io debian 12rootio-bluez5.62-1
root.io debian 13rootio-bluez5.62-1
ubuntu 18.04bluez5.48-0ubuntu3.6
ubuntu 18.04-ESMbluez5.48-0ubuntu3.6
ubuntu 20.04bluez5.53-0ubuntu3.4
ubuntu 20.04-ESMbluez5.53-0ubuntu3.4
ubuntu 21.04bluez5.56-0ubuntu4.3
ubuntu 21.10bluez5.60-0ubuntu2.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.