UBUNTU-CVE-2025-46688

Source
https://ubuntu.com/security/CVE-2025-46688
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-46688.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2025-46688
Upstream
Published
2025-04-27T20:15:00Z
Modified
2025-10-24T05:23:32Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:L CVSS Calculator
  • 8.4 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

quickjs-ng through 0.9.0 has an incorrect size calculation in JS_ReadBigInt for a BigInt, leading to a heap-based buffer overflow. QuickJS before 2025-04-26 is also affected.

References

Affected packages

Ubuntu:Pro:24.04:LTS / quickjs

Package

Name
quickjs
Purl
pkg:deb/ubuntu/quickjs@2021.03.27-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2021.*

2021.03.27-1
2021.03.27-1ubuntu0.1~esm1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2021.03.27-1ubuntu0.1~esm1",
            "binary_name": "libquickjs"
        },
        {
            "binary_version": "2021.03.27-1ubuntu0.1~esm1",
            "binary_name": "quickjs"
        }
    ]
}

Ubuntu:25.10 / quickjs

Package

Name
quickjs
Purl
pkg:deb/ubuntu/quickjs@2025.04.26-1?arch=source&distro=questing

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2024.*

2024.01.13-5

2025.*

2025.04.26-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2025.04.26-1",
            "binary_name": "libquickjs"
        },
        {
            "binary_version": "2025.04.26-1",
            "binary_name": "quickjs"
        }
    ]
}

Ubuntu:25.04 / quickjs

Package

Name
quickjs
Purl
pkg:deb/ubuntu/quickjs@2024.01.13-5?arch=source&distro=plucky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2024.*

2024.01.13-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "2024.01.13-5",
            "binary_name": "libquickjs"
        },
        {
            "binary_version": "2024.01.13-5",
            "binary_name": "quickjs"
        }
    ]
}