CVE-2023-26917
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the...
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
- Record
CVE-2023-26917- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
CVE List
7.5
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
- Record
CVE-2023-26917- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
EUVDEUVD-2023-30709
7.5
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
- Record
EUVD-2023-30709- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-8fpx-68qp-g9qc
7.5
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the...
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
- Record
GHSA-8fpx-68qp-g9qc- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-476
- Updated
- 2026-11-02
OSVAZL-26153
7.5
CVE-2023-26917 affecting package libyang for versions less than 2.1.55-1
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
- Record
AZL-26153- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
7.5
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
- Record
CVE-2023-26917- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 4 moreShow less
OSVDEBIAN-CVE-2023-26917
7.5
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
- Record
DEBIAN-CVE-2023-26917- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2023-26917
7.5
libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the function lysp_stmt_validate_value at lys_parse_mem.c.
- Record
UBUNTU-CVE-2023-26917- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVCLSA-2026-1786710499 No score
libyang: Fix of CVE-2023-26917
- CVE-2023-26917: fix NULL pointer dereference in lysp_stmt_validate_value() on a missing YANG statement argument
- Record
CLSA-2026-1786710499- Updated
- 2026-11-02
OSVUSN-7752-1 No score
libyang2 vulnerabilities
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.
- Record
USN-7752-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libyangAzure Linux:2 |
before 2.1.55-1 | 2.1.55-1 |
libyangTuxCare:AlmaLinux:9.2 |
before 2.0.7-2.el9.tuxcare.els1 | 2.0.7-2.el9.tuxcare.els1 |
libyang-develTuxCare:AlmaLinux:9.2 |
before 2.0.7-2.el9.tuxcare.els1 | 2.0.7-2.el9.tuxcare.els1 |
libyang-devel-docTuxCare:AlmaLinux:9.2 |
before 2.0.7-2.el9.tuxcare.els1 | 2.0.7-2.el9.tuxcare.els1 |
libyangDebian:13 |
before 3.4.2+dfsg-2 | 3.4.2+dfsg-2 |
libyangDebian:14 |
before 3.4.2+dfsg-2 | 3.4.2+dfsg-2 |
libyang2Debian:12 |
All versions, plus listed versions 2.1.148-0.12.1.148-0.22.1.30-22.1.30-2.12.1.30-2.1~exp1 |
None known |
libyang2Ubuntu:24.04:LTS |
before 2.1.30-2.1ubuntu0.1, plus listed versions 2.1.30-22.1.30-2.12.1.30-2.1build1 |
2.1.30-2.1ubuntu0.1 |
libyang2Ubuntu:24.04:LTS From an advisory covering 2 CVEs |
before 2.1.30-2.1ubuntu0.1, plus listed versions 2.1.30-22.1.30-2.12.1.30-2.1build1 |
2.1.30-2.1ubuntu0.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2023-26917 is a high vulnerability (CVSS 7.5) in Cesnet Libyang, published April 11, 2023. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.89%, the 59th percentile. Fixed in libyang 2.1.55-1.
References
github.com/CESNET/libyang/issues/1987
nvd.nist.gov/vuln/detail/CVE-2023-26917
github.com/advisories/GHSA-8fpx-68qp-g9qc
errata.tuxcare.com/els_os/almalinux9.2esu/CLSA-2026-1786710499.html
github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26917.json
security-tracker.debian.org/tracker/CVE-2023-26917