Skip to content
OpenAdvisories
Medium ALSA-2022:7524 1 CVE

Moderate: yajl security update

Published Nov 8, 2022 · Updated Oct 29, 2026

Summary

Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON parser written in ANSI C and a small validating JSON generator.

Security Fix(es):

* yajl: heap-based buffer overflow when handling large inputs due to an integer overflow (CVE-2022-24795)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.

Fixed packages 2

ReleasePackageFixed in
AlmaLinux · 8 yajl 2.1.0-11.el8
AlmaLinux · 8 yajl-devel 2.1.0-11.el8

Vulnerabilities 1

  • Medium 5.9

    Buffer Overflow and Integer Overflow in yajl-ruby

    yajl-ruby is a C binding to the YAJL JSON parsing and generation library. The 1.x branch and the 2.x branch of `yajl` contain an integer overflow which leads to subsequent heap memory corruption when dealing with large (~2GB) inputs. The reallocation logic at…

References

  • report
    https://access.redhat.com/security/cve/CVE-2022-24795
  • report
    https://bugzilla.redhat.com/2072912
  • advisory
    https://errata.almalinux.org/8/ALSA-2022-7524.html