Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2016-7544

Crypto++ 5.6.4 incorrectly uses Microsoft's stack-based _malloca and _freea functions. The library will request a block of memory to align a table in memory. If the table is later reallocated, then the wrong pointer could be freed.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2016-7544
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:46 UTC · Revision 1

Source evidence

CVE-2016-7544

core-osv · Original source

Published 30 Jan 2017, 21:59 UTC

Crypto++ 5.6.4 incorrectly uses Microsoft's stack-based _malloca and _freea functions. The library will request a block of memory to align a table in memory. If the table is later reallocated, then the wrong pointer could be freed.

osv:CVE-2016-7544
Complete source record
{
  "id": "c8c71a30825948d1046b04b5e3d304922a760829ad318c0c553a66c137541cb5",
  "url": "https://osv.dev/vulnerability/CVE-2016-7544",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2016-7544",
    "summary": "Crypto++ 5.6.4 incorrectly uses Microsoft's stack-based _malloca and _freea functions. The library will request a block of memory to align a table in memory. If the table is later reallocated, then the wrong pointer could be freed.",
    "evidence": "osv:CVE-2016-7544",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2016-7544",
      "aliases": [
        "CVE-2016-7544"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/weidai11/cryptopp",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4132d85888ac6c30729f58bb442a4a26a5b16cfe"
                },
                {
                  "last_affected": "4132d85888ac6c30729f58bb442a4a26a5b16cfe"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:cryptopp:crypto\\+\\+:5.6.4:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "5.6.4"
                      },
                      {
                        "last_affected": "5.6.4"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "5.6.4",
            "CRYPTOPP_5_6_4"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-7544.json"
          }
        }
      ],
      "modified": "2026-10-20T10:47:56.980607341Z",
      "provider": "osv",
      "references": [
        "https://www.cryptopp.com/release565.html",
        "https://github.com/weidai11/cryptopp/issues/302"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2016-7544",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 379843,
  "published_at": "2017-01-30T21:59:01.16+00:00"
}