{"id":"CVE-2023-26916","aliases":["AZL-25966","DEBIAN-CVE-2023-26916","EUVD-2023-30708","GHSA-rgjq-f6gr-756j","UBUNTU-CVE-2023-26916","USN-7752-1","openSUSE-SU-2024:12836-1"],"status":"published","title":"libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the...","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.","severity":{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00986,"percentile":0.62821,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-476"],"published":"2023-04-03T00:00:00Z","modified":"2026-10-28T02:30:56Z","fixes":[{"ecosystem":"Azure Linux:2","package":"libyang","fixed_in":["2.1.55-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"libyang","fixed_in":["3.4.2+dfsg-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"libyang","fixed_in":["3.4.2+dfsg-2"],"sources":["osv"]},{"ecosystem":"Ubuntu:24.04:LTS","package":"libyang2","fixed_in":["2.1.30-2.1ubuntu0.1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Azure Linux:2","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.55-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"libyang","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.4.2+dfsg-2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"libyang2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.1.148-0.1","2.1.148-0.2","2.1.30-2","2.1.30-2.1","2.1.30-2.1~exp1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libyang2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.30-2.1ubuntu0.1"}]}],"versions":["2.1.30-2","2.1.30-2.1","2.1.30-2.1build1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"libyang2","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.30-2.1ubuntu0.1"}]}],"versions":["2.1.30-2","2.1.30-2.1","2.1.30-2.1build1"],"bundled":2}],"products":[{"vendor":"cesnet","product":"libyang"},{"vendor":"fedoraproject","product":"fedora"}],"references":[{"url":"https://github.com/CESNET/libyang/issues/1979","tags":["x_transferred","Issue Tracking","Third Party Advisory","report"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6NQZHCJG3SBMFOQNIPRZGKDK3ARHLTTB/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U2VWGCMYKQH4BTFEHX5VYEXXOPIKKFHS/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-26916","tags":["web","advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6NQZHCJG3SBMFOQNIPRZGKDK3ARHLTTB"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/U2VWGCMYKQH4BTFEHX5VYEXXOPIKKFHS"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6NQZHCJG3SBMFOQNIPRZGKDK3ARHLTTB"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U2VWGCMYKQH4BTFEHX5VYEXXOPIKKFHS"},{"url":"https://github.com/advisories/GHSA-rgjq-f6gr-756j"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26916.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-26916","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-26916","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-26916","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-7752-1","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-26917","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2023-26916","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2023-26916","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.","status":"published","published":"2023-04-03T00:00:00Z","modified":"2025-02-18T16:59:13.097Z","updated_at":"2026-11-02T14:35:15.066338Z"}],"euvd":[{"id":"EUVD-2023-30708","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.","status":"published","published":"2023-04-03T00:00:00Z","modified":"2025-02-18T16:59:13Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"none"}],"updated_at":"2026-11-02T20:53:28.952595Z"}],"ghsa":[{"id":"GHSA-rgjq-f6gr-756j","title":"libyang from v2.0.164 to v2.1.30 was discovered to contain a NULL pointer dereference via the...","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.","status":"published","published":"2023-04-04T00:30:15Z","modified":"2025-02-18T15:32:07Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:59:58.181327Z"}],"nvd":[{"id":"CVE-2023-26916","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.","status":"published","published":"2023-04-03T22:15:07.06Z","modified":"2026-06-17T05:43:56.35Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium","assessor":"primary"}],"cwes":["CWE-476"],"updated_at":"2026-11-02T14:07:51.883939Z"}],"osv":[{"id":"AZL-25966","title":"CVE-2023-26916 affecting package libyang for versions less than 2.1.55-1","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.","status":"published","published":"2023-04-03T22:15:07Z","modified":"2026-04-21T04:23:25.485197Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:28:03.093433Z"},{"id":"DEBIAN-CVE-2023-26916","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.","status":"published","published":"2023-04-03T22:15:07.06Z","modified":"2026-10-26T18:02:11.878392976Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T15:45:39.679062Z"},{"id":"UBUNTU-CVE-2023-26916","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.","status":"published","published":"2023-04-03T22:15:00Z","modified":"2026-04-22T14:04:23.404417Z","cvss":[{"version":"3.1","score":5.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","level":"medium"}],"updated_at":"2026-11-02T16:54:20.198616Z"},{"id":"CVE-2023-26916","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.","status":"published","published":"2023-04-03T00:00:00Z","modified":"2026-10-28T02:30:56.426218181Z","updated_at":"2026-11-02T15:44:31.135751Z"},{"id":"openSUSE-SU-2024:12836-1","title":"libyang-devel-2.1.55-1.1 on GA media","description":"These are all security issues fixed in the libyang-devel-2.1.55-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T03:35:17.66681Z","updated_at":"2026-11-02T16:58:36.025801Z"},{"id":"USN-7752-1","title":"libyang2 vulnerabilities","description":"It was discovered that libyang incorrectly handled certain memory\noperations when parsing YANG strings. An attacker could possibly use this\nissue to cause libyang to crash, resulting in a denial of service.","status":"published","published":"2025-09-16T13:41:30Z","modified":"2026-04-22T11:01:48.149587Z","updated_at":"2026-11-02T16:58:21.91885Z"}]}}
