{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.25.1"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "b361c0f219bbf91a684610c76210f71f093dbc18"
            },
            {
              "fixed": "0e3761bbba6a085c0a87c81aaeae481f395a3b0c"
            }
          ],
          "repo": "https://github.com/aosc-dev/oma",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-86jc-7r6q-cr3f"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-93"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39958.json"
  },
  "details": "oma is a package manager for AOSC OS. Prior to 1.25.2, oma-topics is responsible for fetching metadata for testing repositories (topics) named \"Topic Manifests\" ({mirror}/debs/manifest/topics.json) from remote repository servers, registering them as APT source entries. However, the name field in said metadata were not checked for transliteration. In this case, a malicious party may supply a malformed Topic Manifest, which may cause malicious APT source entries to be added to /etc/apt/sources.list.d/atm.list as oma-topics finishes fetching and registering metadata. This vulnerability is fixed in 1.25.2.",
  "id": "CVE-2026-39958",
  "modified": "2026-07-08T05:37:10.551601908Z",
  "published": "2026-04-09T16:28:18.758Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/AOSC-Dev/oma/releases/tag/v1.25.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/AOSC-Dev/oma/security/advisories/GHSA-86jc-7r6q-cr3f"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/39xxx/CVE-2026-39958.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-39958"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AOSC-Dev/oma/commit/b361c0f219bbf91a684610c76210f71f093dbc18"
    },
    {
      "type": "FIX",
      "url": "https://github.com/AOSC-Dev/oma/pull/733"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:H/AT:P/PR:H/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H",
      "type": "CVSS_V4"
    }
  ],
  "summary": "oma-topic: name Field in Topic Manifests (topic.json) May Allow CRLF Injection"
}