Skip to content
Heist/ feed
Back to feed
High

libcrypto++ — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-48570

Crypto++ through 8.4 contains a timing side channel in ECDSA signature generation. Function FixedSizeAllocatorWithCleanup could write to memory outside of the allocation if the allocated memory was not 16-byte aligned. NOTE: this issue exists because the CVE-2019-14318 fix was intentionally removed for functionality reasons.

Products
libcrypto++
Affected versions
5.6.1-6, 5.6.1-6+deb8u1build0.14.04.1, 5.6.1-6+deb8u3build0.14.04.1, 5.6.1-6+deb8u3ubuntu0.1~esm1, 5.6.1-8, 5.6.1-9, 5.6.1-9ubuntu0.1, 5.6.1-9ubuntu0.1+esm1, 5.6.4-8, 5.6.4-9, 5.6.4-9build1, 8.4.0-1, 8.6.0-2ubuntu1, 8.8.0-1, 8.9.0-1, 8.9.0-1.1, 8.9.0-1.1build1, 8.9.0-2, 8.9.0-2build1, 8.9.0-3
Fixed versions
Not specified
CVEs
CVE-2022-48570
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:02 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-48570

core-osv · Original source

Published 22 Aug 2023, 19:16 UTC

Crypto++ through 8.4 contains a timing side channel in ECDSA signature generation. Function FixedSizeAllocatorWithCleanup could write to memory outside of the allocation if the allocated memory was not 16-byte aligned. NOTE: this issue exists because the CVE-2019-14318 fix was intentionally removed for functionality reasons.

osv:UBUNTU-CVE-2022-48570

libcrypto++

Fixed versions: Not specified

libcrypto++

Fixed versions: Not specified

libcrypto++

Fixed versions: Not specified

libcrypto++

Fixed versions: Not specified

libcrypto++

Fixed versions: Not specified

libcrypto++

Fixed versions: Not specified

libcrypto++

Fixed versions: Not specified

libcrypto++

Fixed versions: Not specified

libcrypto++

Fixed versions: Not specified

Complete source record
{
  "id": "79a03df32eda38f9e62e9544cee62b36c84f7d6993262dfb95237caaa118a5ce",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-48570",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-48570",
    "summary": "Crypto++ through 8.4 contains a timing side channel in ECDSA signature generation. Function FixedSizeAllocatorWithCleanup could write to memory outside of the allocation if the allocated memory was not 16-byte aligned. NOTE: this issue exists because the CVE-2019-14318 fix was intentionally removed for functionality reasons.",
    "evidence": "osv:UBUNTU-CVE-2022-48570",
    "products": [
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.6.1-6",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.6.1-6+deb8u1build0.14.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.6.1-6+deb8u3build0.14.04.1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.6.1-6+deb8u3ubuntu0.1~esm1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.6.1-8",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.6.1-9",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.6.1-9ubuntu0.1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.6.1-9ubuntu0.1+esm1",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.6.4-8",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "5.6.4-9",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "5.6.4-9build1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.4.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "8.6.0-2ubuntu1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.8.0-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "8.9.0-1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "8.9.0-1.1",
            "evidence": "/affected/5/versions"
          },
          {
            "value": "8.9.0-1.1build1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.9.0-1.1build1",
            "evidence": "/affected/6/versions"
          },
          {
            "value": "8.9.0-2",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.9.0-2build1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "8.9.0-3",
            "evidence": "/affected/7/versions"
          }
        ]
      },
      {
        "name": {
          "value": "libcrypto++",
          "evidence": "/affected/8/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "8.9.0-2",
            "evidence": "/affected/8/versions"
          },
          {
            "value": "8.9.0-2build1",
            "evidence": "/affected/8/versions"
          }
        ]
      }
    ],
    "severity": "high",
    "structured": {
      "id": "UBUNTU-CVE-2022-48570",
      "aliases": [
        "UBUNTU-CVE-2022-48570"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=esm-infra-legacy%2Ftrusty",
            "ecosystem": "Ubuntu:Pro:14.04:LTS"
          },
          "versions": [
            "5.6.1-6",
            "5.6.1-6+deb8u1build0.14.04.1",
            "5.6.1-6+deb8u3build0.14.04.1",
            "5.6.1-6+deb8u3ubuntu0.1~esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "5.6.1-6+deb8u3ubuntu0.1~esm1"
              },
              {
                "binary_name": "libcrypto++9",
                "binary_version": "5.6.1-6+deb8u3ubuntu0.1~esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=esm-apps%2Fxenial",
            "ecosystem": "Ubuntu:Pro:16.04:LTS"
          },
          "versions": [
            "5.6.1-8",
            "5.6.1-9",
            "5.6.1-9ubuntu0.1",
            "5.6.1-9ubuntu0.1+esm1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "5.6.1-9ubuntu0.1+esm1"
              },
              {
                "binary_name": "libcrypto++9v5",
                "binary_version": "5.6.1-9ubuntu0.1+esm1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "5.6.4-8"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "5.6.4-8"
              },
              {
                "binary_name": "libcrypto++6",
                "binary_version": "5.6.4-8"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "5.6.4-9",
            "5.6.4-9build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "5.6.4-9build1"
              },
              {
                "binary_name": "libcrypto++6",
                "binary_version": "5.6.4-9build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "8.4.0-1",
            "8.6.0-2ubuntu1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "8.6.0-2ubuntu1"
              },
              {
                "binary_name": "libcrypto++8",
                "binary_version": "8.6.0-2ubuntu1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "8.8.0-1",
            "8.9.0-1",
            "8.9.0-1.1",
            "8.9.0-1.1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "8.9.0-1.1build1"
              },
              {
                "binary_name": "libcrypto++8t64",
                "binary_version": "8.9.0-1.1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "8.9.0-1.1build1",
            "8.9.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "8.9.0-2"
              },
              {
                "binary_name": "libcrypto++8t64",
                "binary_version": "8.9.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "8.9.0-2build1",
            "8.9.0-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "8.9.0-3"
              },
              {
                "binary_name": "libcrypto++8t64",
                "binary_version": "8.9.0-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "libcrypto++",
            "purl": "pkg:deb/ubuntu/libcrypto%2B%2B?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "8.9.0-2",
            "8.9.0-2build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-48570.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libcrypto++-utils",
                "binary_version": "8.9.0-2build1"
              },
              {
                "binary_name": "libcrypto++8t64",
                "binary_version": "8.9.0-2build1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:22.928095907Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-48570"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-48570",
        "https://github.com/weidai11/cryptopp/issues/992",
        "https://github.com/weidai11/cryptopp/releases/tag/CRYPTOPP_8_4_0",
        "https://www.cve.org/CVERecord?id=CVE-2022-48570"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-48570",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 355516,
  "published_at": "2023-08-22T19:16:00+00:00"
}