burp, r-cran-jsonlite and 2 more products — security advisory
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 `yajl_buf.c#L64` may result in the `need` 32bit integer wrapping to 0 when `need` approaches a value of 0x80000000 (i.e. ~2GB of data), which results in a reallocation of buf->alloc into a small heap chunk. These integers are declared as `size_t` in the 2.x branch of `yajl`, which practically prevents the issue from triggering on 64bit platforms, however this does not preclude this issue triggering on 32bit builds on which `size_t` is a 32bit integer. Subsequent population of this under-allocated heap chunk is based on the original buffer size, leading to heap memory corruption. This vulnerability mostly impacts process availability. Maintainers believe exploitation for arbitrary code execution is unlikely. A patch is available and anticipated to be part of yajl-ruby version 1.4.2. As a workaround, avoid passing large inputs to YAJL.
- Products
- burp, r-cran-jsonlite, ruby-yajl, yajl
- Affected versions
- 1.8.4+dfsg-1, 1.8.5+dfsg-1, 1.8.7+dfsg-1, 1.8.8+dfsg-1, 1.8.9+dfsg-1, 1.9.1+dfsg-1, 2.0.0+dfsg-1, 2.0.0+dfsg-2, 2.1.0-3, 2.1.0-3+deb12u1, 3.1.4-1, 3.1.4-3, 3.1.4-3.1, 3.1.4-4, 3.1.4-5
- Fixed versions
- 1.4.3-1, 1.8.8+dfsg-1, 2.1.0-3+deb12u2, 2.1.0-4, 3.1.4-2
- CVEs
- CVE-2022-24795
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:48 UTC · Revision 1
Source evidence
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 `yajl_buf.c#L64` may result in the `need` 32bit integer wrapping to 0 when `need` approaches a value of 0x80000000 (i.e. ~2GB of data), which results in a reallocation of buf->alloc into a small heap chunk. These integers are declared as `size_t` in the 2.x branch of `yajl`, which practically prevents the issue from triggering on 64bit platforms, however this does not preclude this issue triggering on 32bit builds on which `size_t` is a 32bit integer. Subsequent population of this under-allocated heap chunk is based on the original buffer size, leading to heap memory corruption. This vulnerability mostly impacts process availability. Maintainers believe exploitation for arbitrary code execution is unlikely. A patch is available and anticipated to be part of yajl-ruby version 1.4.2. As a workaround, avoid passing large inputs to YAJL.
osv:DEBIAN-CVE-2022-24795
burp
Fixed versions: Not specified
burp
Fixed versions: 3.1.4-2
r-cran-jsonlite
Fixed versions: Not specified
r-cran-jsonlite
Fixed versions: 1.8.8+dfsg-1
r-cran-jsonlite
Fixed versions: 1.8.8+dfsg-1
ruby-yajl
Fixed versions: 1.4.3-1
ruby-yajl
Fixed versions: 1.4.3-1
ruby-yajl
Fixed versions: 1.4.3-1
yajl
Fixed versions: 2.1.0-3+deb12u2
yajl
Fixed versions: 2.1.0-4
yajl
Fixed versions: 2.1.0-4
Complete source record
{
"id": "8d03da6803a63f7c2f515ae00ff8384895d098ef32809877f108e3b740de2a57",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2022-24795",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2022-24795",
"summary": "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 `yajl_buf.c#L64` may result in the `need` 32bit integer wrapping to 0 when `need` approaches a value of 0x80000000 (i.e. ~2GB of data), which results in a reallocation of buf->alloc into a small heap chunk. These integers are declared as `size_t` in the 2.x branch of `yajl`, which practically prevents the issue from triggering on 64bit platforms, however this does not preclude this issue triggering on 32bit builds on which `size_t` is a 32bit integer. Subsequent population of this under-allocated heap chunk is based on the original buffer size, leading to heap memory corruption. This vulnerability mostly impacts process availability. Maintainers believe exploitation for arbitrary code execution is unlikely. A patch is available and anticipated to be part of yajl-ruby version 1.4.2. As a workaround, avoid passing large inputs to YAJL.",
"evidence": "osv:DEBIAN-CVE-2022-24795",
"products": [
{
"name": {
"value": "burp",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.1.4-1",
"evidence": "/affected/0/versions"
},
{
"value": "3.1.4-3",
"evidence": "/affected/0/versions"
},
{
"value": "3.1.4-3.1",
"evidence": "/affected/0/versions"
},
{
"value": "3.1.4-4",
"evidence": "/affected/0/versions"
},
{
"value": "3.1.4-5",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "burp",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.1.4-2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "r-cran-jsonlite",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "1.8.4+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.8.5+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.8.7+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.8.8+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.8.9+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "1.9.1+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.0.0+dfsg-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.0.0+dfsg-2",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "r-cran-jsonlite",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.8.8+dfsg-1",
"evidence": "/affected/3/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "r-cran-jsonlite",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.8.8+dfsg-1",
"evidence": "/affected/4/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ruby-yajl",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.4.3-1",
"evidence": "/affected/5/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ruby-yajl",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.4.3-1",
"evidence": "/affected/6/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "ruby-yajl",
"evidence": "/affected/7/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "1.4.3-1",
"evidence": "/affected/7/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "yajl",
"evidence": "/affected/8/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.1.0-3+deb12u2",
"evidence": "/affected/8/ranges"
}
],
"affected_versions": [
{
"value": "2.1.0-3",
"evidence": "/affected/8/versions"
},
{
"value": "2.1.0-3+deb12u1",
"evidence": "/affected/8/versions"
}
]
},
{
"name": {
"value": "yajl",
"evidence": "/affected/9/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.1.0-4",
"evidence": "/affected/9/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "yajl",
"evidence": "/affected/10/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.1.0-4",
"evidence": "/affected/10/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "DEBIAN-CVE-2022-24795",
"aliases": [
"DEBIAN-CVE-2022-24795"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "burp",
"purl": "pkg:deb/debian/burp?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"3.1.4-1",
"3.1.4-3",
"3.1.4-3.1",
"3.1.4-4",
"3.1.4-5"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.1.4-2"
}
]
}
],
"package": {
"name": "burp",
"purl": "pkg:deb/debian/burp?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "r-cran-jsonlite",
"purl": "pkg:deb/debian/r-cran-jsonlite?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"1.8.4+dfsg-1",
"1.8.5+dfsg-1",
"1.8.7+dfsg-1",
"1.8.8+dfsg-1",
"1.8.9+dfsg-1",
"1.9.1+dfsg-1",
"2.0.0+dfsg-1",
"2.0.0+dfsg-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.8+dfsg-1"
}
]
}
],
"package": {
"name": "r-cran-jsonlite",
"purl": "pkg:deb/debian/r-cran-jsonlite?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.8.8+dfsg-1"
}
]
}
],
"package": {
"name": "r-cran-jsonlite",
"purl": "pkg:deb/debian/r-cran-jsonlite?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.3-1"
}
]
}
],
"package": {
"name": "ruby-yajl",
"purl": "pkg:deb/debian/ruby-yajl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.3-1"
}
]
}
],
"package": {
"name": "ruby-yajl",
"purl": "pkg:deb/debian/ruby-yajl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.4.3-1"
}
]
}
],
"package": {
"name": "ruby-yajl",
"purl": "pkg:deb/debian/ruby-yajl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.0-3+deb12u2"
}
]
}
],
"package": {
"name": "yajl",
"purl": "pkg:deb/debian/yajl?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.1.0-3",
"2.1.0-3+deb12u1"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.0-4"
}
]
}
],
"package": {
"name": "yajl",
"purl": "pkg:deb/debian/yajl?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.1.0-4"
}
]
}
],
"package": {
"name": "yajl",
"purl": "pkg:deb/debian/yajl?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2022-24795.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-15T08:02:20.517129395Z",
"provider": "osv",
"upstream": [
"CVE-2022-24795"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2022-24795"
]
},
"related_cves": [
{
"value": "CVE-2022-24795",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 323370,
"published_at": "2022-04-05T16:15:14.05+00:00"
}