We find positive rapidly decaying solutions for the equation
$$
-\text{div}(K(x)\nabla u)=K(x)u^{2^*-1}+\lambda K(x)|x|^{\alpha-2}u
$$
in $\mathbb{R}^N$, where $N\geq3$, the nonlinearity is given by the critical Sobolev exponent $2^*=2N/(N-2)$, the weight is $K(x)=\exp(\tfrac14|x|^\alpha)$, $\alpha\geq2$ and $\lambda$ is a parameter.