libyangに攻撃者が細工したYANGデータでプロセスが異常終了する脆弱性
Summary
libyangの6.4.13までには、ly_in_memory()とly_in_memory_chunk()が解放すべきでないポインタを返す脆弱性があります。細工したYANGデータを読ませると、呼び出し側のアプリケーションが不正なアドレスをfree()に渡し、プロセスが停止するおそれがあります。修正版の情報は現時点で公表されていないため、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
libyangの6.4.13までには、ly_in_memory()とly_in_memory_chunk()が解放すべきでないポインタを返す脆弱性があります。細工したYANGデータを読ませると、呼び出し側のアプリケーションが不正なアドレスをfree()に渡し、プロセスが停止するおそれがあります。修正版の情報は現時点で公表されていないため、最新の情報を確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CESNETlibyang |
≤ 6.4.13→ 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.
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Ubuntu UBUNTU-CVE-2026-136908 libyang2, libyang No fixed version in this record
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: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com