StackPatch is liveSee product

Back to CVE digest
CVE-2024-5187 · cross-distro fix matrix

CVE-2024-5187: It was discovered that ONNX did not properly validate paths when extracting

Affects 2 Linux releases across 6 (distro × package) combinations. First disclosed: 2026-05-26.

Fix per ecosystem

Each block below is a distro release where CVE-2024-5187 has a known fix. Run the listed command on that distro to remediate.

Ubuntu noble

Source: Ubuntu USN

  • onnx→ fixed in1.14.1-2.1ubuntu0.1~esm1USN-8307-1
    sudo apt-get install --only-upgrade -y onnx
  • libonnx-dev→ fixed in1.14.1-2.1ubuntu0.1~esm1USN-8307-1
    sudo apt-get install --only-upgrade -y libonnx-dev
  • libonnx-testdata→ fixed in1.14.1-2.1ubuntu0.1~esm1USN-8307-1
    sudo apt-get install --only-upgrade -y libonnx-testdata
  • libonnx1t64→ fixed in1.14.1-2.1ubuntu0.1~esm1USN-8307-1
    sudo apt-get install --only-upgrade -y libonnx1t64
  • python3-onnx→ fixed in1.14.1-2.1ubuntu0.1~esm1USN-8307-1
    sudo apt-get install --only-upgrade -y python3-onnx

Debian trixie

Source: Debian Security Tracker

  • onnx→ fixed in1.16.2-1urgency: not yet assigned
    sudo apt-get install --only-upgrade -y onnx
Are YOU affected by CVE-2024-5187?

5-second check on your actual server. Reads /etc/os-release, uname -r, and the distro's package manager; matches against this same cross-source index live.

curl https://mindsparkstack.com/scan.sh | bash
Continuous monitoring beats manual checking

CVE-2024-5187dropped silently in your distro's update channel. Every new CVE is the same story. StackPatch runs the matcher hourly against all 5 sources and emails the exact remediation when something new applies to one of your servers. $99 lifetime, 50 founder seats, 30-day refund.

See StackPatch ($99 lifetime)