StackPatch is liveSee product

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

CVE-2024-39684: It was discovered that RapidJSON did not properly protect against integer

Affects 5 Linux releases across 15 (distro × package) combinations. First disclosed: 2026-04-20.

Fix per ecosystem

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

Ubuntu bionic

Source: Ubuntu USN

  • rapidjson→ fixed in1.1.0+dfsg2-3ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson
  • rapidjson-dev→ fixed in1.1.0+dfsg2-3ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-dev
  • rapidjson-doc→ fixed in1.1.0+dfsg2-3ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-doc

Ubuntu focal

Source: Ubuntu USN

  • rapidjson→ fixed in1.1.0+dfsg2-5ubuntu1+esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson
  • rapidjson-dev→ fixed in1.1.0+dfsg2-5ubuntu1+esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-dev
  • rapidjson-doc→ fixed in1.1.0+dfsg2-5ubuntu1+esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-doc

Ubuntu jammy

Source: Ubuntu USN

  • rapidjson→ fixed in1.1.0+dfsg2-7ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson
  • rapidjson-dev→ fixed in1.1.0+dfsg2-7ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-dev
  • rapidjson-doc→ fixed in1.1.0+dfsg2-7ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-doc

Ubuntu noble

Source: Ubuntu USN

  • rapidjson→ fixed in1.1.0+dfsg2-7.2ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson
  • rapidjson-dev→ fixed in1.1.0+dfsg2-7.2ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-dev
  • rapidjson-doc→ fixed in1.1.0+dfsg2-7.2ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-doc

Ubuntu xenial

Source: Ubuntu USN

  • rapidjson→ fixed in0.12~git20141031-3ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson
  • rapidjson-dev→ fixed in0.12~git20141031-3ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-dev
  • rapidjson-doc→ fixed in0.12~git20141031-3ubuntu0.1~esm2USN-8189-1
    sudo apt-get install --only-upgrade -y rapidjson-doc
Are YOU affected by CVE-2024-39684?

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-39684dropped 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)