{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-104895",
        "assignerOrgId": "36c7be3b-2937-45df-85ea-ca7133ea542c",
        "state": "PUBLISHED",
        "assignerShortName": "HeroDevs",
        "dateReserved": "2026-10-02T15:02:48.774Z",
        "datePublished": "2026-10-28T00:01:44.496Z",
        "dateUpdated": "2026-10-28T00:01:44.496Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "36c7be3b-2937-45df-85ea-ca7133ea542c",
                "shortName": "HeroDevs",
                "dateUpdated": "2026-10-28T00:01:44.496Z"
            },
            "title": "jackson-dataformat-smile: unbounded eager byte[] allocation for raw binary in the async parser allows OutOfMemoryError denial of service",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "lang": "en",
                            "cweId": "CWE-789",
                            "description": "CWE-789 Memory Allocation with Excessive Size Value",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-130",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-130 Excessive Allocation"
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "vendor": "FasterXML",
                    "product": "jackson-dataformat-smile",
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "packageName": "com.fasterxml.jackson.dataformat:jackson-dataformat-smile",
                    "repo": "https://github.com/FasterXML/jackson-dataformats-binary",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "2.9.0",
                            "lessThan": "2.18.12",
                            "versionType": "maven"
                        },
                        {
                            "status": "unaffected",
                            "version": "2.18.12",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "2.19.0",
                            "lessThan": "2.21.8",
                            "versionType": "maven"
                        },
                        {
                            "status": "unaffected",
                            "version": "2.21.8",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "2.22.0",
                            "lessThan": "2.22.4",
                            "versionType": "maven"
                        },
                        {
                            "status": "unaffected",
                            "version": "2.22.4",
                            "versionType": "maven"
                        }
                    ],
                    "defaultStatus": "unaffected"
                },
                {
                    "vendor": "FasterXML",
                    "product": "jackson-dataformat-smile",
                    "collectionURL": "https://repo.maven.apache.org/maven2",
                    "packageName": "tools.jackson.dataformat:jackson-dataformat-smile",
                    "repo": "https://github.com/FasterXML/jackson-dataformats-binary",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "3.0.0",
                            "lessThan": "3.1.8",
                            "versionType": "maven"
                        },
                        {
                            "status": "unaffected",
                            "version": "3.1.8",
                            "versionType": "maven"
                        },
                        {
                            "status": "affected",
                            "version": "3.2.0",
                            "lessThan": "3.2.4",
                            "versionType": "maven"
                        },
                        {
                            "status": "unaffected",
                            "version": "3.2.4",
                            "versionType": "maven"
                        }
                    ],
                    "defaultStatus": "unaffected"
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "The asynchronous Smile parser (NonBlockingByteArrayParser) uses a raw-binary length prefix taken from untrusted input to allocate a byte[] before the body is read, with no upper bound and no overflow check. On the raw-binary marker 0xFD, _decodeVInt() computes (value << 6) + (i & 0x3F) without the (value >>> 25) != 0 overflow guard present in the blocking SmileParser._readUnsignedVInt, and _startRawBinary then allocates the declared length immediately.\n\n\n\nA Smile feed of roughly ten bytes can therefore force an eager allocation of approximately 2 GB, producing an OutOfMemoryError on reactive or asynchronous Smile endpoints. A VInt crafted to overflow int yields a negative length and a NegativeArraySizeException, a RuntimeException that is not a JacksonException and so escapes the parser contract. Either outcome crashes the request or processing thread.\n\n\n\nThis is the same class of issue as CVE-2020-28491 in the CBOR parser of this library, which was fixed with a LONGEST_NON_CHUNKED_BINARY guard; the asynchronous Smile parser never received the equivalent guard. No privileges or user interaction beyond the ability to submit data for parsing are required.",
                    "supportingMedia": [
                        {
                            "type": "text/html",
                            "base64": false,
                            "value": "<p>The asynchronous Smile parser (NonBlockingByteArrayParser) uses a raw-binary length prefix taken from untrusted input to allocate a byte[] before the body is read, with no upper bound and no overflow check. On the raw-binary marker 0xFD, _decodeVInt() computes (value &lt;&lt; 6) + (i &amp; 0x3F) without the (value &gt;&gt;&gt; 25) != 0 overflow guard present in the blocking SmileParser._readUnsignedVInt, and _startRawBinary then allocates the declared length immediately.</p><p>A Smile feed of roughly ten bytes can therefore force an eager allocation of approximately 2 GB, producing an OutOfMemoryError on reactive or asynchronous Smile endpoints. A VInt crafted to overflow int yields a negative length and a NegativeArraySizeException, a RuntimeException that is not a JacksonException and so escapes the parser contract. Either outcome crashes the request or processing thread.</p><p>This is the same class of issue as CVE-2020-28491 in the CBOR parser of this library, which was fixed with a LONGEST_NON_CHUNKED_BINARY guard; the asynchronous Smile parser never received the equivalent guard. No privileges or user interaction beyond the ability to submit data for parsing are required.</p>"
                        }
                    ]
                }
            ],
            "tags": [
                "x_open-source"
            ],
            "references": [
                {
                    "url": "https://github.com/FasterXML/jackson-dataformats-binary/security/advisories/GHSA-h3c2-2m49-r49w",
                    "name": "GHSA-h3c2-2m49-r49w",
                    "tags": [
                        "vendor-advisory"
                    ]
                }
            ],
            "metrics": [
                {
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ],
                    "cvssV3_1": {
                        "version": "3.1",
                        "attackVector": "NETWORK",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "NONE",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "NONE",
                        "availabilityImpact": "HIGH",
                        "baseSeverity": "HIGH",
                        "baseScore": 7.5,
                        "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                    }
                }
            ],
            "timeline": [
                {
                    "time": "2026-10-20T22:47:00.000Z",
                    "lang": "en",
                    "value": "GHSA-h3c2-2m49-r49w published by the maintainer in FasterXML/jackson-dataformats-binary"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "value": "apvxlab (AppViewX security research)",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "Michael-JRead",
                    "type": "reporter"
                },
                {
                    "lang": "en",
                    "value": "cowtowncoder (Tatu Saloranta)",
                    "type": "coordinator"
                }
            ],
            "source": {
                "advisory": "GHSA-h3c2-2m49-r49w",
                "discovery": "EXTERNAL"
            },
            "x_generator": {
                "engine": "Vulnogram 0.5.0"
            }
        }
    }
}