CVE-2026-123367

Source
https://cve.org/CVERecord?id=CVE-2026-123367
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123367.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-123367
Aliases
  • GHSA-mw4c-w54x-248r
Downstream
Published
2026-11-09T17:21:00Z
Modified
2026-11-14T07:06:14Z
Severity
  • 7.4 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:H CVSS Calculator
Summary
ThorVG: Heap buffer overflow (OOB write) in bundled jpgd JPEG decoder
Details

Thor Vector Graphics (ThorVG) is a production-ready vector graphics engine. Prior to 1.1.2, the bundled jpgd JPEG decoder accepts duplicate component selectors in an SOS scan header, causing each duplicate to increase m_blocks_per_mcu without checking the buffers sized from the frame components. A crafted grayscale JPEG can repeat its component in the SOS header, causing decode paths in src/loaders/jpg/tvgJpgd.cpp to write beyond heap buffers sized for one component. The issue is reachable through direct JPEG decoding and through JPEG images embedded in Lottie content, and confirmed impact is memory corruption followed by a process crash. This issue is fixed in version 1.1.2.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123367.json"
}
References

Affected packages

Git / github.com/thorvg/thorvg

Affected ranges

Type
GIT
Repo
https://github.com/thorvg/thorvg
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "1.1.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "67680c546d38d817e42eb7583dac8d87a4a319b5"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "range":  [
                {
                    "fixed":  "e740313029dd427d1ebd9f53f300da71363f80ce"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.1.2",
            "range":  [
                {
                    "fixed":  "b004a778f53a5df61f06be45748761ae42c52dda"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.11.0
v0.5.0
v1.*
v1.0-pre1
v1.0-pre11
v1.0-pre12
v1.0-pre13
v1.0-pre14
v1.0-pre15
v1.0-pre16
v1.0-pre17
v1.0-pre18
v1.0-pre19
v1.0-pre20
v1.0-pre21
v1.0-pre22
v1.0-pre23
v1.0-pre24
v1.0-pre25
v1.0-pre26
v1.0-pre27
v1.0-pre28
v1.0-pre29
v1.0-pre30
v1.0-pre31
v1.0-pre32
v1.0-pre34
v1.0-pre6
v1.0-pre7
v1.0-pre9
v1.0.0
v1.1.0
v1.1.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123367.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "268931886117192512141289593990748707624",
            "length":  1003
        },
        "id":  "CVE-2026-123367-27e0d304",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/thorvg/thorvg/commit/e740313029dd427d1ebd9f53f300da71363f80ce",
        "target":  {
            "file":  "src/loaders/jpg/tvgJpgd.cpp",
            "function":  "jpeg_decoder::read_sos_marker"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "268931886117192512141289593990748707624",
            "length":  1003
        },
        "id":  "CVE-2026-123367-3e92153c",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/thorvg/thorvg/commit/67680c546d38d817e42eb7583dac8d87a4a319b5",
        "target":  {
            "file":  "src/loaders/jpg/tvgJpgd.cpp",
            "function":  "jpeg_decoder::read_sos_marker"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "5817699379109289564273837022746716039",
                "109270860047913467504785027136457845123",
                "321066215566258957371736618893225439349"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-123367-883c82d3",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/thorvg/thorvg/commit/67680c546d38d817e42eb7583dac8d87a4a319b5",
        "target":  {
            "file":  "src/loaders/jpg/tvgJpgd.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "5817699379109289564273837022746716039",
                "109270860047913467504785027136457845123",
                "321066215566258957371736618893225439349"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-123367-b4a7b4b3",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/thorvg/thorvg/commit/e740313029dd427d1ebd9f53f300da71363f80ce",
        "target":  {
            "file":  "src/loaders/jpg/tvgJpgd.cpp"
        }
    }
]
vanir_signatures_modified
"2026-11-14T07:06:14Z"