Every CVE Search/ Get API key

CVE-2023-26917

libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the...

7.5 HighFix available

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

0.89%Up 0.9 points since Apr 12, 2023
90%50%10%1%

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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
libyang
Azure Linux:2
before 2.1.55-1
2.1.55-1
libyang
TuxCare:AlmaLinux:9.2
before 2.0.7-2.el9.tuxcare.els1
2.0.7-2.el9.tuxcare.els1
libyang-devel
TuxCare:AlmaLinux:9.2
before 2.0.7-2.el9.tuxcare.els1
2.0.7-2.el9.tuxcare.els1
libyang-devel-doc
TuxCare:AlmaLinux:9.2
before 2.0.7-2.el9.tuxcare.els1
2.0.7-2.el9.tuxcare.els1
libyang
Debian:13
before 3.4.2+dfsg-2
3.4.2+dfsg-2
libyang
Debian:14
before 3.4.2+dfsg-2
3.4.2+dfsg-2
libyang2
Debian: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
libyang2
Ubuntu: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
libyang2
Ubuntu: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

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 4 moreShow less
MoveEnter Open