libyang through 6.4.13 contains a release of invalid pointer vulnerability in ly_in_memory() and ly_in_memory_chunk() in src/in.c that return the curr...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:20.04:LTSlibyang |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibyang |
All versions→ Not listed |
Not listed |
| Ubuntu:22.04:LTSlibyang2 |
All versions→ Not listed |
Not listed |
| Ubuntu:24.04:LTSlibyang2 |
All versions→ Not listed |
Not listed |
| Ubuntu:26.10libyang |
All versions→ Not listed |
Not listed |
| Ubuntu:26.04:LTSlibyang |
All versions→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
libyang through 6.4.13 contains a release of invalid pointer vulnerability in ly_in_memory() and ly_in_memory_chunk() in src/in.c that return the current read position instead of the previous start address. Attackers supplying YANG data parsed from a heap buffer can cause applications freeing the returned pointer to pass an interior address to free(), aborting the process.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- report ubuntu.com
- report cve.org