Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2024-40897

Stack-based buffer overflow vulnerability exists in orcparse.c of ORC versions prior to 0.4.39. If a developer is tricked to process a specially crafted file with the affected ORC compiler, an arbitrary code may be executed on the developer's build environment. This may lead to compromise of developer machines or CI build environments.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-40897
Confirmed fixed CVEs
Not specified
Updated in this feed
6 Nov 2026, 02:40 UTC · Revision 1

Source evidence

CVE-2024-40897

core-osv · Original source

Published 26 Jul 2024, 06:03 UTC

Stack-based buffer overflow vulnerability exists in orcparse.c of ORC versions prior to 0.4.39. If a developer is tricked to process a specially crafted file with the affected ORC compiler, an arbitrary code may be executed on the developer's build environment. This may lead to compromise of developer machines or CI build environments.

osv:CVE-2024-40897
Complete source record
{
  "id": "bf7a0a835fce66b457393ffa65d7e94e25dba5a407b083943af1aed07e6e59f1",
  "url": "https://osv.dev/vulnerability/CVE-2024-40897",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2024-40897",
    "summary": "Stack-based buffer overflow vulnerability exists in orcparse.c of ORC versions prior to 0.4.39. If a developer is tricked to process a specially crafted file with the affected ORC compiler, an arbitrary code may be executed on the developer's build environment. This may lead to compromise of developer machines or CI build environments.",
    "evidence": "osv:CVE-2024-40897",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-40897",
      "aliases": [
        "CVE-2024-40897"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/gstreamer/orc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ba5923931fee9437f4ca72d272ea4c663c74e4c9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.4.39"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "VersionTextExtraction"
                  }
                ]
              }
            },
            {
              "repo": "https://gitlab.freedesktop.org/gstreamer/orc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "ba5923931fee9437f4ca72d272ea4c663c74e4c9"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gstreamer:orc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.4.39"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.4.38",
            "0.4.37",
            "0.4.36",
            "0.4.35",
            "0.4.34",
            "0.4.33",
            "0.4.32",
            "0.4.31",
            "0.4.30",
            "0.4.29",
            "orc-0.4.28",
            "orc-0.4.27",
            "orc-0.4.26",
            "orc-0.4.25",
            "orc-0.4.24",
            "orc-0.4.23",
            "0.4.23",
            "orc-0.4.22",
            "orc-0.4.21",
            "orc-0.4.20",
            "orc-0.4.19",
            "orc-0.4.18",
            "orc-0.4.16",
            "orc-0.4.15",
            "orc-0.4.14",
            "orc-0.4.13",
            "orc-0.4.12",
            "orc-0.4.11",
            "orc-0.4.10",
            "orc-0.4.9",
            "orc-0.4.8",
            "orc-0.4.7",
            "orc-0.4.6",
            "orc-0.4.5",
            "orc-0.4.4",
            "orc-0.4.3",
            "merge-base",
            "orc-0.4.2",
            "orc-0.4.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-40897.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:46.183785357Z",
      "provider": "osv",
      "references": [
        "https://gstreamer.freedesktop.org/modules/orc.html",
        "https://jvn.jp/en/jp/JVN02030803/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40897.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-40897",
        "https://github.com/GStreamer/orc"
      ],
      "provider_metadata": {
        "cna_assigner": "jpcert",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/40xxx/CVE-2024-40897.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-40897",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 514362,
  "published_at": "2024-07-26T06:03:23.768+00:00"
}