UBUNTU-CVE-2025-69873

Source
https://ubuntu.com/security/CVE-2025-69873
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69873.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2025-69873
Upstream
Published
2026-02-11T19:15:00Z
Modified
2026-03-05T19:18:33.134133Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 2.9 (Low) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

ajv (Another JSON Schema Validator) before 8.18.0 is vulnerable to Regular Expression Denial of Service (ReDoS) when the $data option is enabled. The pattern keyword accepts runtime data via JSON Pointer syntax ($data reference), which is passed directly to the JavaScript RegExp() constructor without validation. An attacker can inject a malicious regex pattern (e.g., "^(a|a)*$") combined with crafted input to cause catastrophic backtracking. A 31-character payload causes approximately 44 seconds of CPU blocking, with each additional character doubling execution time. This enables complete denial of service with a single HTTP request against any API using ajv with $data: true for dynamic schema validation. This issue is also fixed in version 6.14.0.

References

Affected packages

Ubuntu:18.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv@5.0.0-1?arch=source&distro=bionic

Affected ranges

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

Affected versions

5.*
5.0.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-ajv",
            "binary_version": "5.0.0-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69873.json"

Ubuntu:20.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv@6.10.2-1?arch=source&distro=focal

Affected ranges

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

Affected versions

6.*
6.10.2-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-ajv",
            "binary_version": "6.10.2-1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69873.json"

Ubuntu:22.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv@6.12.6-3?arch=source&distro=jammy

Affected ranges

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

Affected versions

6.*
6.12.6-2
6.12.6-3

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-ajv",
            "binary_version": "6.12.6-3"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69873.json"

Ubuntu:24.04:LTS / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv@8.12.0~ds+~2.1.1-4?arch=source&distro=noble

Affected ranges

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

Affected versions

6.*
6.12.6-3
8.*
8.12.0~ds+~2.1.1-4

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-ajv",
            "binary_version": "8.12.0~ds+~2.1.1-4"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69873.json"

Ubuntu:25.10 / node-ajv

Package

Name
node-ajv
Purl
pkg:deb/ubuntu/node-ajv@8.12.0~ds+~2.1.1-5?arch=source&distro=questing

Affected ranges

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

Affected versions

8.*
8.12.0~ds+~2.1.1-5

Ecosystem specific

{
    "binaries": [
        {
            "binary_name": "node-ajv",
            "binary_version": "8.12.0~ds+~2.1.1-5"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2025/UBUNTU-CVE-2025-69873.json"