CVE catalog

CVE-2021-31315

rlottie affected and fixed versions

[CVE catalog]

Telegram Android <7.1.0 (2090), Telegram iOS <7.1, and Telegram macOS <7.1 are affected by a Stack Based Overflow in the blit function of their custom fork of the rlottie library. A remote attacker might be able to access Telegram's stack memory out-of-bounds on a victim device via a malicious animated sticker.

Severity
Low
Published
Source
[NVD] · [CVE record]
EPSS
1.29% · Oct 27, 2026

Projects and upstream resources

Reported versions and fixes

Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.

Distribution / releasePackageVersionStatusSource
DebiantrixierlottieNot reportedNot affectedDistribution reports not affected[CVE-2021-31315]
Debiantrixierlottie0.1+dfsg-4.2+deb13u2Not affected[CVE-2021-31315]
DebiansidrlottieNot reportedNot affectedDistribution reports not affected[CVE-2021-31315]
Debiansidrlottie0.1+dfsg-5Not affected[CVE-2021-31315]
Ubuntuprorlottie0~git20190721.24346d0+dfsg-2UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Ubuntuprorlottie0~git20190721.24346d0+dfsg-2build1UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Ubuntuprorlottie0~git20200305.a717479+dfsg-1UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Ubuntuprorlottie0~git20200305.a717479+dfsg-1ubuntu0.1~esm1UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
DebianforkyrlottieNot reportedNot affectedDistribution reports not affected[CVE-2021-31315]
Debianforkyrlottie0.1+dfsg-5Not affected[CVE-2021-31315]
DebianbookwormrlottieNot reportedNot affectedDistribution reports not affected[CVE-2021-31315]
Debianbookwormrlottie0.1+dfsg-4+deb12u2Not affected[CVE-2021-31315]

Showing 12 observations. All 14 observations, including unknown and conflicting reports, are available below.

Provider details and historical evidence
Distribution / releasePackageVersionStatusSource
DebianbookwormrlottieNot reportedNot affectedDistribution reports not affected[CVE-2021-31315]
Debianbookwormrlottie0.1+dfsg-4+deb12u2Not affected[CVE-2021-31315]
DebianforkyrlottieNot reportedNot affectedDistribution reports not affected[CVE-2021-31315]
Debianforkyrlottie0.1+dfsg-5Not affected[CVE-2021-31315]
DebiansidrlottieNot reportedNot affectedDistribution reports not affected[CVE-2021-31315]
Debiansidrlottie0.1+dfsg-5Not affected[CVE-2021-31315]
DebiantrixierlottieNot reportedNot affectedDistribution reports not affected[CVE-2021-31315]
Debiantrixierlottie0.1+dfsg-4.2+deb13u2Not affected[CVE-2021-31315]
Ubuntu22.04rlottie0.1+dfsg-2UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Ubuntu22.04rlottie0.1+dfsg-2ubuntu0.1UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Ubuntuprorlottie0~git20190721.24346d0+dfsg-2UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Ubuntuprorlottie0~git20190721.24346d0+dfsg-2build1UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Ubuntuprorlottie0~git20200305.a717479+dfsg-1UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Ubuntuprorlottie0~git20200305.a717479+dfsg-1ubuntu0.1~esm1UnknownSource applicability is not established[UBUNTU-CVE-2021-31315][USN-7198-1]
Original provider fields
{
  "package_releases": [
    {
      "name": "rlottie",
      "status": "not affected",
      "release": "sid",
      "version": "0.1+dfsg-5"
    },
    {
      "name": "rlottie",
      "status": "not affected",
      "release": "forky",
      "version": "0.1+dfsg-5"
    },
    {
      "name": "rlottie",
      "status": "not affected",
      "release": "trixie",
      "version": "0.1+dfsg-4.2+deb13u2"
    },
    {
      "name": "rlottie",
      "status": "not affected",
      "release": "bookworm",
      "version": "0.1+dfsg-4+deb12u2"
    }
  ],
  "fixed_versions": [
    {
      "bug": null,
      "name": "rlottie",
      "type": "source",
      "origin": null,
      "release": "sid",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "rlottie",
      "type": "source",
      "origin": null,
      "release": "forky",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "rlottie",
      "type": "source",
      "origin": null,
      "release": "trixie",
      "urgency": "unimportant",
      "fixed_version": "0"
    },
    {
      "bug": null,
      "name": "rlottie",
      "type": "source",
      "origin": null,
      "release": "bookworm",
      "urgency": "unimportant",
      "fixed_version": "0"
    }
  ],
  "distribution_packages": [
    {
      "name": "rlottie",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0~git20200305.a717479+dfsg-1ubuntu0.1~esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "0~git20190721.24346d0+dfsg-2",
        "0~git20190721.24346d0+dfsg-2build1",
        "0~git20200305.a717479+dfsg-1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-31315",
      "fixed_version": "0~git20200305.a717479+dfsg-1ubuntu0.1~esm1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-31315",
      "provider_updated_at": "2026-04-22T12:52:43.382919Z",
      "applicability_unknown": true
    },
    {
      "name": "rlottie",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.1+dfsg-2ubuntu0.1"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "0.1+dfsg-2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-31315",
      "fixed_version": "0.1+dfsg-2ubuntu0.1",
      "provider_source": "pypi",
      "provider_record_id": "UBUNTU-CVE-2021-31315",
      "provider_updated_at": "2026-04-22T12:52:43.382919Z",
      "applicability_unknown": true
    },
    {
      "name": "rlottie",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0~git20200305.a717479+dfsg-1ubuntu0.1~esm1"
            }
          ]
        }
      ],
      "release": "pro",
      "versions": [
        "0~git20190721.24346d0+dfsg-2",
        "0~git20190721.24346d0+dfsg-2build1",
        "0~git20200305.a717479+dfsg-1"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-7198-1",
      "fixed_version": "0~git20200305.a717479+dfsg-1ubuntu0.1~esm1",
      "provider_source": "pypi",
      "provider_record_id": "USN-7198-1",
      "provider_updated_at": "2026-04-22T10:48:27.496604Z",
      "applicability_unknown": true
    },
    {
      "name": "rlottie",
      "distro": "ubuntu",
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.1+dfsg-2ubuntu0.1"
            }
          ]
        }
      ],
      "release": "22.04",
      "versions": [
        "0.1+dfsg-2"
      ],
      "ecosystem": "deb",
      "provider_url": "https://osv.dev/vulnerability/USN-7198-1",
      "fixed_version": "0.1+dfsg-2ubuntu0.1",
      "provider_source": "pypi",
      "provider_record_id": "USN-7198-1",
      "provider_updated_at": "2026-04-22T10:48:27.496604Z",
      "applicability_unknown": true
    }
  ]
}

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [librlottie0-1]Unknown

    Source package: [rlottie]

    Details (2)
    • 0.1+dfsg-4+deb12u2 · amd64 · bookworm

      Not affected

      dsa · rlottie · debian · bookworm

    • 0.1+dfsg-4+deb12u2 · arm64 · bookworm

      Not affected

      dsa · rlottie · debian · bookworm

  • Source package: [rlottie]

    Details (2)
    • 0.1+dfsg-4+deb12u2 · amd64 · bookworm

      Not affected

      dsa · rlottie · debian · bookworm

    • 0.1+dfsg-4+deb12u2 · arm64 · bookworm

      Not affected

      dsa · rlottie · debian · bookworm

Observed:

References