High
Security advisory
libqb before 1.0.5 allows local users to overwrite arbitrary files via a symlink attack, because it uses predictable filenames (under /dev/shm and /tmp) without O_EXCL.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-12779
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:33 UTC · Revision 1
Source evidence
libqb before 1.0.5 allows local users to overwrite arbitrary files via a symlink attack, because it uses predictable filenames (under /dev/shm and /tmp) without O_EXCL.
osv:CVE-2019-12779
Complete source record
{
"id": "3a1d93b4ea8c2d7fff617b3169a7d07a77b6844433edb4c5179ca023bc5e8549",
"url": "https://osv.dev/vulnerability/CVE-2019-12779",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-12779",
"summary": "libqb before 1.0.5 allows local users to overwrite arbitrary files via a symlink attack, because it uses predictable filenames (under /dev/shm and /tmp) without O_EXCL.",
"evidence": "osv:CVE-2019-12779",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2019-12779",
"aliases": [
"CVE-2019-12779"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/clusterlabs/libqb",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d08dbcf08b0da418bce9b5427dfd89522916322a"
},
{
"fixed": "dc78f42226180cc065abf8ad265ef6a837026564"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:clusterlabs:libqb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.0.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "dc78f42226180cc065abf8ad265ef6a837026564"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.0.4"
},
{
"range": [
{
"fixed": "d08dbcf08b0da418bce9b5427dfd89522916322a"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v1.0.5"
}
]
}
}
],
"versions": [
"v1.0.3",
"v1.0.2",
"v1.0.1",
"v1.0",
"v1.0rc4",
"v1.0rc3",
"v1.0rc2",
"v1.0rc1",
"v0.17.2",
"v0.17.1",
"v0.17.1-rc1",
"v0.17.0.rc1",
"v0.17.0",
"v0.16.0",
"v0.15.0",
"v0.14.4",
"v0.14.3",
"v0.14.2",
"v0.14.1",
"v0.14.0",
"v0.13.0",
"v0.12.0",
"v0.11.1",
"v0.11.0",
"v0.10.1",
"v0.10.0",
"v0.9.0",
"v0.8.1",
"v0.8.0",
"v0.7.0",
"v0.5.1",
"v0.5.0",
"v0.4.1",
"v0.4.0",
"v0.3.0",
"v0.2.0",
"v0.1.0",
"libqb-0.1.0",
"libqb-0.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-12779.json"
}
}
],
"modified": "2026-10-20T10:50:40.912312875Z",
"provider": "osv",
"references": [
"https://access.redhat.com/errata/RHSA-2019:3610",
"https://github.com/ClusterLabs/libqb/releases/tag/v1.0.4",
"https://github.com/ClusterLabs/libqb/releases/tag/v1.0.5",
"https://security.gentoo.org/glsa/202107-03",
"https://bugzilla.redhat.com/show_bug.cgi?id=1695948",
"https://github.com/ClusterLabs/libqb/issues/338"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2019-12779",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381990,
"published_at": "2019-06-07T20:29:00.857+00:00"
}