# CVE-2022-24795: yajl: Yet Another JSON Library (YAJL) is a small event-driven (SAX-style) JSON parser written in ANSI C and a small validat...

CVE-2022-24795 is fixed in 9 products on 1 platform, first by DEBIAN-CVE-2022-24795, released April 5, 2022. It is not reported as exploited. Patch Radar priority: High.

- Web page: https://patchblox.com/security/cve/CVE-2022-24795
- Priority: High
- CVSS: 7.5 (Moderate)
- EPSS: 0.0344
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Apr 5, 2022

## Description

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 Red Hat Enterprise Linux 8.7 Release Notes linked from the References section.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | burp Debian 13.5 (trixie) | 3.1.4-2 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | libyajl2 Ubuntu 18.04.6 LTS (bionic) | 2.1.0-2ubuntu0.18.04.1~esm1 | [libyajl2 2.1.0-2ubuntu0.18.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-libyajl2-2.1.0-2ubuntu0.18.04.1-esm1.md) | Jun 6, 2023 |
| Linux | libyajl2 Ubuntu 20.04 LTS (focal) | 2.1.0-3ubuntu0.20.04.1 | [libyajl2 2.1.0-3ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-libyajl2-2.1.0-3ubuntu0.20.04.1.md) | Jun 6, 2023 |
| Linux | libyajl2 Ubuntu 22.04.1 LTS (jammy) | 2.1.0-3ubuntu0.22.04.1 | [libyajl2 2.1.0-3ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-libyajl2-2.1.0-3ubuntu0.22.04.1.md) | Jun 6, 2023 |
| Linux | r-cran-jsonlite Debian 13.5 (trixie) | 1.8.8+dfsg-1 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | r-cran-jsonlite Debian 14 | 1.8.8+dfsg-1 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | ruby-yajl Debian 12.15 (bookworm) | 1.4.3-1 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | ruby-yajl Debian 13.5 (trixie) | 1.4.3-1 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | ruby-yajl Debian 14 | 1.4.3-1 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | yajl Debian 12.15 (bookworm) | 2.1.0-3+deb12u2 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | yajl Debian 13.5 (trixie) | 2.1.0-4 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | yajl Debian 14 | 2.1.0-4 | [DEBIAN-CVE-2022-24795](https://patchblox.com/security/data/fix/linux/debian-cve-2022-24795.md) | Apr 5, 2022 |
| Linux | yajl RHEL 8 | 0:2.1.0-11.el8 | [RHSA-2022:7524](https://patchblox.com/security/data/fix/linux/rhsa-2022-7524.md) | Nov 8, 2022 |
| Linux | yajl RHEL 9 | 0:2.1.0-21.el9 | [RHSA-2022:8252](https://patchblox.com/security/data/fix/linux/rhsa-2022-8252.md) | Nov 15, 2022 |
| Linux | yajl almalinux 8 | 2.1.0-11.el8 | [ALSA-2022:7524](https://patchblox.com/security/data/fix/linux/alsa-2022-7524.md) | Nov 8, 2022 |
| Linux | yajl almalinux 9 | 2.1.0-21.el9 | [ALSA-2022:8252](https://patchblox.com/security/data/fix/linux/alsa-2022-8252.md) | Nov 15, 2022 |
| Linux | yajl amzn 2023 | 2.1.0-16.amzn2023.0.4 | [ALAS2023-2023-263](https://patchblox.com/security/data/fix/linux/alas2023-2023-263.md) | Jul 17, 2023 |
| Linux | yajl ol 8 | 0:2.1.0-11.el8 | [ELSA-2022-7524](https://patchblox.com/security/data/fix/linux/elsa-2022-7524.md) | Nov 15, 2022 |
| Linux | yajl ol 9 | 0:2.1.0-21.el9 | [ELSA-2022-8252](https://patchblox.com/security/data/fix/linux/elsa-2022-8252.md) | Nov 22, 2022 |
| Linux | yajl rocky 8 | 0:2.1.0-11.el8 | [RLSA-2022:7524](https://patchblox.com/security/data/fix/linux/rlsa-2022-7524.md) | Nov 8, 2022 |
| Linux | yajl rocky 9 | 0:2.1.0-21.el9 | [RLSA-2022:8252](https://patchblox.com/security/data/fix/linux/rlsa-2022-8252.md) | Nov 15, 2022 |
| Linux | yajl-debuginfo amzn 2023 | 2.1.0-16.amzn2023.0.4 | [ALAS2023-2023-263](https://patchblox.com/security/data/fix/linux/alas2023-2023-263.md) | Jul 17, 2023 |
| Linux | yajl-debugsource amzn 2023 | 2.1.0-16.amzn2023.0.4 | [ALAS2023-2023-263](https://patchblox.com/security/data/fix/linux/alas2023-2023-263.md) | Jul 17, 2023 |
| Linux | yajl-devel RHEL 8 | 0:2.1.0-11.el8 | [RHSA-2022:7524](https://patchblox.com/security/data/fix/linux/rhsa-2022-7524.md) | Nov 8, 2022 |
| Linux | yajl-devel RHEL 9 | 0:2.1.0-21.el9 | [RHSA-2022:8252](https://patchblox.com/security/data/fix/linux/rhsa-2022-8252.md) | Nov 15, 2022 |
| Linux | yajl-devel almalinux 8 | 2.1.0-11.el8 | [ALSA-2022:7524](https://patchblox.com/security/data/fix/linux/alsa-2022-7524.md) | Nov 8, 2022 |
| Linux | yajl-devel almalinux 9 | 2.1.0-21.el9 | [ALSA-2022:8252](https://patchblox.com/security/data/fix/linux/alsa-2022-8252.md) | Nov 15, 2022 |
| Linux | yajl-devel amzn 2023 | 2.1.0-16.amzn2023.0.4 | [ALAS2023-2023-263](https://patchblox.com/security/data/fix/linux/alas2023-2023-263.md) | Jul 17, 2023 |
| Linux | yajl-devel ol 8 | 0:2.1.0-11.el8 | [ELSA-2022-7524](https://patchblox.com/security/data/fix/linux/elsa-2022-7524.md) | Nov 15, 2022 |
| Linux | yajl-devel ol 9 | 0:2.1.0-21.el9 | [ELSA-2022-8252](https://patchblox.com/security/data/fix/linux/elsa-2022-8252.md) | Nov 22, 2022 |
| Linux | yajl-tools Ubuntu 18.04.6 LTS (bionic) | 2.1.0-2ubuntu0.18.04.1~esm1 | [yajl-tools 2.1.0-2ubuntu0.18.04.1~esm1](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-yajl-tools-2.1.0-2ubuntu0.18.04.1-esm1.md) | Jun 6, 2023 |
| Linux | yajl-tools Ubuntu 20.04 LTS (focal) | 2.1.0-3ubuntu0.20.04.1 | [yajl-tools 2.1.0-3ubuntu0.20.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-focal-yajl-tools-2.1.0-3ubuntu0.20.04.1.md) | Jun 6, 2023 |
| Linux | yajl-tools Ubuntu 22.04.1 LTS (jammy) | 2.1.0-3ubuntu0.22.04.1 | [yajl-tools 2.1.0-3ubuntu0.22.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-yajl-tools-2.1.0-3ubuntu0.22.04.1.md) | Jun 6, 2023 |

---

Data as of 2026-11-09T01:18:40Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
