Read the docs
TI-2019-13946 Aliases CVE-2019-19334GHSA-936c-h6q8-79c4

Stack-based buffer overflow in Red Hat libyang

Priority MEDIUM 49CWE-121Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-121 and the CVSS impact.

Summary

In all versions of libyang before 1.0-r5, a stack-based buffer overflow was discovered in the way libyang parses YANG files with a leaf of type "identityref". An application that uses libyang to parse untrusted YANG files may be vulnerable to this flaw, which would allow an attacker to cause a denial of service or possibly gain code execution.

Why it matters now

EPSS 0.0387 90th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
Red Hatlibyanglibyang all versions before 1.0-r5—No fix listedCNA
  • libyang VendorRed Hat Affected libyang all versions before 1.0-r5 Fixed in — No fix listed CNA

CPE configurations NVD · 17

CPEVersionsRoleVendor
cpe:2.3:a:cesnet:libyang:0.11:r1:*:*:*:*:*:*0.11 r1VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.11:r2:*:*:*:*:*:*0.11 r2VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.12:r1:*:*:*:*:*:*0.12 r1VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.12:r2:*:*:*:*:*:*0.12 r2VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.13:r1:*:*:*:*:*:*0.13 r1VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.13:r2:*:*:*:*:*:*0.13 r2VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.14:r1:*:*:*:*:*:*0.14 r1VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.15:r1:*:*:*:*:*:*0.15 r1VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.16:r1:*:*:*:*:*:*0.16 r1VulnerableCESNET
cpe:2.3:a:cesnet:libyang:0.16:r2:*:*:*:*:*:*0.16 r2VulnerableCESNET
  • cpe:2.3:a:cesnet:libyang:0.11:r1:*:*:*:*:*:* Versions 0.11 r1 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.11:r2:*:*:*:*:*:* Versions 0.11 r2 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.12:r1:*:*:*:*:*:* Versions 0.12 r1 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.12:r2:*:*:*:*:*:* Versions 0.12 r2 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.13:r1:*:*:*:*:*:* Versions 0.13 r1 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.13:r2:*:*:*:*:*:* Versions 0.13 r2 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.14:r1:*:*:*:*:*:* Versions 0.14 r1 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.15:r1:*:*:*:*:*:* Versions 0.15 r1 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.16:r1:*:*:*:*:*:* Versions 0.16 r1 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:0.16:r2:*:*:*:*:*:* Versions 0.16 r2 Vulnerable ·CESNET
Show 7 more CPE
CPEVersionsRoleVendor
cpe:2.3:a:cesnet:libyang:0.16:r3:*:*:*:*:*:*0.16 r3VulnerableCESNET
cpe:2.3:a:cesnet:libyang:1.0:r1:*:*:*:*:*:*1.0 r1VulnerableCESNET
cpe:2.3:a:cesnet:libyang:1.0:r2:*:*:*:*:*:*1.0 r2VulnerableCESNET
cpe:2.3:a:cesnet:libyang:1.0:r3:*:*:*:*:*:*1.0 r3VulnerableCESNET
cpe:2.3:a:cesnet:libyang:1.0:r4:*:*:*:*:*:*1.0 r4VulnerableCESNET
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*8.0VulnerableRed Hat
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*31VulnerableFedoraproject
  • cpe:2.3:a:cesnet:libyang:0.16:r3:*:*:*:*:*:* Versions 0.16 r3 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:1.0:r1:*:*:*:*:*:* Versions 1.0 r1 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:1.0:r2:*:*:*:*:*:* Versions 1.0 r2 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:1.0:r3:*:*:*:*:*:* Versions 1.0 r3 Vulnerable ·CESNET
  • cpe:2.3:a:cesnet:libyang:1.0:r4:*:*:*:*:*:* Versions 1.0 r4 Vulnerable ·CESNET
  • cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
  • cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:* Versions 31 Vulnerable ·Fedoraproject

Remediation

Red Hat 1 advisory

  • RHSA-2019:4360 Released 2019-12-23 · Red Hat rating Important
    libyang security update
    • Red Hat Enterprise Linux AppStream (v. 8) libyang-0.16.105-3.el8_1.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Advisory ·

    Red Hat libyang — RHSA-2019:4360

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

    • TI-2019-13945 Stack-based buffer overflow in Red Hat libyangPriority MEDIUM 48
  • Advisory ·

    Red Hat libyang — FEDORA-2019-dfe0b42bc5

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

    • TI-2019-13945 Stack-based buffer overflow in Red Hat libyangPriority MEDIUM 48
Show 1 more group
  • Advisory ·

    Red Hat libyang — FEDORA-2019-9d83929ffa

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

    • TI-2019-13945 Stack-based buffer overflow in Red Hat libyangPriority MEDIUM 48

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2019:4360

Timeline

  1. 2026-10-02 Threatist record created from CVE-2019-19334
  2. 2026-10-03 Alias added: GHSA-936c-h6q8-79c4
  3. 2026-10-14 EPSS moved to the 90th–95th percentile

References

  • TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
  • TI-2018-10530 Code injection in [UNKNOWN] RichFaces KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05975 GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed… KEVCVSS 3.1CRITICAL 9.8
  • TI-2014-05157 GNU Bash through 4.3 processes trailing strings after function definitions in the values… KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-23530 Sudo before 1.9.17p1 allows local users to obtain root access because /etc/nsswitch.conf… KEVCVSS 3.1CRITICAL 9.3
  • TI-2021-17490 mod_proxy SSRF KEVCVSS 3.1CRITICAL 9.0
See all 1955 →

Sources