Out-of-Bounds Affecting pam-mysql package, versions <0.6.2-1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
6.32% (93rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-PAMMYSQL-22634512
  • published20 Nov 2026
  • disclosed13 Feb 2006

Introduced: 13 Feb 2006

CVE-2006-0056  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade Echo:latest pam-mysql to version 0.6.2-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pam-mysql package and not the pam-mysql package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

Double free vulnerability in the authentication and authentication token alteration code in PAM-MySQL 0.6.x before 0.6.2 and 0.7.x before 0.7pre3 allows remote attackers to cause a denial of service (application crash) and possibly execute arbitrary code via crafted passwords, which lead to a double free of a pointer that was created by the pam_get_item function. NOTE: this issue only occurs in certain configurations in which there are multiple PAM modules, PAM-MySQL is not evaluated first, and there are no requisite modules before PAM-MySQL.

CVSS Base Scores

version 3.1