CVE-2022-40320
published 2022-09-09CVE-2022-40320: cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
PriorityP336high8.8CVSS 3.1
AVNACLPRNUIRSUCHIHAH
EPSS
1.12%
62.5th percentile
cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libconfuse | < libconfuse 3.3-3 (bookworm) | libconfuse 3.3-3 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| libconfuse_project | libconfuse | — | — |
| libconfuse_project | libconfuse | >= 0 < 3.3-2+deb11u1 | 3.3-2+deb11u1 |
| libconfuse_project | libconfuse | >= 0 < 3.3-3 | 3.3-3 |
| libconfuse_project | libconfuse | >= 0 < 3.3-3 | 3.3-3 |
| libconfuse_project | libconfuse | >= 0 < 3.3-3 | 3.3-3 |
| msrc | azl3_libconfuse_3.3-2_on_azure_linux_3.0 | — | — |
| msrc | azure_linux_3.0_arm | — | — |
| msrc | azure_linux_3.0_x64 | — | — |
| msrc | cbl2_libconfuse_3.3-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_1.0_arm | — | — |
| msrc | cbl_mariner_1.0_x64 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| msrc | cm1_libconfuse_3.3-2_on_cbl_mariner_1.0 | — | — |
CVSS provenance
nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_debian8.8HIGH
vendor_msrc8.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
vendor_msrc·2022-09-13·CVSS 8.8
CVE-2022-40320 [HIGH] CWE-125 cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
mitre: mitre
Customer Action Required: Yes
Remediation: CBL-Mariner Release
Debian
CVE-2022-40320: libconfuse - cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-rea...
vendor_debian·2022·CVSS 8.8
CVE-2022-40320 [HIGH] CVE-2022-40320: libconfuse - cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-rea...
cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
Scope: local
bookworm: resolved (fixed in 3.3-3)
bullseye: resolved (fixed in 3.3-2+deb11u1)
forky: resolved (fixed in 3.3-3)
sid: resolved (fixed in 3.3-3)
trixie: resolved (fixed in 3.3-3)
GHSA
GHSA-4f2q-2458-j6j8: cfg_tilde_expand in confuse
ghsa_unreviewed·2022-09-10
CVE-2022-40320 [HIGH] CWE-125 GHSA-4f2q-2458-j6j8: cfg_tilde_expand in confuse
cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
OSV
CVE-2022-40320: cfg_tilde_expand in confuse
osv·2022-09-09·CVSS 8.8
CVE-2022-40320 [HIGH] CVE-2022-40320: cfg_tilde_expand in confuse
cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/libconfuse/libconfuse/issues/163https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BSAZK4KAWRWNAFUBBXOYU3PVNH3X7226/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EDUT2V62V2XF2IT5TJFPB6P3EQ6X5VLL/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJKHAPJ6AUWVP4HDGKH4M5A2XXWQI73O/https://github.com/libconfuse/libconfuse/issues/163https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BSAZK4KAWRWNAFUBBXOYU3PVNH3X7226/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EDUT2V62V2XF2IT5TJFPB6P3EQ6X5VLL/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FJKHAPJ6AUWVP4HDGKH4M5A2XXWQI73O/
2022-09-09
Published