CVE-2023-26916
published 2023-04-03CVE-2023-26916: libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
PriorityP424medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
0.99%
58.4th percentile
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| cesnet | libyang | >= 0 < 3.4.2+dfsg-2 | 3.4.2+dfsg-2 |
| cesnet | libyang | >= 0 < 3.4.2+dfsg-2 | 3.4.2+dfsg-2 |
| cesnet | libyang | 2.0.164 – 2.1.30 | — |
| debian | libyang | < libyang 3.4.2+dfsg-2 (forky) | libyang 3.4.2+dfsg-2 (forky) |
| debian | libyang2 | < libyang 3.4.2+dfsg-2 (forky) | libyang 3.4.2+dfsg-2 (forky) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| msrc | cbl2_libyang_2.1.55-1_on_cbl_mariner_2.0 | — | — |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv5.3MEDIUM
vendor_debian5.3MEDIUM
vendor_msrc5.3MEDIUM
vendor_redhat5.3MEDIUM
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.
GHSA
GHSA-rgjq-f6gr-756j: libyang from v2
ghsa_unreviewed·2023-04-04
CVE-2023-26916 [HIGH] CWE-476 GHSA-rgjq-f6gr-756j: libyang from v2
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
OSV
CVE-2023-26916: libyang from v2
osv·2023-04-03·CVSS 5.3
CVE-2023-26916 [MEDIUM] CVE-2023-26916: libyang from v2
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
Ubuntu
libyang vulnerabilities
vendor_ubuntu·2025-09-16
CVE-2023-26916 libyang vulnerabilities
Title: libyang vulnerabilities
Summary: libyang could be made to crash if it received specially crafted input.
It was discovered that libyang incorrectly handled certain memory
operations when parsing YANG strings. An attacker could possibly use this
issue to cause libyang to crash, resulting in a denial of service.
Instructions: In general, a standard system update will make all the necessary changes.
Microsoft
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
vendor_msrc·2023-04-11·CVSS 5.3
CVE-2023-26916 [MEDIUM] CWE-476 libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
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
Red Hat
libyang: NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c
vendor_redhat·2023-04-03·CVSS 5.3
CVE-2023-26916 [MEDIUM] CWE-476 libyang: NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c
libyang: NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
Package: libyang (Red Hat Enterprise Linux 8) - Not affected
Package: libyang (Red Hat Enterprise Linux 9) - Not affected
Debian
CVE-2023-26916: libyang - libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer derefe...
vendor_debian·2023·CVSS 5.3
CVE-2023-26916 [MEDIUM] CVE-2023-26916: libyang - libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer derefe...
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
Scope: local
bullseye: open
forky: resolved (fixed in 3.4.2+dfsg-2)
sid: resolved (fixed in 3.4.2+dfsg-2)
trixie: resolved (fixed in 3.4.2+dfsg-2)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://github.com/CESNET/libyang/issues/1979https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6NQZHCJG3SBMFOQNIPRZGKDK3ARHLTTB/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U2VWGCMYKQH4BTFEHX5VYEXXOPIKKFHS/https://github.com/CESNET/libyang/issues/1979https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6NQZHCJG3SBMFOQNIPRZGKDK3ARHLTTB/https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U2VWGCMYKQH4BTFEHX5VYEXXOPIKKFHS/
2023-04-03
Published