BreachSpiderVerified, not vibes

CVE-2023-26916 in Cesnet Libyang and 1 more product

Medium 5.3

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.

Affects 2 products from 2 vendors. Facts below cite their sources.

CVSS 3.15.3
EPSS1.1%
EPSS percentile65th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact.

Affected products and versions

VendorProductAffected versions
Cesnet Libyang ≥ 2.0.164, ≤ 2.1.30
Fedoraproject Fedora 36 37

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2023-26916
BreachSpider IDBS-2023-GLOBAL-348664-M
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Published2023-04-03
Last modified2025-02-18
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-476: NULL Pointer Dereference

Software attempts to use a NULL pointer, causing a crash and denial of service.

Analysis AI-written, not human-reviewed

A NULL pointer dereference vulnerability exists in libyang versions from v2.0.164 to v2.1.30, affecting the lys_parse_mem function. This could lead to a crash or potentially allow an attacker to execute arbitrary code.

The vulnerability is triggered by a NULL pointer dereference in the lys_parse_mem function when parsing malformed YANG data. An attacker could exploit this by providing specially crafted YANG data to a service or application that uses the affected libyang library.

Questions

What is CVE-2023-26916?

A NULL pointer dereference vulnerability exists in libyang versions from v2.0.164 to v2.1.30, affecting the lys_parse_mem function. This could lead to a crash or potentially allow an attacker to execute arbitrary code.

What is the CVSS score for CVE-2023-26916?

CVE-2023-26916 has CVSS 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L. EPSS: 1.1%.

Is CVE-2023-26916 actively exploited?

No confirmed active exploitation of CVE-2023-26916 as of 2026-05-30.

How do I remediate CVE-2023-26916?

Priority: MEDIUM.

What systems are affected by CVE-2023-26916?

CVE-2023-26916 affects Cesnet Libyang; Fedoraproject Fedora.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Cesnet","product":"Libyang","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2025-02-18.