yocto ▾
›
scarthgap ▾
›
vulnerability
›
CVE-2022-40320
Component Overview
Vulnerability Overview
Name
CVE-2022-40320
Source
NVD (
link
)
Debian (
link
)
Description
cfg_tilde_expand in confuse.c in libConfuse 3.3 has a heap-based buffer over-read.
CWEs
CWE-125
Published Date
Sep 9, 2022
Updated Date
Jun 17, 2026
Workaround
-
Advisories
https://github.com/libconfuse/libconfuse/issues/163
Exploit
https://github.com/libconfuse/libconfuse/issues/163
Exploit
Analysis
#
Affected Component
Analysis
libconfuse
Exploitable
Vulnerability Rating
#
8.8
CVSSv31
Others affected components
#
Name
Project
Project Version
Version
Status
libconfuse
buildroot
2025.02.x
3.3
Patched
libconfuse
buildroot
master
3.3
Patched
confuse
openwrt
master
3.3-r2
Patched
confuse
openwrt
openwrt-25.12
3.3-r2
Patched
libconfuse
yocto
kirkstone
3.3
Patched
libconfuse
yocto
master
3.3
Exploitable
Resolved with patches
#
libconfuse (buildroot:2025.02.x)
#
Title
Author
Resolve
1
Fix #163: unterminated username used with getpwnam()
Joachim Wiberg <troglobit@gmail.com>
CVE-2022-40320
libconfuse (buildroot:master)
#
Title
Author
Resolve
1
Fix #163: unterminated username used with getpwnam()
Joachim Wiberg <troglobit@gmail.com>
CVE-2022-40320
confuse (openwrt:master)
#
Title
Author
Resolve
1
Fix #163: unterminated username used with getpwnam()
Joachim Wiberg <troglobit@gmail.com>
CVE-2022-40320
confuse (openwrt:openwrt-25.12)
#
Title
Author
Resolve
1
Fix #163: unterminated username used with getpwnam()
Joachim Wiberg <troglobit@gmail.com>
CVE-2022-40320
libconfuse (yocto:kirkstone)
#
Title
Author
Resolve
1
Fix #163: unterminated username used with getpwnam()
Joachim Wiberg <troglobit@gmail.com>
CVE-2022-40320