Medium
DoS in SnakeYAML
Type: advisorySources: OSV
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2022-38749
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 19:59 UTC · Revision 1
Source evidence
Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.
osv:CVE-2022-38749
Complete source record
{
"id": "4c7e447e3c847c86ef3989cbfa98ab90f9c8cfd124725f29061e5cb01dfa1aa6",
"url": "https://osv.dev/vulnerability/CVE-2022-38749",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DoS in SnakeYAML",
"summary": "Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow.",
"evidence": "osv:CVE-2022-38749",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-38749",
"aliases": [
"CVE-2022-38749",
"GHSA-c4r9-r8fh-9vj2"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://bitbucket.org/snakeyaml/snakeyaml",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "04401a88fa9b36f555cdc91f72ca1e724090c031"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "1.31"
}
],
"source": "AFFECTED_FIELD",
"strategy": "SplitRange"
},
{
"cpe": "cpe:2.3:a:snakeyaml_project:snakeyaml:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.31"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"snakeyaml-1.30",
"snakeyaml-1.27",
"snakeyaml-1.26",
"snakeyaml-1.25",
"snakeyaml-1.24",
"snakeyaml-1.23",
"snakeyaml-1.22",
"snakeyaml-1.21",
"snakeyaml-1.20",
"snakeyaml-1.19",
"v1.18",
"v1.17",
"v1.16",
"v1.15",
"v1.13",
"v1.12",
"v1.11",
"v1.10",
"v1.9",
"v1.8",
"v1.7",
"v1.7rc1",
"v1.6",
"1.6rc2",
"v1.6rc1",
"v1.5",
"v1.5rc1",
"v1.4rc1",
"v1.3",
"v1.2",
"v1.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-38749.json"
}
}
],
"modified": "2026-10-28T02:30:23.161172163Z",
"provider": "osv",
"references": [
"https://bitbucket.org/snakeyaml/snakeyaml/issues/525/got-stackoverflowerror-for-many-open",
"https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=47024",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38749.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-38749",
"https://security.gentoo.org/glsa/202305-28",
"https://security.netapp.com/advisory/ntap-20240315-0010/",
"https://lists.debian.org/debian-lts-announce/2022/10/msg00001.html"
],
"provider_metadata": {
"cwe_ids": [
"CWE-121"
],
"cna_assigner": "Google",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/38xxx/CVE-2022-38749.json"
}
},
"related_cves": [
{
"value": "CVE-2022-38749",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 489517,
"published_at": "2022-09-05T00:00:00+00:00"
}