Skip to content
Heist/ feed
Back to feed
Medium

quickjs — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-3979

A flaw has been found in quickjs-ng quickjs up to 0.12.1. This affects the function js_iterator_concat_return of the file quickjs.c. This manipulation causes use after free. The attack requires local access. The exploit has been published and may be used. Patch name: daab4ad4bae4ef071ed0294618d6244e92def4cd. Applying a patch is the recommended action to fix this issue.

Products
quickjs
Affected versions
2021.03.27-1, 2021.03.27-1ubuntu0.1~esm1, 2024.01.13-5, 2025.04.26-1, 2025.04.26-1build1
Fixed versions
Not specified
CVEs
CVE-2026-3979
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:43 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-3979

core-osv · Original source

Published 12 Mar 2026, 04:16 UTC

A flaw has been found in quickjs-ng quickjs up to 0.12.1. This affects the function js_iterator_concat_return of the file quickjs.c. This manipulation causes use after free. The attack requires local access. The exploit has been published and may be used. Patch name: daab4ad4bae4ef071ed0294618d6244e92def4cd. Applying a patch is the recommended action to fix this issue.

osv:UBUNTU-CVE-2026-3979

quickjs

Fixed versions: Not specified

quickjs

Fixed versions: Not specified

quickjs

Fixed versions: Not specified

quickjs

Fixed versions: Not specified

Complete source record
{
  "id": "b7d36eca0a83e0435b62a1e720146039d73f50749d4b2d41949be16a37373382",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-3979",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-3979",
    "summary": "A flaw has been found in quickjs-ng quickjs up to 0.12.1. This affects the function js_iterator_concat_return of the file quickjs.c. This manipulation causes use after free. The attack requires local access. The exploit has been published and may be used. Patch name: daab4ad4bae4ef071ed0294618d6244e92def4cd. Applying a patch is the recommended action to fix this issue.",
    "evidence": "osv:UBUNTU-CVE-2026-3979",
    "products": [
      {
        "name": {
          "value": "quickjs",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2021.03.27-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "2021.03.27-1ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "quickjs",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2024.01.13-5",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2025.04.26-1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "quickjs",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2025.04.26-1build1",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "quickjs",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2025.04.26-1",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "2025.04.26-1build1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-3979",
      "aliases": [
        "UBUNTU-CVE-2026-3979"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"
        },
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "quickjs",
            "purl": "pkg:deb/ubuntu/quickjs?arch=source&distro=esm-apps%2Fnoble",
            "ecosystem": "Ubuntu:Pro:24.04:LTS"
          },
          "versions": [
            "2021.03.27-1",
            "2021.03.27-1ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libquickjs",
                "binary_version": "2021.03.27-1ubuntu0.1~esm1"
              },
              {
                "binary_name": "quickjs",
                "binary_version": "2021.03.27-1ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "quickjs",
            "purl": "pkg:deb/ubuntu/quickjs?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "2024.01.13-5",
            "2025.04.26-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libquickjs",
                "binary_version": "2025.04.26-1"
              },
              {
                "binary_name": "quickjs",
                "binary_version": "2025.04.26-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "quickjs",
            "purl": "pkg:deb/ubuntu/quickjs?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2025.04.26-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libquickjs",
                "binary_version": "2025.04.26-1build1"
              },
              {
                "binary_name": "quickjs",
                "binary_version": "2025.04.26-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "quickjs",
            "purl": "pkg:deb/ubuntu/quickjs?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "2025.04.26-1",
            "2025.04.26-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-3979.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libquickjs",
                "binary_version": "2025.04.26-1build1"
              },
              {
                "binary_name": "quickjs",
                "binary_version": "2025.04.26-1build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:51.521488144Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-3979"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-3979",
        "https://www.cve.org/CVERecord?id=CVE-2026-3979"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-3979",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359116,
  "published_at": "2026-03-12T04:16:00+00:00"
}