CVE-2021-42523
colord: potential memory leak, forgetting to free error message of libsqlite3 API 'sqlite3_exec' -1
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · October 6, 2022
Updated · November 22, 2025
Description
There are two Information Disclosure vulnerabilities in colord, and they lie in colord/src/cd-device-db.c and colord/src/cd-profile-db.c separately. They exist because the 'err_msg' of 'sqlite3_exec' is not releasing after use, while libxml2 emphasizes that the caller needs to release it.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-200 · Exposure of Sensitive Information to an Unauthorized Actor