Bug 1210072 (CVE-2023-26916) - VUL-0: CVE-2023-26916: libyang: NULL pointer dereference via the function lys_parse_mem at lys_parse_mem.c.
Summary: VUL-0: CVE-2023-26916: libyang: NULL pointer dereference via the function lys...
Status: RESOLVED FIXED
Alias: CVE-2023-26916
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/362220/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-26916:5.5:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-04 05:40 UTC by Alexander Bergmann
Modified: 2024-05-06 08:53 UTC (History)
4 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Bergmann 2023-04-04 05:40:32 UTC
CVE-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.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-26916
https://www.cve.org/CVERecord?id=CVE-2023-26916
https://github.com/CESNET/libyang/issues/1979
Comment 1 Alexander Bergmann 2023-04-04 05:44:58 UTC
Only 15-SP5 and Factory are affected. The 15-SP3 code stream does not have the affected code path.

SUSE:SLE-15-SP3:Update  libyang-1.0.184
SUSE:SLE-15-SP5:GA      libyang-2.0.231
openSUSE:Factory        libyang-2.1.30
Comment 2 Valentin Lefebvre 2023-04-04 13:40:04 UTC
Thanks for the report,
Commit that fix this issue: https://github.com/CESNET/libyang/commit/dc668d296f9f05aeab6315d44cff3208641e3096

I am going to update libyang on Factory from 2.1.30 to 2.1.55 where the commit is pushed, and add a patch for 15-SP5.
Comment 5 Robert Frohl 2024-05-06 08:53:45 UTC
done, closing